|
From: kitesurfz on 20 Apr 2008 17:16 I have developed an application using embedded visual basic 3. it works prefectly .... then I exchange some data from a server using a winsocket... When the communication ends (8K of data data exchanged), the application becomes weird... after a while, when I click on a command nothing happens...nor listbox, grid... no one *_click event works. The app stop to respond. I have to reset the palm. I use a different form to exchange data, and after the data exchange the "hourglass mousepointer" remain always visible (rotating) there are no loops... so the program cannot be in a loop. any suggestion? thanks
From: kitesurfz on 20 Apr 2008 18:57 .... if I close the winsocket (winsock1.close) IT WORKS so... WHAT IS DOING THE WISOCKET? does anybody uses the winsocket and known how to use it correctly? (of course in my applicatiob I should have to leave it open... I cannot close it)
From: r_z_aret on 22 Apr 2008 16:35 On Sun, 20 Apr 2008 14:16:24 -0700 (PDT), kitesurfz <newsgr(a)pookmail.com> wrote: >I have developed an application using embedded visual basic 3. >it works prefectly >... then I exchange some data from a server using a winsocket... >When the communication ends (8K of data data exchanged), the >application becomes weird... after a while, when I click on a command >nothing happens...nor listbox, grid... no one *_click event works. >The app stop to respond. I have to reset the palm. > >I use a different form to exchange data, and after the data exchange >the "hourglass mousepointer" remain always visible (rotating) >there are no loops... so the program cannot be in a loop. > >any suggestion? You haven't given us enough detail for a specific answer. But you should start by making sure you undo anything you've done. That means closing any threads, calling shutdown, perhaps calling WSACancelBlockingCall. For each function you call during socket start up, check the help file info to determine what you need to do during shut down. >thanks ----------------------------------------- To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message). Robert E. Zaret, eMVP PenFact, Inc. 20 Park Plaza, Suite 478 Boston, MA 02116 www.penfact.com
|
Pages: 1 Prev: Create with VS2005 a console output Next: from Embedded Visual Basic to .net 2005 |