Debugging crashes in 16 bit code?

2003-02-02 Thread Dan Kegel
How does one tell what DLL contains a particular segment of 16 bit code in winedbg? For instance, there's a nice juicy exception that happens towards the end of the Resource Hunter installer, available as a free trial download at http://www.boilsoft.com/rchunter.html In wine = win2k mode, it

seti@home success story

2003-02-02 Thread Dan Kegel
I gave a Wine demo at last Sunday's LULA installfest, and one of the attendees reports Well, I was wanting to run seti@home, but they only have a command line version available for linux, so I used some of Dan's tricks from the Wine talk, and now I have the cool windows gui running under redhat 8,

Re: Debugging crashes in 16 bit code?

2003-02-02 Thread Eric Pouech
Dan Kegel wrote: How does one tell what DLL contains a particular segment of 16 bit code in winedbg? that's no longer supported in winedbg (we don't generate in Wine the native 16 bit DLL loading events, so we don't catch them in winedbg) a way to do it is to trace +module and get the address

Re: [DINPUT] Fix some stupid game :-)

2003-02-02 Thread Lionel Ulmer
On Sun, Feb 02, 2003 at 02:39:07PM +0100, Andreas Mohr wrote: Cool, this should fix a lot of games, hopefully. And maybe also Unreal Tournament (NOT 2003!), where I've been searching like frantic for that mouse acquire issue some time ago... Well, the other fix would be to do an implicit

Re: [DINPUT] Fix some stupid game :-)

2003-02-02 Thread Andreas Mohr
On Sun, Feb 02, 2003 at 12:46:22PM +0100, Lionel Ulmer wrote: Hi all, Some games only Acquire the mouse device *if* we return an error on GetDeviceData when the mouse in unacquired... So report this error as we should :-) Cool, this should fix a lot of games, hopefully. And maybe also

