Call to fopen fails in mixed mode project. Worked fine in unmanaged project.

  • Thread starter Thread starter msnews.microsoft.com
  • Start date Start date
M

msnews.microsoft.com

Help!

I'm working with a mixed mode project in which some existing code is calling
fopen. ie.,

void SomeMethod(char* fileName)
{
FILE* filePointer;
filePointer = fopen(fileName, "r");

...

but even though the file exists and this code has work perfect in a
completely unamanged dll, it's failing on the call to fopen with a
System.StackOverflowException.

Please tell me this can still be done in mixed mode! :-(

Regards,
Wayne.
 
Back
Top