[Lazarus] GetProcAddress weird problem
Leonardo M. Ramé
l.rame at griensu.com
Wed Apr 20 16:41:05 CEST 2011
On 2011-04-20 16:26:59 +0200, zeljko wrote:
> 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.
>
> zeljko
>
> --
Nevermind, both methods weren't exactly equal.
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the Lazarus
mailing list