Hi,
A7.50 Beta and Visual Studio 2008 Non DLL projectInstalled A7.50 Beta and when i run my project the error appears:
Unhandled exception at 0x1001010e (acknex.dll) in gsANIMATE.exe: 0xC0000005: Access violation writing location 0x00000000.Debugged up to the ev=engine_open(NULL); line.
inline HWND InitAcknexWindow()
{
//// Initialise Acknex Engine and open the engine Window
//// returns HWND if successful.
try
{
//PROBLEM HERE ev = engine_open(NULL) ;
if (!ev) {
throw CWinException( _T("ERROR: Could not Open Acknex Engine" ) );
return 0; } // else store acknex window handle
HWND m_hwndacknex = (HWND)(ev->hWnd);
if (!m_hwndacknex) { // no window ?
return 0; }
// else return the window
return (HWND)m_hwndacknex;
//
}/* end try() */
//-----------------
// CATCH the ERRORS
//-----------------
catch (const CWinException &str)
{str.MessageBox();}
return 0; // no success if we get here
}
10010107 mov cx,word ptr ds:[1019FE0Ch]
1001010E mov word ptr [eax],cx
Debugger stops here 10010111 mov dl,byte ptr ds:[1019FE0Eh]
I am new at debugging in VC so i am not sure if this is a bug or not. But thought you should know so you can try it out.
Same code works fine in A7.10