|
-
May 5th, 2003, 08:58 PM
#1
Thread Starter
Addicted Member
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!!"
-
May 5th, 2003, 10:55 PM
#2
Thread Starter
Addicted Member
Anyone?
"If ignorance is bliss, that probably explain why I'm in a such a mess right now!!"
-
May 6th, 2003, 03:52 AM
#3
Hyperactive Member
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??
-
May 6th, 2003, 03:58 AM
#4
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|