Results 1 to 4 of 4

Thread: using with MTS

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 1999
    Posts
    32

    Question


    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

    Shas


  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    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!

  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    Lets see your code

    The objectcontext is to be used by your DLL that resides within MTS, NOT your client EXE

  4. #4

    Thread Starter
    Member
    Join Date
    Oct 1999
    Posts
    32
    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
    Shas


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width