From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,194248e371436e0b,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-10-04 06:34:57 PST Newsgroups: comp.unix.osf.misc Path: bga.com!news.sprintlink.net!howland.reston.ans.net!EU.net!sun4nl!news.nic.surfnet.nl!spider.research.ptt.nl!sun005!straat From: straat@sun005.research.ptt.nl (Dirk Straat) Subject: calling PCD-DCE from Visual Basic Message-ID: <1994Oct4.122735.24289@news.research.ptt.nl> Keywords: PC-DCE Visual Basic Windows Sender: straat@sun005 (Dirk Straat) Nntp-Posting-Host: sun005.research.ptt.nl Organization: PTT Research, Groningen, The Netherlands Date: Tue, 4 Oct 1994 12:27:35 GMT 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 give no problems but I not sure how I should initialize the parameters that are neccesary to call the two functions. Any help is much appreciated. - Dirk Straat internet: D.Straat@research.ptt.nl