[Lazarus] GetProcAddress weird problem
Leonardo M. Ramé
l.rame at griensu.com
Wed Apr 20 16:20:52 CEST 2011
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?.
Free Pascal Compiler version 2.5.1 [2011/04/10] for x86_64
Lazarus 0.9.31 - r30261M
--
Leonardo M. Ramé
Medical IT - Griensu S.A.
Av. Colón 636 - Piso 8 Of. A
X5000EPT -- Córdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54(351)156629292
More information about the Lazarus
mailing list