On 25/10/2007, ik <[EMAIL PROTECTED]> wrote: > Hello List, > > I'm binding FAM/GAM to Pascal, and I do it in two flavors: static and > dynamic linking (depending on the define). I found out that I require > to link two variables with the library. > How can dynamic link a variable using FPC ?
on unix you can use GetProcedureAddress in dynlibs to get any exported symbol (according to the docs, at least). dunno about windows, though. maybe you need to patch the library source to add helper functions that return those variables. > > Thanks, > Ido > -- > http://ik.homelinux.org/ henry _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal