[comp.windows.ms.programmer] PC-NFS toolkit question

wim@ecn.nl (Wim Rijnsburger) (05/24/91)

We are developping an RPC/XDR based application, running on a 386 PC (client)
talking with a server daemon on a Unix host (Convex). I use the PC-NFS toolkit (version 1.0) but it seems that this library is not Windows 3.0 compatible. When I use the callrpc() function in a normal DOS executable in a full-screen DOS window (exclusive mode), evering works fine. But when I call the same callrpc() function within my Windows3 application menu, the application exits.

My question is:
	1. Is there a way to put my Windows3 application in the same state
	   as a full-screen DOS window (exclusive mode)? I don't want
	   to create a DOS window for each RPC call.
	2. How can I call WinExec() without getting a DOS window?
	3. Is there a true Windows3.0 RPC/XDR library available?

Please respond by e-mail, because our News expires faster than I can read :-)
I'll summarize to the net.

Thanks,

Wim.

---------- Netherlands Energy Research Foundation, ECN --------------
Wim Rijnsburger                          email: RIJNSBURGER@ECN.NL
P.O. Box 1, 1755 ZG  Petten, Holland     phone: +31 2246 4673
	 

wim@ecn.nl (Wim Rijnsburger) (05/24/91)

Please do use the e-mail address mentioned at the bottom of the  message.


Wim.

---------- Netherlands Energy Research Foundation, ECN --------------
Wim Rijnsburger                          email: RIJNSBURGER@ECN.NL
P.O. Box 1, 1755 ZG  Petten, Holland     phone: +31 2246 4673

jeroen_pluimers@f521.n281.z2.fidonet.org (Jeroen Pluimers) (06/02/91)

Hello Wim!

In a msg of <24 May 91>, Wim Rijnsburger writes to All:

 WR>   1. Is there a way to put my Windows3 application in the same state
 WR>      as a full-screen DOS window (exclusive mode)? I don't want
 WR>      to create a DOS window for each RPC call.
You can't, but you can do a DOS interrupt from Windows. Just be sure your 
buffers for the RPC call area in low memory (below the 1Mb), and that you know 
the segment:offset of them.
 WR>   2. How can I call WinExec() without getting a DOS window?
There was some spawn code
 WR>   3. Is there a true Windows3.0 RPC/XDR library available?
I haven't heard of it... I'm interested too!

 WR> Please respond by e-mail, because our News expires faster than I can
Sorry, I can't.. the university computer is down at the moment.


jeroen

internet: fthsmuld@rulgl.leidenuniv.nl
bitnet:   fthsmuld@hlerul52.bitnet