Page 3 of 3

Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?

Posted: Tue Nov 03, 2020 11:28 am
by Auge_Ohr
Eugene Lutsenko wrote: Tue Nov 03, 2020 2:20 am And in which section of the project file should this be inserted?
it is a Resource so where to put it ...

Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?

Posted: Wed Nov 04, 2020 5:17 am
by Eugene Lutsenko
Something seems to be working out...
[PROJECT]

COMPILE = xpp
COMPILE_FLAGS = /q /w /o\OBJ\
DEBUG = yes
GUI = yes
LINKER = alink
LINK_FLAGS = _Aidos-X.res /PM:PM
RC_COMPILE = arc
RC_FLAGS = _Aidos-X.arc /v
OBJ_DIR = .\OBJ
PROJECT.XPJ

[PROJECT.XPJ]
CsvDbfConv.EXE

[CsvDbfConv.EXE]
// $START-AUTODEPEND
MAIN.OBJ
FUNCTION.OBJ

STD.CH
SET.CH
NATMSG.CH
GET.CH
PROMPT.CH
MEMVAR.CH
COLLAT.CH
DCDIALOG.CH
XBP.CH
GRA.CH
DCREG.CH
FILEIO.CH
COMMON.CH

// $STOP-AUTODEPEND
MAIN.PRG
FUNCTION.PRG

DCLIPX.LIB
XBTBASE1.LIB
XBTBASE2.LIB

Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?

Posted: Wed Nov 04, 2020 6:31 am
by Wolfgang Ciriack
Hello Eugene,
create a Aidos.CH file with

Code: Select all

#define AIDOS_ICON    1
create a Aidos.ARC file with

Code: Select all

#include Aidos.ch

ICON
       AIDOS_ICON       = "_Aidos-X.ico"
Add Aidos.arc to your procect file

Code: Select all

....
// $STOP-AUTODEPEND
AIDOS.ARC
MAIN.PRG
FUNCTION.PRG
....
Include Aidos.ch to your main.prg.
In your main procedure you can now set your Icon with AIDOS_ICON

Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?

Posted: Wed Nov 04, 2020 8:13 am
by Eugene Lutsenko
Thank You, Wolfgang! The icon is already being placed. But I'll keep Your advice in mind. Now I have another question. I made a small training project based on a csv-dbf Converter. It compiles well and then the program works. But it doesn't work on a real big example. Compilation is successful, but the exe file is not created. That's what I did the project for. If you compile the main file without the F2_3_2_2 () function, everything is compiled normally and an exe file is created (if you remove the reference to it):

https://yadi.sk/d/V9fbsisB4tVGUQ?w=1