Hi all,
I need to create a DDL with FWH+xHarbour.
I am trying to test tutor01.prg with buildhd.bat provided into the samples FWH folder but a maindll.obj is required .
Any solution using xHarbour ? Thanks in advance.
Marco Turco
SOFTWARE XP LLP
Hi all,
I need to create a DDL with FWH+xHarbour.
I am trying to test tutor01.prg with buildhd.bat provided into the samples FWH folder but a maindll.obj is required .
Any solution using xHarbour ? Thanks in advance.
rem RC file to 32 bits resources DLL
rem syntax: rc2dll32.bat Your_rc_file  !!! without the .RC extension
DEL ChurW32.DLL
DEL ChurW32.RC
COPY *.RC ChurW32.RC
C:\BORLAND\BCC55\BIN\bcc32 -c c:\fwh910\dll\screen32.c
C:\BORLAND\BCC55\BIN\brc32 -r %1.rc
C:\BORLAND\BCC55\BIN\ilink32 /Tpd c:\borland\bcc55\lib\c0d32.obj screen32.obj, %1.dll,,c:\borland\bcc55\lib\cw32.lib c:\borland\bcc55\lib\import32.lib,, %1.res
del *.iL?
del *.map
del *.obj
:del *.res
del *.tds
echo done!rem RC file to 32 bits resources DLL
rem syntax: rc2dll32.bat Your_rc_file  !!! without the .RC extension
DEL YACHTW32.RES
DEL YACHTW32.RC
DEL YACHTW32.DLL
COPY *.RC YACHTW32.RC
c:\resedit\resedit.exe -convert yachtw32.rc yachtw32.res
c:\resedit\resedit.exe -convert yachtw32.res yachtw32.dll
del *.iL?
del *.map
del *.obj
:del *.res
del *.tds
del *.~??
echo done!Ok but I don't want to convert a rc file in a dll but create a dll with functions inside, like tutor01.prg and testdll.prg to be clearr


Rick,
I don't want to convert a rc file in a dll but create a dll with functions inside, like tutor01.prg and testdll.prg to be clear
In other words, Marco doesn't want to create a resource DLL. He wants to build a DLL containing xHarbour functions. And before you ask me, no, I don't know how to do it (neither if it is possible at all).
EMG
Thanks Enrico.
It is possibile for sure with harbour (there is the working tutor01/testdll into the samples FWH folder),
the problem I need to use xharbour for this and the obj file maindll.obj is missing in xHarbour
Marco Turco wrote:Hi all,
I need to create a DDL with FWH+xHarbour.
I am trying to test tutor01.prg with buildhd.bat provided into the samples FWH folder but a maindll.obj is required .
Any solution using xHarbour ? Thanks in advance.
Hi Andy,
Do you mean pdl55.bat ?
Is there also a working sample of a dll and a call to that dll ?
Marco Turco wrote:Hi Andy,
Do you mean pdl55.bat ?
Is there also a working sample of a dll and a call to that dll ?