Search found 71 matches: maindll

Return to advanced search

Re: Creation of xHarbour PCODE DLL succeeded

Marco, Babu, I have modified FWH samples\babudll.prg to include the DLL required C source code, so now there is no need to link maindll.obj :-) Please remember to remove maindll.obj from buildhd.bat and also remove the -aa flag for ilink32. I have tested it with Harbour and it is working ...
by Antonio Linares
Mon Nov 14, 2011 11:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10779

Re: Creation of xHarbour PCODE DLL succeeded

Hi,
I'm using borland 582 and FWH 10.11,
I'm build babudll with your buildxd.bat and the maindllp.c provided in this thread (I hadn't a maindll.c in my xharbour\obj\bc32 folder) .
by Marco Turco
Mon Nov 14, 2011 1:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10779

Re: Creation of xHarbour PCODE DLL succeeded

I am checking FWH samples babu.prg and babudll.prg and I noticed that HBDLLENTRY2 is not defined in xHarbour maindll.c. There is only a HBBDLLENTRY:: I have added the HB_EXPORT clause to it as the DLL must export it in order to use it: void HB_EXPORT HBDLLENTRY( char * cProcName ...
by Antonio Linares
Wed Nov 09, 2011 7:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10779

Re: Create a DLL with xharbour

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. Hello, Yes. There is quite an elegant solution with xHarbour. If you happen ...
by andijahja
Fri Nov 04, 2011 8:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a DLL with xharbour
Replies: 9
Views: 3166

Re: Create a DLL with xharbour

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
by Marco Turco
Fri Nov 04, 2011 6:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a DLL with xharbour
Replies: 9
Views: 3166

Create a DLL with xharbour

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.
by Marco Turco
Fri Nov 04, 2011 3:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a DLL with xharbour
Replies: 9
Views: 3166

Re: Maindll.obj

Antonio, al final del archivo habia un #endif comentado, le quite los comentarios y compilo sin errores y crea el archivo babudll.dll, pero no hace nada al compilar babu.prg solo muestra el mensaje desde el exe no el del dll.

Babu.prg y babudll.prg son los que trae el fwh por defecto.

Saludos.
by Simon
Mon May 16, 2011 3:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Maindll.obj
Replies: 4
Views: 795

Re: Maindll.obj

Simón,

Escribe un #ifdef 1 antes del último #endif en ese fichero prsht.h
by Antonio Linares
Mon May 16, 2011 6:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Maindll.obj
Replies: 4
Views: 795

Re: Maindll.obj

Hola Antonio, gracias por la respuesta. Pero no encontre el archivo maindll.c, aparece maindllh.c Asumi que habian cambiado el nombre del archivo e intente compilarlo, con bcc 5.82 y me dio el siguiente error compilando: Error E2187 c:\bcc582\include\prsht.h ...
by Simon
Sun May 15, 2011 5:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Maindll.obj
Replies: 4
Views: 795

Re: Maindll.obj

Simon,

Puedes construirlo asi:
c:\bcc55\bin\bcc32 -c -D__EXPORT__ -Ic:\harbour\include maindll.c

Aqui tienes más información:
viewtopic.php?p=96555#p96555
by Antonio Linares
Sat May 14, 2011 4:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Maindll.obj
Replies: 4
Views: 795

Maindll.obj

Como consigo el archivo maindll.obj.

Si alguien me dice como construirlo le agradeceria, si me lo envia tambien sirve.

Uso harbour + fwh 10.12.

Gracias de antemano.
by Simon
Sat May 14, 2011 2:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Maindll.obj
Replies: 4
Views: 795

Re: Call a Dll from an Exe

Hi to all,
can sameone very kkkiiiinnnnddddlllyyyy pass me the maindll.obj ?

Tks
by Romeo
Tue Mar 23, 2010 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Call a Dll from an Exe
Replies: 11
Views: 3131

Re: Creating a LIB or DLL

... "TEST1", "TESTA", "testb" )   MsgInfo( "OK! We are back to the EXE." )return nil  In my maindll.c LONG PASCAL _export HBDLLENTRY3( char * cProcName, char * cText1, char * cText2 ){   PHB_ITEM pItem1 = hb_itemPutC( NULL, ...
by Dave Zowasky
Thu Apr 09, 2009 6:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 38197

Re: Creating a LIB or DLL

Dave,

> Error E2349 maindll.c 130: Nonportable pointer conversion in function HBDLLSTRING3

Please copy line 130 of your maindll.c here, thanks
by Antonio Linares
Sat Apr 04, 2009 10:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a LIB or DLL
Replies: 138
Views: 38197
Next

Return to advanced search