Yes. It is reproducible. But it works well in MinGW.
Is there sth. wrong with the import library lib\ms\libecpg.lib or
lib\libecpg.dll?
"Joshua Masiko" <joshua_masiko(at)yahoo(dot)com>
wrote:20050813145453(dot)48119(dot)qmail(at)web33903(dot)mail(dot)mud(dot)yahoo(dot)com(dot)(dot)(dot)
>
> ntdll.dll!7c918fea()
> ntdll.dll!7c9106eb()
> ntdll.dll!7c90104b()
> msvcrt.dll!77c3b90d()
> msvcrt.dll!77c420e7()
> libecpg.dll!6d0c7471()
>> ecpgtest.exe!main(int argc=1, char * *
> argv=0x003c0d10) Line 5 + 0xc C
> ecpgtest.exe!mainCRTStartup() Line 206 + 0x19 C
> kernel32.dll!7c816d4f()
> kernel32.dll!7c8399f3()
>
>
> The offending line in ecpgtest.pgc is
>
> ECPGdebug(1,stderr);
>
> I get the same result even if I use a file handle
> obtained by using fopen