Click to See Complete Forum and Search --> : ASP and DLL


Hambi
August 27th, 2002, 08:42 AM
HI folks!

I have a big problem.

I have wrote a DLL in Visal studio 6++. I wrote the method HRESULT Test([in]VARIANT varIn, [out]VARIANT* pvarOut)
{
*pvarOut = varIn;
}

Now i call this method in ASP
...
Dim a
Dim b
a = "SOMETHING"
obj.Test(a,b)
...
and i get an error: "A trappable error (C0000005) occurred in an external object. The script cannot continue running."

So can anyone telll what is wrong here.

Tnx for answer

dalitg
September 11th, 2002, 10:16 AM
Hi,
Try defining an input to dll as [in, ouretval].
The result of your interface function is the out parameter for this function.