Page 2 of 3
Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?
Posted: Thu Oct 29, 2020 1:48 pm
by Eugene Lutsenko
The problem is that I don't have an exe file generated through the project yet. When this happens, then I already know what to do
Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?
Posted: Thu Oct 29, 2020 6:08 pm
by Auge_Ohr
Eugene Lutsenko wrote: ↑Thu Oct 29, 2020 1:12 pm
Jimmy! Let me know when you download it. I will then delete the archive from the cloud disk
got it
Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?
Posted: Thu Oct 29, 2020 9:21 pm
by Eugene Lutsenko
Jimmy!
Can you get the exe file of the Eidos system using the project? Simple compilation of cl.bat is successful. But the project does not work.
Now I have again placed the project in the cloud so that you can try to bring it to the level where the executable module of the Eidos system (exe-file) will be obtained):
https://yadi.sk/d/V9fbsisB4tVGUQ?w=1
Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?
Posted: Sat Oct 31, 2020 10:17 pm
by Eugene Lutsenko
Hi, Jimmy!
I decided to master the technology of working with projects on a small example that I recently did. This is a CSV-DBF Converter. Using cl.bat executable module "CsvDbfConv.exe" it is perfectly normal to create and work normally.
I split the source text into two parts: the main part and the C part of the functions. Made a file: "1_Creating a project file. bat". It creates a project file: "PROJECT. XPJ". I launch it, the Dosov window flashes and that's it. Nothing is compiled and no executable module is created.
The first question is: what is my mistake and what do I need to change in the project file so that it creates a GUI executable module of the program. I attach the archive of the folder with all the files.
The second question I will have is how to make an icon on the executable module that is displayed on the file and when it is launched in, then in the taskbar.
Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?
Posted: Sun Nov 01, 2020 11:32 am
by Auge_Ohr
Eugene Lutsenko wrote: ↑Sat Oct 31, 2020 10:17 pm
The first question is: what is my mistake and what do I need to change in the project file so that it creates a GUI executable module of the program. I attach the archive of the folder with all the files.
have you see "-.BAT"
it does redirect Error to "waslos."
CSVDBFCONVFUNCTION.PRG(172:0): error XBT0200: Syntax Error
CSVDBFCONVFUNCTION.PRG(188:0): warning XBT0105: Function LB_Warning does not end with RETURN
Eugene Lutsenko wrote: ↑Sat Oct 31, 2020 10:17 pm
The second question I will have is how to make an icon on the executable module that is displayed on the file and when it is launched in, then in the taskbar.
you have not include *.ARC into Project.XPJ
please use
and get rid of all #INCLUDE and what not need.
Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?
Posted: Sun Nov 01, 2020 11:59 am
by Eugene Lutsenko
CSVDBFCONVFUNCTION.PRG(172:0): error XBT0200: Syntax Error
This is not an error, because with cl.bat everything compiles and works perfectly. But I commented out this command and then obj files were created. But the exe file is still not created. What is " waslos"?
Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?
Posted: Sun Nov 01, 2020 12:55 pm
by Auge_Ohr
Eugene Lutsenko wrote: ↑Sun Nov 01, 2020 11:59 am
CSVDBFCONVFUNCTION.PRG(172:0): error XBT0200: Syntax Error
This is not an error, because with cl.bat everything compiles and works perfectly. But I commented out this command and then obj files were created. But the exe file is still not created. What is " waslos"?
each *.PRG must include its OWN #include settings.
do NOT use #include "all"
just what need
---
do you understand what line 172 say
---
my "-.BAT"
Code: Select all
pbuild project.xpj > waslos
type waslos
i do start it from CMD Box or TC / HBFM
when run it on your Original Sample but only use
there will be some LIB missing like
Code: Select all
DCLIPX.LIB
XBTBASE1.LIB
XBTBASE2.LIB
and also Time_Progress() which was STATIC FUNCTION Time_Progress()
while Source was was "split" you have to search for it under AI999999.PRG and include "right" PRG (remove STATIC)
PLEASE use /W and declare all Variable
here new Project.XPJ
Code: Select all
[PROJECT]
COMPILE = xpp
COMPILE_FLAGS = /q /w /o\OBJ\
DEBUG = yes
GUI = no
LINKER = alink
LINK_FLAGS =
RC_COMPILE = arc
RC_FLAGS = /v
OBJ_DIR = .\OBJ
PROJECT.XPJ
[PROJECT.XPJ]
CSVDBF.EXE
[CSVDBF.EXE]
// $START-AUTODEPEND
CSVDBFCONVFUNCTION.OBJ
CSVDBFCONVMAIN.OBJ
AI000134.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
CSVDBFCONVFUNCTION.PRG
CSVDBFCONVMAIN.PRG
AI000134.PRG
DCLIPX.LIB
XBTBASE1.LIB
XBTBASE2.LIB
---
my most used Function with TC / HBFM are to "search in Text" or DLL / LIB
so when got missing "Time_Progress" you have decide if it is a own Function or from LIB
for own Function search in AI999999 which PRG have that FunctiON / ProceduRE
so i search for *.PRG and "*Time_Progress"
when search in LIB only use Function Name
Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?
Posted: Mon Nov 02, 2020 4:36 am
by Eugene Lutsenko
Thank you so much, Jimmy!
In this small example, everything worked out. I'll move on. I have the impression that I already understand and know how to do everything necessary for this. If something is unclear, I will ask, if you don't mind. About the error. I understand what it says in English. I have a different question. Why this error occurs in project technology, and when you just compile, it is not issued and everything goes fine and works fine. This is probably because the project does not include the necessary library or ch file.
Jimmy! Please give an example of the project so that the file is obtained with the icon
Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?
Posted: Mon Nov 02, 2020 11:09 am
by Auge_Ohr
Eugene Lutsenko wrote: ↑Mon Nov 02, 2020 4:36 am
Jimmy! Please give an example of the project so that the file is obtained with the icon
Icon display by Explorer is No. 1
Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?
Posted: Tue Nov 03, 2020 2:20 am
by Eugene Lutsenko
And in which section of the project file should this be inserted?