|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Vinay_Balasubramaniam (Vinay_Balasubramaniam
SATYAM.COM)Date: Wed Oct 03 2001 - 01:43:13 CDT
Hi Preethi
Does the NT machine have service pack 6?
Only then u can debug ur VB component.
vinay
-----Original Message-----
From: Preethi Hegde [mailto:preethihegde1
YAHOO.COM]
Sent: Wednesday, October 03, 2001 12:02 PM
To: DCOM
DISCUSS.MICROSOFT.COM
Subject: Error 91: Object Variable or With Block variable not Found
Hi,
I have 2 DDLs which are registered on MTS(Win NT machine).
One DLL calls the other.
I am trying to debug the DLLs using a standard VB6 exe program.
But everytime when the "GetObjectContext()" is called its returning null.
My code in the parent DLL goes like this.
Dim ctxObject As ObjectContext
Set ctxObject = GetObjectContext()
'call the other DLL using the CreateInstance of the parent DLL
Set connObj = ctxObject.CreateInstance("prjMTSTest.clsConnection")
My VB client is on the same machine which contains MTS.
VB client instantiates the DLL and tries to call the method.
But i am getting the error, "Error 91: Object Variable or With Block
variable not Found "
why is GetObjectContext returning NULL??
Waiting for your feedback,
Preethi
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]