- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
compiling the OpenGL examples (under the Samples, respective Fortran/OpenGL directory) on a Windows7 64bit system works fine when targetting win32, but fails for x86.
This is both with the build.bat (started under an intel64 build environment shell) as well as a visual studio project switched to x64 (solution parameters are equal where possible). It happens with various of the latest 11.1 compiler versions including 11.1.51, and Visual Studio 2008 pro. The error message is "CreateWindow() failed" due to CreateWindowEx returning zero (GLUtilsMod.f90).
During the execution of CreateWindowEx, the WindowProc is called (all messages go unhandled by the procedure and use the DefWindowProc function).
Any help/information about this issue is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The basic issue is that one should not use contained routines with uplevel references as Windows callbacks. Ever.
I'll fix all the OpenGL samples for the next release.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The basic issue is that one should not use contained routines with uplevel references as Windows callbacks. Ever.
I'll fix all the OpenGL samples for the next release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page