Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

tool_2046

confused

This topic is 5995 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!