[fpc-pascal] getprocaddress

Michael Van Canneyt michael at freepascal.org
Thu Jul 14 17:44:52 CEST 2005



On Thu, 14 Jul 2005, L505 wrote:

> I have a menu plug-in system working for lazarus and just need a tip to get it
> running ;-).
> 
> What is the syntax to load a library dynamically? In delphi, you go
> 
> @MyProcedure := GetProcAddress(MyProcedure, 'MyProcedure');
> 
> 
> In objfpc you go:
> ..................
> ................?

The same, just add dynlibs to your uses clause.

This is documented.

Michael.




More information about the fpc-pascal mailing list