Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VB6 Thread protection

VB6 Thread protection

Scheduled Pinned Locked Moved Visual Basic
c++jsonquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pualee
    wrote on last edited by
    #1

    Are there any default thread protection objects in VB6? I want to make sure that only 1 function can run on a given block of code at any given time. VB6 is worrying me because everything is event driven and I do not control the threads in the same manner that I would in C++. Can someone point me to some API's or classes already included with VB6 that are similar to a mutex or semaphore?

    D 1 Reply Last reply
    0
    • P Pualee

      Are there any default thread protection objects in VB6? I want to make sure that only 1 function can run on a given block of code at any given time. VB6 is worrying me because everything is event driven and I do not control the threads in the same manner that I would in C++. Can someone point me to some API's or classes already included with VB6 that are similar to a mutex or semaphore?

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Pualee wrote: Are there any default thread protection objects in VB6? No, there isn't. There is no multithreading support in VB6 at all. All code and UI updates run on a single thread. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups