I''m trying to create a simple dialog box that just lets the user input some text. I''m using Visual C++ 5.0 without MFC. I call the DialogBox macro and I get an error saying that DialogBoxParamA parameter 4 takes a function that takes no parameters (the DialogProc function), which I know isn''t the case. The DialogProc function should take the same parameters as the WinProc function, right? So why do I get a compiler error saying the DialogProc should accept void? I looked it up in the help and even the help says that it takes the usual parameters. Can anyone help?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement