Guten Tag Seth Grover,
am Freitag, 12. April 2013 um 23:44 schrieben Sie:
> I've got a 32-bit Windows XP development environment where I'm using
> mingw's gcc to try to use pcreposix3.dll. I got the .dll and the .h files
> from here: http://sourceforge.net/projects/gnuwin32/files/pcre/7.0/
This version of PCRE is really outdated, a current version is 8.32.
http://www.pcre.org/
> However, the call to regfree causes an access violation.
Your problem may be this line:
regex_t pcrehandle;
You allocate memory on the stack and overwrite it with newly created
memory in regcomp. Try declaring a pointer:
regex_t* pcrehandle;
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning E-Mail:Thorsten.Schoening@???
AM-SoFT IT-Systeme http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow