| The same, just add dynlibs to your uses clause.
|
| This is documented.
|
| Michael.

Actually, I have dynlibs in uses, I just need education on the rules of objfpc

I will create an example for the docs though. I don't think it shows an example,
and I love examples.

An example:

var
 myprocedure: procedure;stdcall;

@myprocedure:=

Error: Can't assign values to an address


However I figured something out.. this works:

    MyProcedure:=TMyProcedure(GetProcAddress(handle,'MyProcedure'));

So @ doesn't work.. because objfpc assumes assigning to an address is just not
right?


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

Reply via email to