Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* calling PC-DCE from Visual Basic
@ 1994-10-05  7:45 Dirk Straat
  1994-10-05 16:06 ` Ming Fu
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Straat @ 1994-10-05  7:45 UTC (permalink / raw)




I am implementing a pilot in which a DCE client is being developed with Visual Basic and 
Visual DCE and a DCE server with Microsoft C. Both have to run on the same Windows-based
PC. PC-DCE from Gradient is installed on this PC to provide DCE functionality.

A problem arises when the client calls a server on an external workstation (Sun) and 
this server responds with another RPC to the server on the PC. This results in a conflict
between the client and server on the PC due to Windows limitations. Gradient offers a 
unsupported solution by delivering source code to create a DLL-file in which two 
functions can be called from a Visual Basic application. These functions are
called VBDCETaskInit and VBDCETaskDestroy.  

Does anyone have any experience with this method? The creation of the DLL and the 
declarations within the VB application gives no problems but I don't know how I should 
initialize the parameters that are neccesary to call the functions. Any help is much
appreciated.


- Dirk Straat


internet: D.Straat@research.ptt.nl




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: calling PC-DCE from Visual Basic
  1994-10-05  7:45 calling PC-DCE from Visual Basic Dirk Straat
@ 1994-10-05 16:06 ` Ming Fu
  0 siblings, 0 replies; 2+ messages in thread
From: Ming Fu @ 1994-10-05 16:06 UTC (permalink / raw)


In article <1994Oct5.074530.28396@news.research.ptt.nl>, straat@sun005.research.ptt.nl 
(Dirk Straat) says:
>A problem arises when the client calls a server on an external workstation (Sun) and 
>this server responds with another RPC to the server on the PC. This results in a conflict
>between the client and server on the PC due to Windows limitations. Gradient offers a 
>unsupported solution by delivering source code to create a DLL-file in which two 
>functions can be called from a Visual Basic application. These functions are
>called VBDCETaskInit and VBDCETaskDestroy.  
>
>Does anyone have any experience with this method? The creation of the DLL and the 
>declarations within the VB application gives no problems but I don't know how I should 
>initialize the parameters that are neccesary to call the functions. Any help is much
>appreciated.

Hi Dirk,

Two functions you referred to above should read DCETaskInit() and DCETaskDestroy().  Both 
are part of Gradient's PC-DCE API extension.  They are documented in "PC-DCE Application 
Developer's Guide and Reference" which is shipped with PC-DCE ADK. 

Also, there should be no problems running both a DCE server and a DCE client in Windows at 
the same time according to our experience.  There are issues about SS==DS and the blocking 
function with Visual Basic, but they are documented as well.

Please contact Gradient's support directly (internet email: dce-support@gradient.com, 
telephone: 1-508-624-9600) if you have further questions.

Best Regards,

Ming Fu
Distributed Computing Products Division
Gradient Technologies, Inc.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-10-05 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-10-05  7:45 calling PC-DCE from Visual Basic Dirk Straat
1994-10-05 16:06 ` Ming Fu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox