|
-
Oct 29th, 2002, 05:26 AM
#1
Thread Starter
Junior Member
how to create a new object of active.dll
i have a problem... when i first create an instance of my active.dll it works fine.. but when i use the "NEW" command to create another object it refernce to the first one (already working) insted of an new.
Anyone help!
This is my function...
private void gotConnectionRequest(int requestID)
{
// Got Connection Request. Starting new instance of PB_IS
//create
obj = new TestSocket.ClassClass();
//Mapp event
obj.Stopped += new TestSocket.__Class_StoppedEventHandler(this.StopPBISInstand);
// Startup active to work
obj.ProcessID(requestID);
//move to collection
PBISInstance.Add(obj);
obj = null;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|