Hi ! Everyone!
If some one knows, Please help me.
I'm beening develop ARX program on the AutoCAD 2013 64 bit environment, Using the VS2010.
But, I encounterd big problems to create the Framewnd.
Below code worked AutoCAD2010 and VS2008 environment.
//---------------------------------------------------------------------------
CAcModuleResourceOverride resOverride;
dataFactory.pFrame = new CMainFrame;
RECT CRect = {x, y, 0, 0};
if (!dataFactory.pFrame->Create(_T("Test Wnd!"),
WS_VISIBLE | WS_OVERLAPPEDWINDOW, CRect, NULL))
acutPrintf(_T("Error: Failed to create the Window!"));
dataFactory.pFrame->MoveWindow (x, y, 300, 195);
dataFactory.pFrame->m_flg = TRUE;
acedGetAcadFrame()->SetFocus();
//----------------------------------------------------------------------------
The dataFactory class where restored some pointers and variables
Aboved code did not work on the 2013 and VS2010.
dataFactory.pFrame->MoveWindow (x, y, 300, 195); is crashed.
The Wnd pointer must be exist, It is not NULL.
Where am I wrong??
Please help me!!!!
Sorry, we don't support it via the API at this time.