- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link is looking for "_defWindowProcA"
i.e. no decoration assumed by link. Argument passing convention options are:
DEFAULT, UPPER CASE, STRING LENGTH ARGUMENT INLINE
It is true that I'm not making a direct call to this routine anywhere. I'm simply assigning it to thelpfnWndProc component of the window class structure destined for registerclass: = loc(defwindowproc) !MsgLoop
Linking works also if I map an undefined alias name for it (i.e. myMSGLoop, without defining such a function in my code).
link options:
c:gino60gmenuwdg.lib c:gino60ginlibdg.lib c:gino60gmwinerr.lib version.lib kernel32.lib user32.lib u:f95sourceezconsole eleaseezconsole.lib /nologo /entry:"mainCRTStartup" /subsystem:windows /incremental:no /pdb:"Release/TestGino50.pdb" /machine:I386 /out:"Release/TestGino50.exe"
Note: entryused by GINO app.
EXE compile options:
/compile_only /debug:none /include:"Release/ u:f95sourceezconsole elease" /nologo /warn:nofileopt /winapp /module:"Release/" /object:"Release/"
- 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
...while you're at it, DefDlgProcand DefMDIChildProc fall in the same category.
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
...to Garry: you can workaround it if you manage to call DefWindowProc from the same procedure (WinMain?). I think that inserting:
iRet = DefWindowProc(GetDesktopWindow(), WM_NULL, 0, 0)
- 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