My code is as follows:
#include <Mstn\MdlApi\MdlApi.h>#include <Mstn\cmdlist.r.h>#include <Mstn\MdlApi\msnativewindow.h>#include <windows.h>#include <DgnPlatform\DgnFile.h>#include <DgnPlatform\DgnFileIO\DgnFileIOApi.h>
extern "C" DLLEXPORT void MdlMain(int argc, WCharCP argv[]){ HWND hWnd = NULL; hWnd = (HWND)mdlNativeWindow_getMainHandle(0);
return;
}
I can't able to resolve these build errors.
One extra note: I asked you several times already to follow the forum best practices. When you want to share code snippets, use Insert > Insert code tool and set a used language, so the code is properly displayed and colorized.
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point