Hi,
I am using C++(MFC) dll in my C# application. My application getting closed when i tried to access fstream() function (from DLL )with different specifier. sample code is given here:
1) fscanf(fp,"%1c",&colon); :this works fine
2) fscanf(fp,"%2x",&byte_count); : My application got closed.
But it will work fine if i execute my C++ application individually, and not able to call it if i use through dll in my c# application. It is not throwing any error or exception(since the method is in DLL).But simply getting closed. Can anybody give the solution?? or any idea to figure out the log file generated to find out the errors??
thanks,
Vinod