Include issue !!

Started by Franck Stegli, September 26, 2011, 12:57:32 PM

Previous topic - Next topic

Franck Stegli


Hi all FF3 user,

I have a problem that I can't identify.  I try to use J Roca includes (for PB9) and  if I include Winsock2.inc module I have some undefined equ signaled in the CODGEN_xxxx_DECLARES.INC.

Like :
%PF_UNIX      = %AF_UNIX
%PF_INET      = %AF_INET
%PF_IMPLINK   = %AF_IMPLINK
%PF_PUP       = %AF_PUP ...

In this case %AF_UNIX is defined in "ws2def.inc"    and "Winsock2.inc"  contains #INCLUDE ONCE "ws2def.inc".

What's the problem here ?


Franck   


FF3.10  PB9.03

José Roca

Don't include it as a module.

In the FireFly WorkSpace dialog choose the Explorer tab, select Special Functions --> FF_AppStart and after


' Place your user defined Declares, Constants, and #Include files below this line. FireFly will not
' parse any of your defined #Include files - it simply includes it in the final generated code.
' -------------------------------------------------------------------------------------------------


Add:


#INCLUDE "WinSock2.inc"


Franck Stegli


Merci Jose !

It works now after reinstalling version 1.19 of the include files. Also FF3 is a new install.

Franck