Page 1 of 1

Posted: Tue Jan 28, 2003 5:43 pm
by BackupUser
Restored from previous forum. Originally posted by Tomio.

Hello,

I know 2 ways to use libraries with pb:
-DLLs and link dynamic
-collection of procedures and do a "IncludeFile"

Is there a way to link fix?
I mean the objetcs are included at linktime, and only objects which are needed.

I couldn't find the answer neither in the doc nor in the forums.

Thank you../tomio

Posted: Tue Jan 28, 2003 9:18 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

You can use the procedure system and put CompilerIf/EndIf around each procedure and then using a constant than you can put to true or false. Example:

#ML_YouFunc = 1

CompilerIf #ML_YourFunc
Procedure YourFunc()
...
EndProcedure
CompilerEndif



Fred - AlphaSND

Posted: Wed Jan 29, 2003 3:23 pm
by BackupUser
Restored from previous forum. Originally posted by Tomio.

Fred,

thank you for the hint. I'll do this.

../tomio