ReadFile() and WriteFile() choke on non-zero lpOverlapped.

2001-02-03 Thread Eric Kohl
Hello! I'm currently debugging a database-application that uses the M$ Jet Engine 3.5. This db-engine does not behave very well. It opens an exisisting database-file (FILE_FLAG_OVERLAPPED is *not* set) and reads or writes using calls to ReadFile() and WriteFile() with non-zero lpOverlapped

Re: ReadFile() and WriteFile() choke on non-zero lpOverlapped.

2001-02-03 Thread Eric Pouech
Eric Kohl wrote: Hello! I'm currently debugging a database-application that uses the M$ Jet Engine 3.5. This db-engine does not behave very well. It opens an exisisting database-file (FILE_FLAG_OVERLAPPED is *not* set) and reads or writes using calls to ReadFile() and WriteFile() with

Re: debugger fix

2001-02-03 Thread Eric Pouech
Ulrich Weigand wrote: Eric Pouech wrote: thanks for taking a look at it. unfortunately, I couldn't really test your patches. when run, roughly 4/5 of the .so files did would generate this type of error ../../tools/strip_imports libwinspool.drv.so objcopy: styEor1D: File truncated

Re: PATCH: afm loader

2001-02-03 Thread Joerg Mayer
Moin Marcus, you codeed some thing like this in a few places: + char afmfn[256]; + strcpy(afmfn,afmdir); directories and filenames may be longer than 256 charaters. If you use such a value you should at least use strncpy or use FILENAME_MAX from stdio.h (if that's the

wine-patches working?

2001-02-03 Thread Ian Pilcher
Is anyone else not getting stuff that's sent to wine-patches? -- Ian Pilcher [EMAIL PROTECTED]

Re: debugger fix

2001-02-03 Thread gerard patel
At 06:24 PM 3/2/01 +, you wrote: snip however, it would be great if someone else could try Ulrich's patch to see if I'm the only one with BD results... I tested Ulrich's patch on current Cvs on a vanilla Suse 7.0 (gcc 2.95.2, binutils 2.9.5) The patch applied all right, built fine

Re: debugger fix

2001-02-03 Thread Jon Griffiths
Hi, debugger starts all right and I can go to a breakpoint using the dll name in uppercase.api trick. On a somewhat related note, I'm trying to get the debuggers from lcc and visual studio to work. VC is my preference since it will let you bring up a release build executable (i.e. any old

Re: psdrv: map Courier New to Courier

2001-02-03 Thread Ian Pilcher
Huw D M Davies wrote: Great! Well the Windows 2000 PS driver stores the font sub table under the value name "TTFontSubTable" in the printer driver's PrinterDriverData registry key. To do this we need to implement Get/SetPrinterData (if you give me a couple of days I'll do it). The data

Re: debugger fix

2001-02-03 Thread Ulrich Weigand
Eric Pouech wrote: ../../tools/strip_imports libwinspool.drv.so objcopy: styEor1D: File truncated tested with binutils 2.9.1 and 2.10.1 and I get the same error... even when changing objcopy by strip did some strace on the operation, and it seems that there's some mixup in the

Re: psdrv: map Courier New to Courier

2001-02-03 Thread Ian Pilcher
Huw D M Davies wrote: OK, I've just submitted G|SetPrinterData implementations to wine-patches - please use these instead of direct Reg apis. (it should make life easier anyway. I cannot get this patch to apply. I've tried it with a CVS pull from earlier today and one from 1/29. With

ReadFile() and WriteFile() choke on non-zero lpOverlapped.

2001-02-03 Thread Eric Kohl
Hello! I'm currently debugging a database-application that uses the M$ Jet Engine 3.5. This db-engine does not behave very well. It opens an exisisting database-file (FILE_FLAG_OVERLAPPED is *not* set) and reads or writes using calls to ReadFile() and WriteFile() with non-zero lpOverlapped

Microsoft Wine????

2001-02-03 Thread Owen Rudge
Hi, This is what happens when you use the native Windows SHELL32.DLL and choose About Wine from the System menu.. see http://www16.brinkster.com/orudge/mswine.gif for screenshot H. has Microsoft taken over Wine too.. :-) The app I was running, BTW, is something I've made