Kbase 17923: How to get VST user record when many sessions running
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/13/1998 |
|
How to get VST user record when many sessions running
If you have multiple Progress sessions running on a single Windows 95
or Windows NT machine and each (or any) session needs to find its
own entry in the _Connect VST (Virtual System Table), you can do so
by having each session call the GetCurrentProcessID Windows API
function (which returns the process id (i.e. pid)) and then using that
along with the username to do a find against the _Connect table.
The following kbase shows how to call the GetCurrentProcessID API:
17692 - How to Call WIN32 API Function: GetCurrentProcessID