Can you help me make a project file: aidos-x. xpj for the Eidos system?
- 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?
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?
got itEugene 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
greetings by OHR
Jimmy
Jimmy
- 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?
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
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
- 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?
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.
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.
- Attachments
-
- CsvDbfConv_proj.zip
- (251.73 KiB) Downloaded 478 times
Re: Can you help me make a project file: aidos-x. xpj for the Eidos system?
have you see "-.BAT"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.
![Question :?:](./images/smilies/icon/question.gif)
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
you have not include *.ARC into Project.XPJEugene 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.
please use
Code: Select all
COMPILE_FLAGS = /q /w
greetings by OHR
Jimmy
Jimmy
- 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?
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"?
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?
each *.PRG must include its OWN #include settings.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"?
do NOT use #include "all"
![Naughty :naughty:](./images/smilies/eusa/naughty.gif)
just what need
![Exclamation :!:](./images/smilies/icon/exclaim.gif)
---
do you understand what line 172 say
![Question :?:](./images/smilies/icon/question.gif)
Code: Select all
DEFAULT cTitle TO ''
my "-.BAT"
Code: Select all
pbuild project.xpj > waslos
type waslos
when run it on your Original Sample but only use
Code: Select all
#include "dcdialog.ch"
Code: Select all
DCLIPX.LIB
XBTBASE1.LIB
XBTBASE2.LIB
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
greetings by OHR
Jimmy
Jimmy
- 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?
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
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?
Icon display by Explorer is No. 1Eugene 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
Code: Select all
ICON
1 = "_Aidos-X.ico"
greetings by OHR
Jimmy
Jimmy
- 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?
And in which section of the project file should this be inserted?