|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++.windows.32-bits - Repeat of Newbie Question About DMC with Win32
I posted about a week ago, but only got one reply, which unfortuneatly didn't help, so I'm reposting the problem, now summed up. (I apologize for the repost, fixing this problem is somewhat urgent though)Executing: C:\PROGRAMMING\CONTEXT\ConExec.exe "C:\Programming\dm\bin\Sc.exe" "C:\Programming\WinDBMst\windbmst.cpp" -oC:\Programming\WinDBMst\windbmst.exe -mn -WA windbmst.def Sep 04 2002
On Wed, 4 Sep 2002 20:19:50 +0000 (UTC), NuToWin32 <NuToWin32_member pathlink.com> wrote: Hi, I'm not quite sure what is going wrong, but I have a program that does: if (DialogBox(hInst, MAKEINTRESOURCE(IDD_ADJUST), hwnd, (DLGPROC)AdjustProc) == IDOK) AdjustProc having this sig proto: BOOL CALLBACK AdjustProc (HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam); and start of function: BOOL CALLBACK AdjustProc (HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM) Compiled as MCBS or Unicode Win NT exe and it is not using MFC. Works fine. The cast to DLGPROC is required, but you have to make sure the function sig matches the docs. HTH ChrisI posted about a week ago, but only got one reply, which unfortuneatly didn't help, so I'm reposting the problem, now summed up. (I apologize for the repost, fixing this problem is somewhat urgent though)Executing: C:\PROGRAMMING\CONTEXT\ConExec.exe "C:\Programming\dm\bin\Sc.exe" "C:\Programming\WinDBMst\windbmst.cpp" -oC:\Programming\WinDBMst\windbmst.exe -mn -WA windbmst.def Sep 04 2002
In article <533dnuo41rb55vs4i0mstvsan56i3bohb5 4ax.com>, Chris says...On Wed, 4 Sep 2002 20:19:50 +0000 (UTC), NuToWin32 <NuToWin32_member pathlink.com> wrote: Hi, (snipped) The cast to DLGPROC is required, but you have to make sure the function sig matches the docs. HTH Chris Sep 05 2002
|