Hi all
I am having vb.net application which is using reference of dll which
is created in ATL COM.
I have one method in COM dll which i am calling in vb.net.
First time application is working find. But if i try to call same
method again without closing program, application is giving error that
object reference not set(unhandled exception). I don't know why this
is happening.
Does anyone have any idea bout this problem.
Please help.
Thanks in advance.
Nick Malik - 30 Nov 2004 15:56 GMT
You need to provide some code in your question. Otherwise, this is too
little to go on.
It sounds like you have dropped the reference to the object.
I assume that your object has a wrapper. If you don't know about runtime
callable wrappers, then perhaps this will help:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmex/html/vcgr
fimplementingcustomruntimecallablewrapper.asp
HTH,
--- Nick
> Hi all
>
[quoted text clipped - 9 lines]
> Please help.
> Thanks in advance.