Results 1 to 4 of 4

Thread: Access dll in remote server. Please help. (Unresolved + Guru needed)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2002
    Location
    http://www.vbforums.com
    Posts
    164

    Unhappy Access dll in remote server. Please help. (Unresolved + Guru needed)

    Hi, I have a problem with dll access.

    The situation here is that I have a server app and a client app.
    When the server app is fired up it will access a local .dll to check if the licensing key is available. (The licensing key is a external hardware which I have functions in the .dll to determine its availability.)

    For the client apps, when it fires up, it has to access the server .dll to check for the licensing key. The way I'm doing it now is by packaging a setup a file without the .dll but I includes the .vbr. (I read this way somewhere else in the forum but I didn't get an elaborated way of how exactly to do it.)

    Can anyone explain to me the steps to achieve the desired results? Client (without local .dll) to access a remote server (with local .dll).

    Thanks,
    Jeremy
    Last edited by jeremy_ckw; May 6th, 2003 at 01:03 AM.
    "If ignorance is bliss, that probably explain why I'm in a such a mess right now!!"

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Jan 2002
    Location
    http://www.vbforums.com
    Posts
    164

    Unhappy

    Anyone?
    "If ignorance is bliss, that probably explain why I'm in a such a mess right now!!"

  3. #3
    Hyperactive Member
    Join Date
    Nov 1999
    Location
    Galway, Ireland
    Posts
    316
    The easiest way would be via xml.

    Set up a simple asp page to accept the xml on the server machine.

    The server asp could then run some vb stuff via a dll and reply to the xml if it is OK or not.

    You would need IIS on the server machine.

    You could do this via winsock or some other messaging of you would like??
    Slan

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Jan 2002
    Location
    http://www.vbforums.com
    Posts
    164
    Thanks a lot for replying. I was getting pretty anxious.

    However, I do not want to deal with XML and ASP. What about those DCOM they are mentioning? How do I set up one?

    So far I've tried compiling the dll with Remote Server Files option selected. I kept the .dll file in the server and send the .vbr and .tlb file to the client. I use regsvr32 and clireg32 to register and reference the server and client.

    Am I doing this right? Coz I'm still getting [Active Component can't create object.] error.

    Please help.

    Desperate,
    Jeremy
    "If ignorance is bliss, that probably explain why I'm in a such a mess right now!!"

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