Say if I need to include WinSock support to get the type sockaddr_in...or any other type of include need.
#INCLUDE "WS2_32.INC"
I was just making a module and inserting the code there since in the compiled code I noticed it was the only line I could make that was before my FORM code where I needed it and before WINMAIN. I'm probably right since this is all I can think of, but it might have been easier to select what files to include. Also, is the inclean dll capable of processing additional files like WS2_32.INC? If so it would be able to grab only what I use which is what I ended up doing and just put the TYPES/UNIONS/FUNCTIONS in my General Code. Of course it would put it in the INCLEAN.inc file.
I would stay away from using #Include files directly in your project. Instead, add them to the Project as Modules. FireFly will not parse #Include files so there is no gaurantee that the "forward referencing" will work. Also, stay clear of using the conditional #If directive... refer to the FireFly FAQ for the reason.
Ok, I see what you mean now...selecting the Existing tab in the module and adding the actual file...might add that to the FAQ. Now, when I add this file it has the #IF directive already as do many others, so does this mean for every inc file I add as a module I have to edit and take the lines related to that out? And, since those are gone, FF will still only add them once if I leave the assignment though right? Since it moves them all and it will be assigned already for other includes that have the check to see that it is declared and won't add it twice.