http://bugs.winehq.org/show_bug.cgi?id=1226
------- Additional Comments From blin(a)gmx.net 2007-05-06 16:50 -------
Patch sent for the fixme. Please open seperate bugs for the different networking
issues that might still exist.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8615
Summary: Medieval 2: Total War crashes when loading game
scenario.
Product: Wine
Version: 0.9.38.
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-directx
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: alexen.99(a)gmail.com
same bug 6991 :
with wine 0.9.35 36 37 38 =>
The upgrade to 0.9.36 broke campaign mode for me, n
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8553
------- Additional Comments From focht(a)gmx.net 2007-05-06 15:56 -------
Hello,
the exception (access violation) is actually a bug in explorer-style file dialog
support in wine.
The application hooks open/save file dialog procedures and in order to customize
them.
When GetOpenFileName(A) is called and the original FileOpenDlgProc95 dialog proc
receives the WM_INITDIALOG message, it calls CreateTemplateDialog() which sets
up necessary stuff.
Within CreateTemplateDialog(), the client hook procedure is called
(CreateDialogIndirectParamA).
The application hook explicitly searches for "toolbarwindow32" controls in order
to modify them - but it doesnt expect that these controls do not exist (yet).
--- snip dlls/comdlg32/filedlg.c ---
INT_PTR CALLBACK FileOpenDlgProc95(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
lParam)
{
...
switch(uMsg)
{
case WM_INITDIALOG:
{
FileOpenDlgInfos * fodInfos = (FileOpenDlgInfos *)lParam;
/* Adds the FileOpenDlgInfos in the property list of the dialog
so it will be easily accessible through a GetPropA(...) */
SetPropA(hwnd, FileOpenDlgInfosStr, (HANDLE) fodInfos);
fodInfos->DlgInfos.hwndCustomDlg =
CreateTemplateDialog((FileOpenDlgInfos *)lParam, hwnd);
FILEDLG95_InitControls(hwnd);
if (fodInfos->DlgInfos.hwndCustomDlg)
...
--- snip dlls/comdlg32/filedlg.c ---
"FILEDLG95_InitControls(hwnd)" which creates child controls is called too late.
Child controls must be created before the client hook procedure is executed
(within CreateTemplateDialog) to give the client a chance to access/modify them.
By moving control creation before template dialog creation it goes further.
--- snip dlls/comdlg32/filedlg-new.c ---
switch(uMsg)
{
case WM_INITDIALOG:
{
FileOpenDlgInfos * fodInfos = (FileOpenDlgInfos *)lParam;
/* Adds the FileOpenDlgInfos in the property list of the dialog
so it will be easily accessible through a GetPropA(...) */
SetPropA(hwnd, FileOpenDlgInfosStr, (HANDLE) fodInfos);
FILEDLG95_InitControls(hwnd);
fodInfos->DlgInfos.hwndCustomDlg =
CreateTemplateDialog((FileOpenDlgInfos *)lParam, hwnd);
if (fodInfos->DlgInfos.hwndCustomDlg)
..
--- snip dlls/comdlg32/filedlg-new.c ---
It later crashes here:
--- snip dlls/comdlg32/filedlg.c ---
static BOOL FILEDLG95_FILETYPE_OnCommand(HWND hwnd, WORD wNotifyCode)
{
FileOpenDlgInfos *fodInfos = (FileOpenDlgInfos *)
GetPropA(hwnd,FileOpenDlgInfosStr);
...
/* Refresh the actual view to display the included items*/
IShellView_Refresh(fodInfos->Shell.FOIShellView); <-- *boom*
}
}
return FALSE;
}
--- snip dlls/comdlg32/filedlg.c ---
"fodInfos->Shell.FOIShellView" is NULL at this point.
That should be taken into account.
--- snip dlls/comdlg32/filedlg-new.c ---
..
/* Refresh the actual view to display the included items*/
if( fodInfos->Shell.FOIShellView)
IShellView_Refresh(fodInfos->Shell.FOIShellView);
...
--- snip dlls/comdlg32/filedlg-new.c ---
With both patches the application "open"/"save"/"save as" dialogs display fine.
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8614
juan_lang(a)yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |normal
------- Additional Comments From juan_lang(a)yahoo.com 2007-05-06 15:49 -------
Not a blocker.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8251
------- Additional Comments From greg87(a)online.de 2007-05-06 15:43 -------
Are you sure? I just retested this and it still fails in the same way.
Do you have the retail version? An easy way to check this is to click on "New
Game", you will start in a lonely star system instead of viewing the intro.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8614
------- Additional Comments From erickfis(a)gmail.com 2007-05-06 15:27 -------
cause I really want 2 play this game!
and because I don't know how to use the keywords :)
but the fact is that just now the game doesn't work,
and wine shows me all that error messages that are atached.
thanks!
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=3698
M.B.Lankhorst(a)gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From M.B.Lankhorst(a)gmail.com 2007-05-06 15:21 -------
Seems not to happen any more
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8251
------- Additional Comments From M.B.Lankhorst(a)gmail.com 2007-05-06 15:20 -------
Does this still happen? It seems not to happen any more with more recent
versions
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8249
M.B.Lankhorst(a)gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
------- Additional Comments From M.B.Lankhorst(a)gmail.com 2007-05-06 15:20 -------
Confirmed, not sure what causes it though..
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.