ndr_marshall.c: operation on `pMemory' may be undefined

2003-02-02 Thread Gerald Pfeifer
Hi Ove, I'm now getting the following warnings in ndr_marshall.c, which seem a bit weird: ndr_marshall.c:1220: warning: operation on `pMemory' may be undefined ndr_marshall.c:1223: warning: operation on `pMemory' may be undefined ndr_marshall.c:1276: warning: operation on `pMemory' may be

Re: infinite loop in msvcrt dll

2003-02-02 Thread Marcus Meissner
On Sun, Feb 02, 2003 at 12:34:53AM +0100, Michael Stefaniuc wrote: Hello, when starting ACT!2000 with wine the program freezes after the main window is brought up and one wine process goes mad and eats all the cpu. Running strace on that pid dosn't show any system call and even the relay

Regsvr32.exe.so corrupt in latest cvs

2003-02-02 Thread Boris
I downloaded the latest cvs of wine and compiled it. All went well but it seems that the regsvr32.exe.so file wasn't created properly. If check the dependency of expand.exe.so, winver.exe.so, winepath.exe.so, I can see all the proper files that it needs but if I do it on regsvr32.exe.so, it says

Re: infinite loop in msvcrt dll

2003-02-02 Thread Michael Stefaniuc
On Sun, Feb 02, 2003 at 09:05:38PM +0100, Marcus Meissner wrote: On Sun, Feb 02, 2003 at 12:34:53AM +0100, Michael Stefaniuc wrote: Any tips how to debug this further? This is usually a missing function in msvcrt. Run with -debugmsg +seh and check the output directly before the

Crash in 16 bit Installshield _isdel.exe? (was: Re: Debugging crashesin 16 bit code?)

2003-02-02 Thread Dan Kegel
Eric Pouech wrote: Dan Kegel wrote: How does one tell what DLL contains a particular segment of 16 bit code in winedbg? that's no longer supported in winedbg (we don't generate in Wine the native 16 bit DLL loading events, so we don't catch them in winedbg) a way to do it is to trace +module

Re: [D3D 91] Add vertex fog for transformed vertices

2003-02-02 Thread Christian Costa
Well, I think the easiest would be for you to send a cumulative patch over mine as I think it's easier to track for Alexandre (and as I will do for your Light 'merging' patch that I did not have time to comment before committing due to vacations :-) ). OK.

Re: LISTVIEW_SetItemCount without LVS_OWNERDATA

2003-02-02 Thread Dimitrie O. Paun
On February 2, 2003 05:46 pm, Duane Clark wrote: +infoPtr-nItemCount = nItems; We should have infoPtr-nItemCount correct at the end of every iteration through the loop, otherwise we get into problems if we run out of memory, and we exit the look early: +if ( !(lpItem =

start_process

2003-02-02 Thread Auge Mike
Hi all, Really I need your help to be able to understand how the WINE works internally, so please try to answer my Qs, even if they look easy for you? I need to know why “ExitThread” is called inside the start_process function i.e. which thread we are exiting in this case? Another thing?

Re: Started playing with Wineserver on mingw/cygwin again

2003-02-02 Thread Dimitrie O. Paun
On February 1, 2003 02:10 am, David Fraser wrote: Could we go straight down to the underlying win32 api and do a GetThreadContext there? Is that cheating? I don't know the Cygwin threading model, but calling the real [GS]etThreadContext is a good first order approximation. If interested in this

Re: CVS Update: reactos

2003-02-02 Thread Dimitrie O. Paun
On February 1, 2003 01:33 pm, Steven Edwards wrote: Just wanted to let everyone know that we've hit our first major milestone with ReactOS. Congratulations! Any ETA on when you'll be able to run Word? :) We also still need to adapt alot of the controls from WINE for our user32. If they

Re: Avoiding tempnam (in favor of mkstemp)

2003-02-02 Thread Dimitrie O. Paun
On February 1, 2003 03:31 am, Gerald Pfeifer wrote: We have had some (security-relevant) warning regressions for the following two programs in tools: There's no regression -- these utilities have been using tempnam() from their very beginnings... :) Would you mind using mkstemp() instead of

Re: LISTVIEW_SetItemCount without LVS_OWNERDATA take 2

2003-02-02 Thread Dimitrie O. Paun
On February 2, 2003 06:05 pm, Duane Clark wrote: +infoPtr-nItemCount = 0; Are you sure that's right? What if we get called when the list is non-empty? What if we have 1000 items in the list, and we're called with nItems=50? Or we have 200 in the list already, and we're called with

Re: RPC marshalling patch

2003-02-02 Thread Dimitrie O. Paun
On February 2, 2003 04:46 pm, Gregory M. Turner wrote: I'll put my $50 in virtual escrow with the rest. Anyone keeping track of this? Yes, I am. I've up'ed my contribution to the now standard 50USD, and we have a total of $200USD. I keep track of them on my main Wine page at:

Re: RPC marshalling patch

2003-02-02 Thread Sylvain Petreolle
How to donate ? Yes, I am. I've up'ed my contribution to the now standard 50USD, and we have a total of $200USD. I keep track of them on my main Wine page at: http://www.dssd.ca/wine/ = Sylvain Petreolle [EMAIL PROTECTED] Fight against Spam ! http://www.euro.cauce.org/en/index.html

Re: RPC marshalling patch

2003-02-02 Thread Dimitrie O. Paun
On February 2, 2003 06:52 pm, Sylvain Petreolle wrote: How to donate ? The question is how much, not how? :) If you are in Europe, it's a bit difficult, but we'll think of something. For now, please let me know how much you're willing to donate. -- Dimi.

Re: RPC marshalling patch

2003-02-02 Thread Sylvain Petreolle
--- Dimitrie O. Paun [EMAIL PROTECTED] a écrit : On February 2, 2003 06:52 pm, Sylvain Petreolle wrote: How to donate ? The question is how much, not how? :) The answer to 'how much' will be $50 USD if the question 'how' gives a good answer :) If you are in Europe, it's a bit difficult,

Re: RPC marshalling patch

2003-02-02 Thread Sylvain Petreolle
--- Dimitrie O. Paun [EMAIL PROTECTED] a écrit : On February 2, 2003 07:07 pm, Sylvain Petreolle wrote: The answer to 'how much' will be $50 USD if the question 'how' gives a good answer :) Cool -- you're up on the page! :) Why would it be difficult ? Cause it can cost a

Re: RPC marshalling patch

2003-02-02 Thread Dimitrie O. Paun
On February 2, 2003 07:14 pm, Sylvain Petreolle wrote: Whazt about a Paypal account ? Yes, I can setup one of those as well. Maybe Jeremy already has one... Let's first add up the funds :), we'll worry about the 'details' later. -- Dimi.

How to remount CDROM during program execution?

2003-02-02 Thread Roger Young
I'm asking this question in the Development Forum, even though I'm not a programmer, because I haven't had any useful replies from other Wine forums. The problem occurs when performing a multidisk installation under Wine from the home directory: winex /cdrom/setup.exe and the request

Re: How to remount CDROM during program execution?

2003-02-02 Thread Scott Jackson
Well, I can tell you the problem.. I don't know the solution, but: under windows, the devices are set up differently. basically the concept is that it mounts a disk when it is accessed and unmounts it when it is done. therefore when you read a floppy or a cd and it's taking bloody forever that's

Re: How to remount CDROM during program execution?

2003-02-02 Thread Sylvain Petreolle
try with an automounter. --- Roger Young [EMAIL PROTECTED] a écrit : I'm asking this question in the Development Forum, even though I'm not a programmer, because I haven't had any useful replies from other Wine forums. The problem occurs when performing a multidisk installation under

Re: CVS Update: reactos

2003-02-02 Thread Steven Edwards
Congratulations! Any ETA on when you'll be able to run Word? :) hehe, depends want to help adapt more of the user32 code =P If they don't build run as is, there is a problem somewhere. Either with our code, or with yours. comctl32 should compile on Windows and ReactOS as is, not a single

32--16 Calls: loader/ne/resource.c: krnl386.exe kernel32: NE_DefResourceHandler: illegal call to AllocResource16

2003-02-02 Thread Andrew Hughes
Looking at the remaining 32--16 call: HGLOBAL16 WINAPI NE_DefResourceHandler( HGLOBAL16 hMemObj, HMODULE16 hModule, HRSRC16 hRsrc ) Given the above signature for this function, its abundant use of 16-bit calls (AllocResource16, GlobalLock16,

Re: How to remount CDROM during program execution?

2003-02-02 Thread Tony Lambregts
Roger Young wrote: I'm asking this question in the Development Forum, even though I'm not a programmer, because I haven't had any useful replies from other Wine forums. The problem occurs when performing a multidisk installation under Wine from the home directory: winex /cdrom/setup.exe and

Re: RPC marshalling patch

2003-02-02 Thread Jeremy White
fwiw, I'm filing papers (on a personal basis ) in Minnesota to do business as 'The Wine Project', and I've opened a personal account with the name 'The Wine Project', and I'm a few days away from having a Paypal button all ready to go to accept donations. You can thank Tom for this; he's the one

Re: 32--16 Calls: loader/ne/resource.c: krnl386.exe kernel32: NE_DefResourceHandler: illegal call to AllocResource16

2003-02-02 Thread Dimitrie O. Paun
On February 2, 2003 08:06 pm, Andrew Hughes wrote: HGLOBAL16 WINAPI NE_DefResourceHandler( HGLOBAL16 hMemObj, HMODULE16 hModule, HRSRC16 hRsrc ) Given the above signature for this function, its abundant use of 16-bit calls (AllocResource16, GlobalLock16, GlobalRealloc16 - twice for the last

Re: Winspool errors with notepad

2003-02-02 Thread Sylvain Petreolle
trace:winspool:AddPrinterA ((null),2,0x407c2c1c): stub trace:winspool:DEVMODEdupAtoW trace:winspool:AddPrinterW (L,2,0x4026ac58) Following these debug messages, we see that the name of the server on which the server is installed changes fromNULL to . Currently we dont support remote printers and

[HHJJ] DCE package within reach

2003-02-02 Thread Dimitrie O. Paun
Hi folks, By the very generous donation of $150 from Nick Capik [EMAIL PROTECTED], the DCE package is *almost* in our hands! To see the donation status, check out: http://www.dssd.ca/wine/ Now, to easily collect from the guys in Europe we will need a working PayPal account. Jeremy, the ball

Re: Missing messages and redraw problem in Btrieve Setup utility 6.15

2003-02-02 Thread Dmitry Timoshkov
Dan Kegel [EMAIL PROTECTED] wrote: The problem in Wine is that the bottom window ends up blank. The sequence appears to be: erase bottom window, draw right values for bottom window client areas but not frames, erase bottom window. On Windows, it seems to continue after that with: draw right

Re: Avoiding tempnam (in favor of mkstemp)

2003-02-02 Thread Marcus Meissner
On Sun, Feb 02, 2003 at 06:12:06PM -0500, Dimitrie O. Paun wrote: On February 1, 2003 03:31 am, Gerald Pfeifer wrote: We have had some (security-relevant) warning regressions for the following two programs in tools: There's no regression -- these utilities have been using tempnam() from

Re: RPC marshalling patch

2003-02-02 Thread Dan Kegel
Jeremy White wrote: I'm filing papers (on a personal basis ) in Minnesota to do business as 'The Wine Project', and I've opened a personal account with the name 'The Wine Project', and I'm a few days away from having a Paypal button all ready to go to accept donations. You can thank Tom for

Re: Avoiding tempnam (in favor of mkstemp)

2003-02-02 Thread Dimitrie O. Paun
On February 3, 2003 12:57 am, Marcus Meissner wrote: mkstemp returns both filename and descriptor, it modifies the passed argument array. There is just the caveat that it needs the filename to end with XX. Thanks, but in all honesty, I don't think this is such a big security issue. If

Re: RPC marshalling patch

2003-02-02 Thread Dimitrie O. Paun
On February 3, 2003 01:58 am, Dan Kegel wrote: I'm good for $50 if you still need any for the standards doc. OK, you're up with $50 as well. With these $50 we can lower the burden on Nick to $100, if no one complains... -- Dimi.

Re: Missing messages and redraw problem in Btrieve Setup utility6.15

2003-02-02 Thread Dan Kegel
Dmitry Timoshkov wrote: Attached patch makes your app happy, but since I'm not sure that this is a right fix, I'm not sending it to wine-patches. ... +++ wine/dlls/x11drv/winpos.c Mon Feb 3 13:24:42 2003 @@ -990,6 +990,8 @@ if (winpos-flags SWP_SHOWWINDOW) {

Re: Unhandled exception: privileged instruction in 16-bit code

2003-02-02 Thread Dan Kegel
Max wrote: Installing an app (Autocad 2000), which has an InstallShield installer, all goes good up to end of file copying, an then an access violation appears : Unhandled exception: privileged instruction in 16-bit code (0417:09b7). In 16-bit

Yardi works!

2003-02-02 Thread Dan Kegel
I got Yardi Professional (the low-end version of the products at http://www.yardi.com) running under Wine, at least with its sample database! And it doesn't look bad. I guess someone with a real Yardi installation will just have to try it sometime soon to see if it works on real data, with the

Re: Yardi works!

2003-02-02 Thread Dan Kegel
Dan Kegel wrote: I got Yardi Professional (the low-end version of the products at http://www.yardi.com) running under Wine, at least with its sample database! And it doesn't look bad. I guess someone with a real Yardi installation will just have to try it sometime soon to see if it works on real

Re: [HHJJ] DCE package within reach

2003-02-02 Thread Tom Wickline
Dimitrie O. Paun wrote: Hi folks, By the very generous donation of $150 from Nick Capik [EMAIL PROTECTED], the DCE package is *almost* in our hands! To see the donation status, check out: http://www.dssd.ca/wine/ Now, to easily collect from the guys in Europe we will need a working PayPal

Re: [HHJJ] DCE package within reach

2003-02-02 Thread Dimitrie O. Paun
On February 3, 2003 01:02 am, Tom Wickline wrote: Dimi send me your addy and ill send you the $$ [for the list] I'll send my address in private email, if you need it, just ask for it. Is there any G.. Tax on this purchase ? If so ill kick in a couple extra $$ I don't have any idea. Greg,