I'm invoking COM dll method from VB program.
COM interface method takes one of the parameter as IUnknown as below
HRESULT SetMethod([in] long samNumber, [in] IUnknown* List);
When i try to call this method from VB by passing "null" as the second parameter i get error "424 Object required."
I dont want to create a new object. Why can't i pass null as the parameter? Is there any other way without creating object? Please help
COM interface method takes one of the parameter as IUnknown as below
HRESULT SetMethod([in] long samNumber, [in] IUnknown* List);
When i try to call this method from VB by passing "null" as the second parameter i get error "424 Object required."
I dont want to create a new object. Why can't i pass null as the parameter? Is there any other way without creating object? Please help
Comment