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

  • Thread starter msnews.microsoft.com
  • 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top