Sachin
2009-09-22 10:23:01 UTC
In my application i want to share a log file pointer between my main program
and a dynamically loaded library .What i am doing is opening the file using
fopen in the main program and passing FILE* to one of the exported function .
It works fine for XP and vista but surprisingly on Windows 2003 Server R2 it
hangs in the exported function of dll.
If i remove references to FILE* it works ..
Any idea what could be reason and what is good idea to share LOG file across
libraries
Thanks
Sachin
and a dynamically loaded library .What i am doing is opening the file using
fopen in the main program and passing FILE* to one of the exported function .
It works fine for XP and vista but surprisingly on Windows 2003 Server R2 it
hangs in the exported function of dll.
If i remove references to FILE* it works ..
Any idea what could be reason and what is good idea to share LOG file across
libraries
Thanks
Sachin