|
-
Sep 8th, 2000, 03:14 AM
#1
Thread Starter
Member
I am trying to develop a component using MTS. For this, I am using VB as a client. I have tried to do this by using ObjectContext which is part of the MTx Server Library.However, I get an error that the object varibale does not exist.
If I try to do the same thing using NEW and without using the ObjectContext, it works fine.
Do I have to have something special installed on the MTs side ?
Can anybody help ?
Regards
Shastri
-
Sep 8th, 2000, 05:14 AM
#2
Fanatic Member
Do you have the component registered with MTS ?
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Sep 8th, 2000, 11:03 AM
#3
Guru
Lets see your code
The objectcontext is to be used by your DLL that resides within MTS, NOT your client EXE
-
Sep 10th, 2000, 11:16 PM
#4
Thread Starter
Member
Hi guys,
Thanks for the reply.Here is what I have done.I have created a activex dllwhich contains just a method which pops up a message.I have registered this component as a package in MTS Explorer and added this DLL as a component without transactio support.
I have created a client program in VB in whcih I have given references for this DLL.When I use this component with the new statement, it works fine.But when I try to use it with ObjectContext, it just refuses to work.
Any ideas?
Am I doing something wrong.
Thanks again.
Regards
Shastri
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
|