Error: not a window

Forum for reporting problems
Post Reply
rocky35
Posts: 2
Joined: Thu Sep 05, 2013 5:23 am

Error: not a window

Post by rocky35 »

Hello all
I am new to kernel cad. I installed KernelCAD_Dev_4_2_3685.exe but when I try to debug my MFC application I see error
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: c:\Projects\4_3\KC\Samples\VC\Cannon\x64\Debug\Cannon.exe
File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\occcont.cpp
Line: 926

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
---------------------------

Visual studio shows line ASSERT(IsWindow(pTemp->m_hWnd))
Please help

sarge
Posts: 2
Joined: Mon Jul 29, 2013 12:23 am

Re: Error: not a window

Post by sarge »

Hi
You are trying to run a 64 bit configuration, but the product you have installed is 32 bit. Select Win32 in Build / Configuration Manager / Active Solution Platform. Or install a setup file with _x64 in the name
Cheers

rocky35
Posts: 2
Joined: Thu Sep 05, 2013 5:23 am

Re: Error: not a window

Post by rocky35 »

Thank you, Sarge!

Post Reply