I have been using Wine to run QuickBooks fairly successfully for several months now. However, I frequently do CVS updates because I'm also trying to run Quicken, and there are several issues that I'm hoping will get fixed this way. (I have fixed a few of them myself, and am working on one now, but my time [like everyone else's, I'm sure] is limited...)
It's been a few weeks since I've run QuickBooks (8/19 was my last transaction date, so it'd be somewhere around there...). When I went to run it today (after several CVS updates on wine, including "moments ago"), after the company data file is opened, the main menu bar goes away. This was definately NOT a problem the last time I ran QuickBooks, so I surmise that it is the result of a change committed to CVS within the past two to three weeks that is causing this behaviour. It happens in both managed and unmanaged window mode.
Basically, the main menu bar should be at the top of the window, but the configurable taskbar / buttonbar is displayed "over" it. The accellerator keys for the menu bar are no longer recognised (the program beeps if you try to use <alt>f [for example] to get to the File menu).
I am more than willing to try to debug this. I'd really rather not go back to Windows to run QuickBooks, but I HAVE TO HAVE it (for running my company's finances!) But, before I spend days trying to find out what changed in the past few weeks, I was wondering (no, hoping, really) if anyone might recognize this problem as being a possible result of a recent CVS committed change.
Well, in the mean time, I guess I'll look through the CVS commits from the past few weeks (arghhh!)...
Any help would be greatly appreciated...
Thanks,
Carl
On Fri, Sep 06, 2002 at 02:28:04PM -0400, Carl Sopchak wrote:
I have been using Wine to run QuickBooks fairly successfully for several months now. However, I frequently do CVS updates because I'm also trying to run Quicken, and there are several issues that I'm hoping will get fixed this way. (I have fixed a few of them myself, and am working on one now, but my time [like everyone else's, I'm sure] is limited...)
[...]
Well, in the mean time, I guess I'll look through the CVS commits from the past few weeks (arghhh!)...
Probably caused by my changes in the menu handling. Win9x seems to have quite some changes in menu behaviour compared to Win 3.x. The patch I'll send now will fix the problems some apps had with my previous patch, but it's far from the real solution: to implement menu behaviour the Win9x way.
Hi Andi,
Hummm... I applied the patch, but I still don't have the main menu in QuickBooks....
Got any other suggestions? (I've got some things I'll look into...)
Carl
On Friday, September 06, 2002 03:03 pm, you wrote:
On Fri, Sep 06, 2002 at 02:28:04PM -0400, Carl Sopchak wrote:
I have been using Wine to run QuickBooks fairly successfully for several months now. However, I frequently do CVS updates because I'm also trying to run Quicken, and there are several issues that I'm hoping will get fixed this way. (I have fixed a few of them myself, and am working on one now, but my time [like everyone else's, I'm sure] is limited...)
[...]
Well, in the mean time, I guess I'll look through the CVS commits from the past few weeks (arghhh!)...
Probably caused by my changes in the menu handling. Win9x seems to have quite some changes in menu behaviour compared to Win 3.x. The patch I'll send now will fix the problems some apps had with my previous patch, but it's far from the real solution: to implement menu behaviour the Win9x way.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
FWIW, Borland C++ version 5 was also broken in the same way.
Nick Capik
Hi Andi,
Hummm... I applied the patch, but I still don't have the main menu in QuickBooks....
Got any other suggestions? (I've got some things I'll look into...)
Carl
On Friday, September 06, 2002 03:03 pm, you wrote:
On Fri, Sep 06, 2002 at 02:28:04PM -0400, Carl Sopchak wrote:
I have been using Wine to run QuickBooks fairly successfully for several months now. However, I frequently do CVS updates because I'm also trying to run Quicken, and there are several issues that I'm hoping will get fixed this way. (I have fixed a few of them myself, and am working on one now, but my time [like everyone else's, I'm sure] is limited...)
[...]
Well, in the mean time, I guess I'll look through the CVS commits from the past few weeks (arghhh!)...
Probably caused by my changes in the menu handling. Win9x seems to have quite some changes in menu behaviour compared to Win 3.x. The patch I'll send now will fix the problems some apps had with my previous patch, but it's far from the real solution: to implement menu behaviour the Win9x way.
On Mon, Sep 09, 2002 at 10:27:13AM -0400, Carl Sopchak wrote:
Hi Andi,
Hummm... I applied the patch, but I still don't have the main menu in QuickBooks....
Hmm well, has that really been caused by my patch then ? Did you remove my first patch to test it ?
Got any other suggestions? (I've got some things I'll look into...)
Hmm, no(t yet).
Hummm... I applied the patch, but I still don't have the main menu in QuickBooks....
Hmm well, has that really been caused by my patch then ? Did you remove my first patch to test it ?
Oh, I just figured that the patch would take care of things like that. I'll give it a try...
Carl
On Monday, September 09, 2002 12:15 pm, Carl Sopchak wrote:
Hummm... I applied the patch, but I still don't have the main menu in QuickBooks....
Hmm well, has that really been caused by my patch then ? Did you remove my first patch to test it ?
Oh, I just figured that the patch would take care of things like that. I'll give it a try...
Carl
AH HA!
It seems that the call to SetWindowLongA to unregister menu on owning window (per the comments; in the patch committed to CVS it's at "@@ -3842,6 +3844,9 @@") is the culprit. The committed patch had this call done unconditionally. The patch that you posted a few days ago made the call conditional on (lppop->hWnd). When I commented this out (the condition and call), the menu "re-appears". So, I guess for now, I'll leave the call out...
Andi, should I post a patch, or are you going to work on this some more?
Carl