|
-
January 5th, 2000, 11:01 AM
#1
Run-time Error 91 w/ vb client, c++ server
I have a C++ server exe and I'm trying to make a vb app that talks to it. I have globally (or at least in the scope of my form) defined the server object, and now I'm trying to call a method. When the method is called, I get the error:
Run-time error '91': Object variable or With block variable not set.
How do I solve this?
-
January 5th, 2000, 04:22 PM
#2
Re: Run-time Error 91 w/ vb client, c++ server
You say that you have a 'Globally' defined object pointing to your server. I bet that you haven't instantiated that object, ie.
'
set yourglobalobject = new YourCPlusPlusServer.ExposedObject
'
You'll need to put some error handling in your routine (program ?) to track down the error though, but I'd imagine that this is where the problem lies.
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|