From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,40c6f6708359ba77 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-10-05 09:06:29 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!noc.near.net!gradient.gradient.com!news From: mfu@gradient.com (Ming Fu) Newsgroups: comp.unix.osf.misc Subject: Re: calling PC-DCE from Visual Basic Date: 5 Oct 1994 16:06:29 GMT Organization: Gradient Technologies, Inc. Message-ID: <36uiu5$n88@gradient.gradient.com> References: <1994Oct5.074530.28396@news.research.ptt.nl> NNTP-Posting-Host: wal.gradient.com X-Newsreader: WinVN 0.91.6 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.