Jump to content
  • Advertisement


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


Strange behaviour when put directplay in C++ class

This topic is 5588 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

Dear All, I''m trying to wrapup directplay in my class for peer-peer communication. I did and its working fine, but there is a strange behaviour. When I create an instance of my peer class and after that display a dialog box, to take inputs from user, so that they can be set in the SetPeerInfo(...), everything works fine, but when I close the application, it gives error that "user break point at bla bla bla". On the other hand, if I display the dialog first, take input, put them in some global structure, destroy that dialog, and after that get info from that global structure and proceeds, then everything works perfectely. I searched the net about this "user breakpoint error", all I get was that compiler put extra code in the debug verion (int 3 of 1 byte), which is used in cases where the application crashes unexpectedly. The solution I got was to check all the variables, I did and find nothing suspected, but the problem is still there. All my progress is stuck because of this error. Does anyone have this problem too. I''ll appriciate any help in this matter & thanx in advance. Regards, Ejaz.

Share this post

Link to post
Share on other sites

  • 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!