> You cannot do this with a single construct; You need a pointer in the case
> of a dynamically loaded library.
> >
> > I'm not sure that I understand. can you please point me to an example ?

He means it depends on whether you are using:

DLL bound dynamically at program runtime
DLL bound statically at program load time

A static DLL is when you use:

procedure blah; external somedll;

Whereas a dynamic DLL is:

LoadLibrary(somedll);
GetProcAddress('blah');

If you are using static binded DLL, then you can use the cvar.. but if using
dynamic binded DLL then you have to figure up a different solution.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to