comctl32.dll compile on WinXP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Wine,
 
I made two changes (wine 10.07.2002.) in your wine software
 
First:
controls/edit.c
If you select a text area width mouse, then caret is not moved (like Windows).
The follow code solution the problem:
 
end of EDIT_WM_MouseMove():
 EDIT_SetCaretPos(hwnd,es,es->selection_end,es->flags & EF_AFTER_WRAP);
 return 0;
}
 

Second:
How can I build comctl32.dll (or other dll) with MS Visual C++ .NET (on WinXP)?
This is not problem (tested on WinXP):
 
1. please create a directory (examlpe test1)
2. please create an INCLUDE directory (examlpe test1\INCLUDE)
3. please copy the full wine include files here (test1\inlude\*.*)
3. unzip the full.zip into test1 directory (this changes more include files)
4. Open width MS Visual C++ .net the test1\dlls\testcomctl32\testcomctl32.sln file
5. Compile project (F7). No panic, if you see very lot of warning (1679 pc.). (if not success the compile, then  maybe problem width include files)
 
But I have a big problem, if I use the testcomctl32.dll from Windows aplication, then RegisterClass function fail width 1410 error code (Class already exists), therefore I renamed the name of classes (ex. msctls_progress32 -> wine_msctls_progress32).
 
I made two examle, how to use the testcomctl32.dll?
In the BIN directory can be found the TESTCOM.EXE (this use the WINE comctl32.dll) and TESTCOMWINDOWS.EXE (use the MS comctl32.dll).
 
 
 
Best Regards,
 
Zoltan Nagy
form Hungary
 
nagyzoli@netelek.hu

Attachment: FULL.ZIP
Description: Zip compressed data


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux