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

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to