JasonSmith
04 Jan 08, 13:24
Hi
I was wondering if anyone can help me on this one.
I have an ActiveX Dll that I am referencing in an application written using visual basic. What I would like to do is run several processes at the same time but the first line of code that gets executed is instantiating the activex control or loading the dll into memory,
try
Dim cl as new CutLogic
catch
MsgBox(ex.message)
(CutLogic is the name of the dll)
The machine that i'm using is a dual core and I'm wondering if somehow there is a race condition occurring when I run the processes one after the other having that line of code to execute first. I'm getting an annoying error that i'm just unable to fathom out why it is occurring, error is (Unable to retrieve COM library for CLSID {9845-093-0930-099} error: 80000004) and the 80000004 means no such interface supported which does not make sense to me, is there some kind of limitation that i'm not aware of? Strange that if i set the processor affinity to zero, so that only one processor is getting used then this error does not show up. If anyone can provide some insight in this I would be really grateful.
I was wondering if anyone can help me on this one.
I have an ActiveX Dll that I am referencing in an application written using visual basic. What I would like to do is run several processes at the same time but the first line of code that gets executed is instantiating the activex control or loading the dll into memory,
try
Dim cl as new CutLogic
catch
MsgBox(ex.message)
(CutLogic is the name of the dll)
The machine that i'm using is a dual core and I'm wondering if somehow there is a race condition occurring when I run the processes one after the other having that line of code to execute first. I'm getting an annoying error that i'm just unable to fathom out why it is occurring, error is (Unable to retrieve COM library for CLSID {9845-093-0930-099} error: 80000004) and the 80000004 means no such interface supported which does not make sense to me, is there some kind of limitation that i'm not aware of? Strange that if i set the processor affinity to zero, so that only one processor is getting used then this error does not show up. If anyone can provide some insight in this I would be really grateful.