Hi,

I've a COM method receiving a LONG parameter.
When I pass 0, I got Unspecified error.
I've tried to pass in 1 or 4. Both work fine.

Why 0 is not accepted by this method?

Thanks
Kevin

Re: Unspecified error when pass 0 into a COM method by Viatcheslav

Viatcheslav
Tue Aug 17 02:15:53 CDT 2004

What is this COM object and what it does? May be this object and method
thinks that 0 is not acceptable.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Kevin Liu" <jungliu@yahoo.com> ???????/???????? ? ???????? ?????????:
news:9258b967.0408161733.4cc697d1@posting.google.com...
> Hi,
>
> I've a COM method receiving a LONG parameter.
> When I pass 0, I got Unspecified error.
> I've tried to pass in 1 or 4. Both work fine.
>
> Why 0 is not accepted by this method?
>
> Thanks
> Kevin