>Call STORAGE.3: STGOPENSTORAGE(0x073f7460
>"H:\\tmp\\win95\\wv6\\license.doc",0000:0000,0x00040040,0000:0000,0x00000000,073f:74f6)
> ret=0
>43f:8329 ds=073f
>trace:ole:StgOpenStorage16
>(H:\tmp\win95\wv6\license.doc,(nil),0x00040040,(nil),0,0x40ec192e)
>trace:file:CreateFileA H:\tmp\win95\wv6\license.doc GENERIC_READ
<snip>
>080d5df0: create_file( access=80000000, inherit=0, sharing=00000000, create=0,
>attrs=00000000,
Hello Uwe,
create = 0 is hosed, it does not work under Windows; hence the StgOpenStorage16
function has it wrong (maybe it was written before the CreateFile function was
implemented
correctly), the dwCreationDistribution parameter should be set to OPEN_EXISTING.
With this flag, your 'dococ' patch and the dubious 16 bit stack hack (I lack the heart
to look up the windows undocumentation to find which value - if any- are *supposed*
to have the stack limits), the word viewer 16 bit can (finally) open a file.
Gerard