T
Trecius
Hello, Newsgroupians:
I have a method that requires me to specify a client handle when I create
the object. The object prototype is as follows...
void Server.CreateMonitor(string strName, int nClientHandle);
When I create the monitor, I have specify a client handle. Therefore, when
using other methods that came with the library, all I need to do is specify a
client handle.
I'd like to create a "handle pool" that will allow me to grab an integer
from the pool and pass that into the function. This is synonymous to
creating a handle in Win32; the handle is unique. Does anyone have any good
resources as to where I can find some good information regarding creating a
pool that will do this for me? I've been doing some searching, but all I can
find is "thread pools" and not "handle pools." Perhaps my terminology is
incorrect?
How does Windows do it to create handles and make them unique?
Thank you,
Trecius
I have a method that requires me to specify a client handle when I create
the object. The object prototype is as follows...
void Server.CreateMonitor(string strName, int nClientHandle);
When I create the monitor, I have specify a client handle. Therefore, when
using other methods that came with the library, all I need to do is specify a
client handle.
I'd like to create a "handle pool" that will allow me to grab an integer
from the pool and pass that into the function. This is synonymous to
creating a handle in Win32; the handle is unique. Does anyone have any good
resources as to where I can find some good information regarding creating a
pool that will do this for me? I've been doing some searching, but all I can
find is "thread pools" and not "handle pools." Perhaps my terminology is
incorrect?
How does Windows do it to create handles and make them unique?
Thank you,
Trecius