WOW functions on NT (None Specified)
At 28 JUN 1999 10:18:32AM Ken King wrote:
I realize this is not directly on topic and will keep it brief. I am attempting to use the WOW functions that come with vc++ 5.0 in order to enhance the capabilities of OI. These functions work fine to declare memory off the 16-bit global heap in windows 95/98, but are causing an access violation in NT. I know some people here have used the wow functions inside .dll's to expand the abilities of OI.. if anyone has been successful using WOWGlobalAlloc16 in NT, please help!,
—
At 29 JUN 1999 04:32AM cpates@sprezzatura.com - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote:
[notag]Ken,
If memory serves, the type of thunking you are attempting (32→16 bit ?) will only work on Win95/98 systems, not on NT, although the 16→32 bit WOW functions work on both platforms.
One way around this problem I found was to use the WM_COPYDATA message to pass data between my 32 bit app and a 16-bit 'proxy' window which then passed the request onto the 16-bit DLL in the normal fashion.
[<A HREF="mailto:cpates@sprezzatura.com" onMouseOver="window.status='Why not click here to send me Email?';return(true)">Carl Pates</A>]
[<A HREF="http://www.sprezzatura.com" onMouseOver="window.status='Why not click here to visit our web site?';return(true)">Sprezzatura Group</A>]
[<I>World Leaders in all things RevSoft</I>]
[<img src="http://www.sprezzatura.com/zz.gif">]
[<script language="javascript">function openNewPage () {window.location.href=(document.TOCNavigator.pageToGoTo.options[document.TOCNavigator.pageToGoTo.selectedIndex].value);document.TOCNavigator.pageToGoTo.selectedIndex="0";}end hiding from non-JS browsers –></script>] [<FORM ACTION "" METHOD=GET NAME="TOCNavigator" <SELECT NAME="pageToGoTo" SIZE=1 onChange="openNewPage()"> <OPTION>Pull down this menu to choose whereabouts on Sprezz site to go <OPTION VALUE="http://www.sprezzatura.com">Home Page <OPTION VALUE="http://www.sprezzatura.com/whatsnew.htm">What's New <OPTION VALUE="http://www.sprezzatura.com/senl.htm">SENL <OPTION VALUE="http://www.sprezzatura.com/patches.htm">Download S/LIST <OPTION VALUE="mailto:support@sprezzatura.com">Send mail to support at Sprezzatura <OPTION VALUE="mailto:sales@sprezzatura.com">Send mail to sales at Sprezzatura </SELECT> </FORM>][/notag] </QUOTE> View this thread on the Works forum...