On Tue, 20 Nov 2001 14:10:20 -0800 (PST), James Grey
wrote:
>You can only load one dll with a given base file name in a Windows
>process. You could use multiple processes by wrapping the DLL in a
>multi-instance out-of-process ActiveX server and call the server
>methods from TestStand using the ActiveX adapter.
>
>A much simpler thing you might try first is to copy the dll to a
>different name. However, if the single serial port restriction is tied
>to a global variable in a subsidiary dll, this won't help.
Of course I tried the simple thing first, renaming the dll. This did
work to some extent, I used a process monitoring shareware program,
and both DLL's were loaded separately. However, when a call was made
to the 2nd DLL, it still con
nected to the first instance. I could
tell this was happening since the device on the first com port (DLL1)
responded, not the device on the 2nd com port (DLL2).
As for creating an ActiveX server, this is not something I've done
before. Any suggestions on where to start to develop something like
this?