L
Lee Crabtree
I've got a solution that has a C++ project that compiles to a DLL, and a
C# project that is the main piece of the program.
The DLL is managed C++ on top of regular C++. In one of the native
functions, I make a call that looks a little like this:
file = _fsopen(path, mode, SH_DENYNO);
That call generates a System.NullReferenceException, which makes
ABSOLUTELY no sense, since it's happening in unmanaged code. On top of
all that, both the path and mode are correctly set.
What am I doing wrong?
Lee
C# project that is the main piece of the program.
The DLL is managed C++ on top of regular C++. In one of the native
functions, I make a call that looks a little like this:
file = _fsopen(path, mode, SH_DENYNO);
That call generates a System.NullReferenceException, which makes
ABSOLUTELY no sense, since it's happening in unmanaged code. On top of
all that, both the path and mode are correctly set.
What am I doing wrong?
Lee