Results 1 to 2 of 2

Thread: computer won't shut down while prog is running

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    6
    I recently made a program with VB6, but when it's running, Win98 won't shut down or restart (the Start button->Shutdown way; I know I could just hit the switch on the computer). Anybody know what that could be? The program uses Winsock, and I use the system tray, if that's significant.

  2. #2
    Addicted Member
    Join Date
    May 2000
    Posts
    240

    Smile Can you show some code?

    Did you shut down that certain program? ...because i use winsock alot..my computer tends too not shut down like it should.... umm one more thing.. in your winsock program
    if you dont close the winsocks themselves your comp will lag in god knows what ways... also if in your program you have a

    load winsock1(index)

    you must follow it with a

    Unload Winsock1(index)


    If you dont unload the socks..then it is just like having a program running, when you try to shut it down..it keeps windows "awake"



    Hope this helps.




    See yas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width