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

This forum is for eXpress++ general support.
Message
Author
User avatar
Auge_Ohr
Posts: 1405
Joined: Wed Feb 24, 2010 3:44 pm

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

#21 Post 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 ...
greetings by OHR
Jimmy

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

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

#22 Post 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

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

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

#23 Post 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
_______________________
Best Regards
Wolfgang

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

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

#24 Post 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

Post Reply