I'm building a Perl extension, and am linking some C programs with the Perl library on a Windoes XP box using C Visual C++ 6.0. (I know :-( . . . )
I find that calling the fopen function causes a crash now. Apparently the linker is bringing in an fopen from perl56.lib, and this object code crashes the program. Also, incidentally, calls to safemalloc also crash the system.
(The same calls to fopen work fine in programs that don't link in perl56.lib).
I'm not eager to take a detour into the Perl source code. Has anybody already solved this problem?