[Bug 9895] Alzip crashes: Invalid float operation

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 12 00:22:45 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=9895


edward savage <epssyis at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |epssyis at gmail.com




--- Comment #3 from edward savage <epssyis at gmail.com>  2008-03-12 00:22:44 ---
push_dochost_task (dochost.c under shdocvw)
    if(send)
        SendMessageW(This->frame_hwnd, WM_DOCHOSTTASK, 0, (LPARAM)task);
    else
        PostMessageW(This->frame_hwnd, WM_DOCHOSTTASK, 0, (LPARAM)task);

If you set send as 1 wine crashes with a floating point error, if send is 0 it
doesn't and the application continues to run.  

At this point my windows programing knowledge lets me down and I'm reading
through a couple of tuturorials to see if I can learn quickly, but in the mean
time I thought I'd put my findings.  

My assumpting is that there is an issue with navigate_bsc_proc variable being
called in navigate_url under navigate.c as it doesn't appear at all in the
function.  I think this as when you remove task->proc = proc; from
push_dochost_task you no longer get a floating point error.  Or that there is
an issue with the task structure ... but, of course, that leads to questions of
why doesn't it affect PostMessageW.  Being a newbie sucks. :P 

I'm going to keep working on windows tutorials and keep my c book close by and
see if I can work this out.  If you have a look at this and it is a simple fix
or you fix it quickly please go in to detail as to what the issue was as I'd
really like to learn.   


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list