Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help me with this task. I ha

Status
Not open for further replies.

fechen

Technical User
Jan 25, 2002
48
US
Please help me with this task. I have no idea on this. Even a little direction will be helpful.

I have two Windows PC A, and B

I need to query a special device driver info on Host B from Host A. We have a command-line application which will call a DLL file on B. The old way is to rcmd from A to B, execute the application on B, get the display and text-parse it on A.

I'd like to find a more elegant method, i.e. write an application, which will remotely call the DLL on host B from Host A. so I have all code in VB, no NT script, nor text file parse, etc.

Security is not an issue here. Both hosts are in lab, login/password are same.
 
If it is data you want to transfer from inside one application to inside the other , use the winsock activeX control. You can transfer variables between them.
What is the nature of your "DLL" file that your are running and what does it exactly do?
 
On host B, there is PCI Host Adapter(s). DLL file on B is talking to host adapter API and get host adapter's info. (what I understood).

My goal is to remove the application that used to be executed by rcmd on Host B.

Old way:

Host A Host B

VB
|
|
V
shell ---------rcmd.exe----> current C appl.
|
|
V
DLL and Adapter
|
text parsing<---- save display as text-/
in VB


The nicer picture (my guess)

VB --(some technology)-------------------> DLL
|
|
V
info. <----------------------------- Adapter


 
The &quot;some technology&quot; is called DCOM. This is what you should be looking at.
 
Thanks, I am digging into it ....

Feng
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top