🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #606

help with SwitchStackTo and SwitchStackBack in 3.0

#606
From: Blaine DeLancey
Date: Wed, 07 Nov 1990 14:17
14 lines
1098 bytes
I am in the process of converting some of my libraries to .DLLs and would like
to use the new 3.0 functions SwitchStackTo and SwitchStackBack in a few
instances where I need to call functions that take near pointers and which
don't have far equivalents.  SwitchStackTo requires 3 arguments - 
wStackSegment, wStackPointer and wStackTop.  I know what the manual states 
these should hold, but am not real clear what actual values to place there.
If anybody can help in any way (especially with a simple example), please
send some e-mail my way!
					Thanks,
						Blaine
-- 
delancey@secola.Columbia.NCR.COM	
Blaine DeLancey        		
Columbia, South Carolina	
Technical Details
Message-ID: <627@secola.Columbia.NCR.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!emory!hubcap!ncrcae!secola!delancey

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!emory!hubcap!ncrcae!secola!delancey
From: delancey@secola.Columbia.NCR.COM (Blaine DeLancey)
Newsgroups: comp.windows.ms.programmer
Subject: help with SwitchStackTo and SwitchStackBack in 3.0
Message-ID: <627@secola.Columbia.NCR.COM>
Date: 7 Nov 90 14:17:01 GMT
Distribution: na
Organization: NCR Comten Columbia
Lines: 14