Dear Antonio,
I need to create a SELF CONTAINED DLL ... a DLL with
the XHARBOUR ENGINE inside ... to be CALLED for my aplication .EXE.
Could you publish a FULL EXAMPLE about de CREATON...step by step..
of a XHARBOUR - SELF CONTAINED DLL.
I did read some messages throughout this FORUM but links
are broken... very old...
Thanks in advance.
Lee Osvald
osvaldobatalha@terra.com.br
EXAMPLE CODE - XHARBOUR SELF CONTAINED DLL
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
thanks ... using both compilers ... and more...
Dear Antonio,
Thanks to reply ... you are the only source about such subject that I know.
I use both ... BORLAND C and PELLES C...
Now I am working with VISUAL XHARBOUR ...XCC = PELLES C.
but ...my main compiler is MS-VISUAL STUDIO C 6.
Such in this case, PELLES C - XCC wold be the best reference.
I would like to point that I tried to contact VXH - TECH SUPPORT but
I had no answer til now... after some e-mails during 3 weeks.
There are several developers with the same problem... also about other
kinds of DLLs..
I just have FRAGMENTS OF CODE ..BATCH FILES... etc...
Nothing really consistent...
FIVETECHSOFT FORUM and your HELP is my main source...
Lee Osvald
osvaldobatalha@terra.com.br
Thanks to reply ... you are the only source about such subject that I know.
I use both ... BORLAND C and PELLES C...
Now I am working with VISUAL XHARBOUR ...XCC = PELLES C.
but ...my main compiler is MS-VISUAL STUDIO C 6.
Such in this case, PELLES C - XCC wold be the best reference.
I would like to point that I tried to contact VXH - TECH SUPPORT but
I had no answer til now... after some e-mails during 3 weeks.
There are several developers with the same problem... also about other
kinds of DLLs..
I just have FRAGMENTS OF CODE ..BATCH FILES... etc...
Nothing really consistent...
FIVETECHSOFT FORUM and your HELP is my main source...
Lee Osvald
osvaldobatalha@terra.com.br
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Dear Antonio,
You are quite right ... about support... and I did it all ... course.
but after several e-mails and messages in FORUMS .. without answer
I decided to message you ...
I need other references... other options to solve my problem concern
DLL - SELF CONTAINED DLLs ...
Please ...give me your solution using XHARBOR and PELLES C ..
or even using BORLAND C ...
This will be my starting point to study in deep more about the subject...
If I have an example ... complete.. I will be able to explore
the CODE ...
My intention is to create a DLL ... a GRID ... a TABLE - DBF with INDEX...
...my EXE or DLL will call such DLL ...this way I would have
a DBF MANAGER to work with ...
If you give me some sample about that ... I will study in deep all the
code and I will complete my project here...
Please ... give me some light... cause I am alone in dark ..
Lee Osvald
osvaldobatalha@terra.com.br
You are quite right ... about support... and I did it all ... course.
but after several e-mails and messages in FORUMS .. without answer
I decided to message you ...
I need other references... other options to solve my problem concern
DLL - SELF CONTAINED DLLs ...
Please ...give me your solution using XHARBOR and PELLES C ..
or even using BORLAND C ...
This will be my starting point to study in deep more about the subject...
If I have an example ... complete.. I will be able to explore
the CODE ...
My intention is to create a DLL ... a GRID ... a TABLE - DBF with INDEX...
...my EXE or DLL will call such DLL ...this way I would have
a DBF MANAGER to work with ...
If you give me some sample about that ... I will study in deep all the
code and I will complete my project here...
Please ... give me some light... cause I am alone in dark ..
Lee Osvald
osvaldobatalha@terra.com.br
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Lee,
FWH provides you the required batch files to build the DLL. Go to samples directory and type:
buildhd.bat tutor01
buildh.bat testdll
The first will create tutor01.dll and testdll.exe will use it. Please review tutor01.prg and testdll.prg source code
(1) fwh\samples\buildhd.bat has to be modified this way:
echo c0d32.obj + %hdir%\obj\b32\maindll.obj + > b32.bc
(2) You need Harbour maindll.obj. You may download it from here:
http://hyperupload.com/download/0208a58 ... l.obj.html
FWH provides you the required batch files to build the DLL. Go to samples directory and type:
buildhd.bat tutor01
buildh.bat testdll
The first will create tutor01.dll and testdll.exe will use it. Please review tutor01.prg and testdll.prg source code
(1) fwh\samples\buildhd.bat has to be modified this way:
echo c0d32.obj + %hdir%\obj\b32\maindll.obj + > b32.bc
(2) You need Harbour maindll.obj. You may download it from here:
http://hyperupload.com/download/0208a58 ... l.obj.html