quote:
Originally posted by Deco
If I make a dll out of that..
var msg = Interop.Call("c:\\Projects\\sendMsg\\teste.dll","DoSearch","feio",2);
Calling it like that...
Interop.Call failed to locate function "DoSearch"
is what I get.

thats for a COM dll though, Interop.Call is for dlls which export their functions.
you use the following for COM
code:
var obj = new ActiveXObject("name.id");