[Lazarus] GetProcAddress weird problem

zeljko zeljko at holobit.net
Wed Apr 20 16:26:59 CEST 2011

On Wednesday 20 of April 2011 16:20:52 Leonardo M. Ramé wrote:
> Hi, I'm facing a weird issue with GetProcAddress in a Lazarus program
> I have a method that calls GetProcAddress to get a pointer to a function
> in a shared library. The method can be called many times without
> problem.
> If I try to create another method, with exactly the same content of the
> former, when the program executes the line with GetProcAddress, an
> SIGSEGV is raised. If I debug this line, I get a different pointer
> address than in the original method.
> Does anyone knows why this happens?.

My crystal ball is off atm, so please write at least piece of code so we can 
try to understand what could be your problem.


More information about the Lazarus mailing list