FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Maindll.obj
Posts: 105
Joined: Thu Oct 20, 2005 12:29 PM
Maindll.obj
Posted: Sat May 14, 2011 02:45 AM

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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Maindll.obj
Posted: Sat May 14, 2011 04:56 AM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 105
Joined: Thu Oct 20, 2005 12:29 PM
Re: Maindll.obj
Posted: Sun May 15, 2011 05:30 PM

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 1084: Unexpected end of file in conditional started on line 12

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Maindll.obj
Posted: Mon May 16, 2011 06:44 AM

Simón,

Escribe un #ifdef 1 antes del último #endif en ese fichero prsht.h

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 105
Joined: Thu Oct 20, 2005 12:29 PM
Re: Maindll.obj
Posted: Mon May 16, 2011 03:16 PM

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.

Continue the discussion