O
Olaf Baeyens
Another question:
I have a mixed managed/unmanaged MVC++ 2003 project and it uses a VC++ 6.0
lib file that only uses windows functionality no MFC. So far it worked fine.
But somehow now I get a an error during the construction of a pure unmanaged
class at the very beginning,
An unhandled exception of type 'System.NullReferenceException' occurred in
Three.dll
Additional information: Object reference not set to an instance of an
object.
The function:
public: CPluginExt(DWORD style, LPCTSTR lpszName, LPCTSTR lpszDescription,
LPCTSTR lpszStdOut, LPCTSTR pszStdErr ) :
CPlugIn(style,lpszName, lpszDescription, lpszStdOut,
pszStdErr ) {
Init();
};
The debugger stops on that very first line of the constructor, at that point
I did not execute functionality.
The odd thing is that if I recompile the lib file with VC++ 2003 then it
works.
But plans here is that they only want to distribute the VC 6.0 lib file and
not many versions for every compiler.
Any ideas?
I have a mixed managed/unmanaged MVC++ 2003 project and it uses a VC++ 6.0
lib file that only uses windows functionality no MFC. So far it worked fine.
But somehow now I get a an error during the construction of a pure unmanaged
class at the very beginning,
An unhandled exception of type 'System.NullReferenceException' occurred in
Three.dll
Additional information: Object reference not set to an instance of an
object.
The function:
public: CPluginExt(DWORD style, LPCTSTR lpszName, LPCTSTR lpszDescription,
LPCTSTR lpszStdOut, LPCTSTR pszStdErr ) :
CPlugIn(style,lpszName, lpszDescription, lpszStdOut,
pszStdErr ) {
Init();
};
The debugger stops on that very first line of the constructor, at that point
I did not execute functionality.
The odd thing is that if I recompile the lib file with VC++ 2003 then it
works.
But plans here is that they only want to distribute the VC 6.0 lib file and
not many versions for every compiler.
Any ideas?