Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hemantmadaan

    OCX in VC.. Want to show the changes in property page on VB

    Hi There, I am developing an OCX in VC++ using MFC and added a custom property page on to that and want to exchange these properties with the control. With DoDataExchange of the property page I am able to get the properties from the control but nut the reverse, i.e., if I load the control onto...
  2. hemantmadaan

    Windows sockets server and a DB client as two threads of a same OCX

    I checked at my part. I am not doing any such silly thing like killing my own main thread. The VB is still crashing, I have a hunch that it might be due to some threading model used in the project. Kindly see and help me with these details.
  3. hemantmadaan

    Windows sockets server and a DB client as two threads of a same OCX

    Was that a joke... :) Anyways, yeah I am maintaining two pointers each for threads and send WM_QUIT using PostThreadMessage API of CWinThread. I hope that helps.
  4. hemantmadaan

    Windows sockets server and a DB client as two threads of a same OCX

    ok let me elaborate a bit more, I created two classes CPingServer and CListenServer derived from CWinThread. I want these threads to only start when the control comes in a running user state. I am checking this in DoPropertyExchange and when the userMode becomes design time again, I am sending...
  5. hemantmadaan

    Windows sockets server and a DB client as two threads of a same OCX

    I am facing this difficulty as I am a beginner in OCX programming and know nothing in writing and using simultaneous threads in an OCX to be used in a project in VB. One thread is used to run as a socket server accepting the connections and then messages on some port. Next thread pings DB...

Part and Inventory Search

Back
Top