Hello all,
I am trying to link / integrate OpenSG with MFC.
When the WIN32Window windows is initialized, an error ocurred:
win = WIN32Window::create();
HWND hWnd = this->GetSafeHwnd();
win->setHwnd (hWnd );
win->init(); <--------------------- ERROR
win->deactivate();
The hWnd handle is correct, because it can be used for other "MFC-Stuff".
I am developing a simple demo with MFC and OpenSG. It is based in a
Doc/View MFC architecture and with OpenSG code from the
Win32WindowTest and some piece of code I found in this forum:
https://sourceforge.net/mailarchive/message.php?msg_id=9713463
Any suggestion will be wellcome.
Additionally, the compilation stage outputs a lot of warnings (261) like those:
...
c:\OpenSG\include\OpenSG\OSGSFVecTypes.h(413) : warning C4231:
nonstandard extension used : 'extern' before template explicit
instantiation
c:\OpenSG\include\OpenSG\OSGSFVecTypes.h(423) : warning C4231:
nonstandard extension used : 'extern' before template explicit
instantiation
c:\OpenSG\include\OpenSG\OSGSFVecTypes.h(433) : warning C4231:
nonstandard extension used : 'extern' before template explicit
instantiation
...
Currently, I am working with the OpenSG 1.4.0 (official release).
Thanks in advance
--
Aitor Moreno
[EMAIL PROTECTED]
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users