Re: OpenFile16 and similar functions

2007-06-20 Thread Detlef Riekenberg
On Mi, 2007-06-20 at 06:36 -0700, Dan Kegel wrote: > On 6/20/07, Jakob Eriksson <[EMAIL PROTECTED]> wrote: > > Are not the tests still EXE-s called by winetest? Then the current > > winetest will work OK. > > Except that winetest.h might not compile in 16 bit mode, > and our build system doesn't h

Re: OpenFile16 and similar functions

2007-06-20 Thread Dan Kegel
On 6/20/07, Jakob Eriksson <[EMAIL PROTECTED]> wrote: Are not the tests still EXE-s called by winetest? Then the current winetest will work OK. Except that winetest.h might not compile in 16 bit mode, and our build system doesn't handle 16 bit binaries, and gcc/ld can't build 16 bit NE executab

Re: OpenFile16 and similar functions

2007-06-20 Thread Anssi Hannula
Dan Kegel wrote: On 6/19/07, Dan Kegel <[EMAIL PROTECTED]> wrote: Unfortuately, Wine doesn't currently run these win16 apps properly; they hang with err:ntdll:RtlpWaitForCriticalSection section 0x7b91f300 "syslevel.c: Win16Mutex" wait timed out in thread 000b, blocked by 000c, retrying (60 sec)

Re: OpenFile16 and similar functions

2007-06-19 Thread Dan Kegel
So, the original question was "How to test OpenFile16"? Here's a more complete answer. First, install OpenWatcom as previously described. Then create a text file blah.c containing something like #include int PASCAL WinMain( HINSTANCE this_inst, HINSTANCE prev_inst, LPSTR cmdline,

Re: OpenFile16 and similar functions

2007-06-19 Thread Dan Kegel
On 6/19/07, Dan Kegel <[EMAIL PROTECTED]> wrote: Unfortuately, Wine doesn't currently run these win16 apps properly; they hang with err:ntdll:RtlpWaitForCriticalSection section 0x7b91f300 "syslevel.c: Win16Mutex" wait timed out in thread 000b, blocked by 000c, retrying (60 sec) Filed as http:/

re: OpenFile16 and similar functions

2007-06-19 Thread Dan Kegel
Anatoly asked: How can I write a test for this function or build program use it? I think writing good win16 tests requires a 16 bit linker. Fortunately, OpenWatcom has one, and works on Wine. It's amazingly easy to install it and build one of its demo apps: $ wget http://ftp.openwatcom.org/ftp/