http://bugs.winehq.org/show_bug.cgi?id=2376
------- Additional Comments From japj(a)xs4all.nl 2004-25-07 06:54 -------
Exactly what other keys can you enter besides the numerical ones?
I'm running the example with the latest CVS version of wine, but I can't seem to
reproduce the problem.
--
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=2339
------- Additional Comments From jonathan(a)ernstfamily.ch 2004-25-07 02:42 -------
Here is the answer from the author; I splitted his answer in two part and put the
other part in bug 2338.
To see the original answer with correct indentation, please read here:
http://forum.digital-digest.com/showthread.php?s=&postid=183082#post183082
--------------------
I attached some code snippets, if you need more information, feel free to
contact me directly: dvdshrink "at" dvdshrink.info
The browse for folder dialog uses some kind of callback, I forget for what
purpose exactly, but I attached the code also.
/ **************************************************
***************************
SelectFolderDlg
**************************************************
***************************/
#ifndef BIF_NEWDIALOGSTYLE
#define BIF_NEWDIALOGSTYLE 0x0040
#endif
#ifndef BIF_USENEWUI
#define BIF_USENEWUI 0x0050
#endif
// browser callback: when initialized, set the initial selection
// to the specified buffer
int CALLBACK _SHBrowseForFolderCallbackProc(
HWND hwnd,
UINT uMsg,
LPARAM lParam,
LPARAM lpData)
{
if (uMsg == BFFM_INITIALIZED)
{
LPCTSTR szpath = (LPCTSTR) lpData;
if (szpath)
{
if (_tcslen(szpath))
{
SendMessage(hwnd, BFFM_SETSELECTION, TRUE, lpData);
}
}
}
return 0;
}
bool SelectFolderDlg(HWND hwnd,
LPCTSTR sztitle,
CString& szfolder, bool bAllowNew)
{
// get malloc interface for piddles
IMalloc * pmalloc = NULL;
if (FAILED(SHGetMalloc(&pmalloc)))
return false;
// get root folder
LPITEMIDLIST pidl = NULL;
SHGetSpecialFolderLocation(NULL, CSIDL_DESKTOP, &pidl);
// do browse
TCHAR szpath[MAX_PATH] = {0};
BROWSEINFO sInfo = {0};
sInfo.lpszTitle = sztitle;
sInfo.pidlRoot = pidl;
sInfo.ulFlags = BIF_RETURNONLYFSDIRS | BIF_VALIDATE;
sInfo.lpfn = _SHBrowseForFolderCallbackProc;
sInfo.hwndOwner = hwnd;
sInfo.lParam = (LPARAM)(LPCTSTR)(szfolder);
if (bAllowNew)
sInfo.ulFlags |= BIF_EDITBOX | BIF_NEWDIALOGSTYLE | BIF_USENEWUI;
LPITEMIDLIST pid2;
pid2 = SHBrowseForFolder(&sInfo);
pmalloc->Free(pidl);
// if we have a folder
bool bok = false;
if (pid2)
{
if (SUCCEEDED(SHGetPathFromIDList(pid2, szpath)))
{
bok = true;
szfolder = szpath;
}
pmalloc->Free(pid2);
}
// free piddles
pmalloc->Release();
// ok!
return bok;
}
--
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=2338
------- Additional Comments From jonathan(a)ernstfamily.ch 2004-25-07 02:40 -------
Here is the answer form the author; I splitted his answr in two part and put the
other part in bug 2339.
To see the original answer with correct indentation, please read here:
http://forum.digital-digest.com/showthread.php?s=&postid=183082#post183082
--------------------
SC_GET_DISK_INFO is sent once for each device during ASPI initialization, while
searching for the CDROM device which matches the drive specified.
I attached some code snippets, if you need more information, feel free to
contact me directly: dvdshrink "at" dvdshrink.info
uint32 CDvdCSS::ScanASPIDevices(int ndrive, int nadapters)
{
ASSERT(m_haspi);
ASSERT(m_psend);
// scan each device adapter and lun until we find the one for our
// drive...
for (int i = 0; i < nadapters; i++)
{
for (int j = 0; j < 15; j++)
{
struct SRB_GetDiskInfo srbdisk = {0};
srbdisk.SRB_Cmd = SC_GET_DISK_INFO;
srbdisk.SRB_HaId = (uchar) i;
srbdisk.SRB_Target = (uchar) j;
m_psend((SRB_ExecSCSICmd *) &srbdisk);
// make sure we have a cdrom device!
if (srbdisk.SRB_Status == SS_COMP &&
srbdisk.SRB_Int13HDriveInfo == ndrive)
{
struct SRB_GetDEVBlock srbdev = {0};
srbdev.SRB_Cmd = SC_GET_DEV_TYPE;
srbdev.SRB_HaId = (uchar) i;
srbdev.SRB_Target = (uchar) j;
m_psend((SRB_ExecSCSICmd *) &srbdev);
if (srbdev.SRB_Status == SS_COMP &&
srbdev.SRB_DeviceType == DTYPE_CDROM)
{
return MAKEWORD(i, j);
}
}
}
}
// oops!
ASSERT(0);
throw new CError(ERROR_ASPI_FAILED);
}
--
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=2287
m.d.nagy(a)worldnet.att.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|20040615 |20040716
------- Additional Comments From m.d.nagy(a)worldnet.att.net 2004-24-07 22:39 -------
I just saw the error again using wine-20040716-1fc2winehq.athlon.rpm from
Sourceforge (again using FC2, with the latest updates).
--
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=2366
julliard(a)winehq.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|julliard(a)winehq.com |wine-bugs(a)winehq.org
------- Additional Comments From julliard(a)winehq.com 2004-24-07 22:11 -------
It's the new memory reservation code, we will need someone who runs NetBSD to
investigate how this can be made to work on NetBSD and fix it.
--
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.
You are on the CC list for the bug, or are watching someone who is.
http://bugs.winehq.org/show_bug.cgi?id=2326
------- Additional Comments From spam(a)phatcom.net 2004-24-07 19:28 -------
the source does not have the same problem as the binaries, but ie6setup.exe
gives an error at approx the same place (the display still reads 72% down, but
who knows what it is actually doing). It said could not read WINDOWS.HLP. I
clicked ok and it it kept going, unlike with the binaries. Oh well, if someone
will contribute a RPM spec file, I will make a new rpm.
--
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=11
------- Additional Comments From fgouget(a)codeweavers.com 2004-24-07 17:33 -------
Just retested in today's CVS (20040725) and the bug is still there.
--
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=2227
------- Additional Comments From marcus(a)jet.franken.de 2004-24-07 17:23 -------
try 20040716 please, it has some fixes for this problem
--
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=2205
marcus(a)jet.franken.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From marcus(a)jet.franken.de 2004-24-07 17:22 -------
submitter no longer remembers -> close
open a new bug against latest release if it happens again
--
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=2068
------- Additional Comments From marcus(a)jet.franken.de 2004-24-07 17:18 -------
please try with 20040716 release. iot has lots of installshield fixes.
--
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.