Ok, thank you, but have another problem now:
i have made an activeX in C++. So i tried to load it in my script using:
code:
function LoadPlugin_Dll(DllPath)
{
if(Interop.Call(DllPath, "Initialize", 8, "", 0) == 1)
{
Debug.Trace("The C plugin has been initialized");
}
}
but I receive the following error:
quote:
Interop.Call can't load "C:\temp\mydll.dll"
Error : unknown.
Line : 26. Code : -2147467259.
What's the problem?