Fonts

2003-11-21 Thread flyker
I try to find a good font for application. But all linux fonts looks not so good. The best font that I found is cronyx, but it is not support european code page. Does anybody know where I can find a font like cronyx ? Thanks.

How to speed up drawing controls ?

2003-11-20 Thread flyker
The drawing speed of window controls and windows is very slow under wine. I set option PerfectGraphics = Y but it is still slow. May be it is not so good optimised ? Is there other way to improve performance ? Thanks.

Redrawing windows

2003-11-20 Thread flyker
I made some experiments and I understand one thing. Exaple two windows /---\ | W1| |control1| | | | /\ \- | | |

Re: asm help

2003-11-12 Thread flyker
BOOL WINAPI _InitCommonControlsEx(WINGS_INITCOMMONCONTROLSEX* lpInitCtrls) { if(!dwLPA_InitCommonControlsEx) { return FALSE; } else { return dwLPA_InitCommonControlsEx(lpInitCtrls); } } The jmp is an optimization step, where the new function is called with the same

Re: fcvt

2003-11-12 Thread flyker
Uwe Bonnes wrote: flyker == flyker [EMAIL PROTECTED] writes: flyker Function fcvt incorrect. example: int dec, sign; printf(%s\n, flyker fcvt(1.12, 2, dec, sign)); flyker result: 1.12e+00 flyker but need: 112 In what way does that behaviour hurt you(r application

asm help

2003-11-11 Thread flyker
Can anybody help me write the function for Linux : __declspec(naked) BOOL WINAPI _InitCommonControlsEx(INITCOMMONCONTROLSEX* lpInitCtrls) { if(!dwLPA_InitCommonControlsEx) { __asm mov eax, 0 __asm ret 4 } else { __asm jmp dwLPA_InitCommonControlsEx } } May

Serious Bug

2003-10-29 Thread flyker
The simple test crashes wine. And i think many other commands in constructor A() may crash wine. test.cpp: #include windows.h #include stdio.h class A { public: A(); }; A::A() { LoadLibrary(user32.dll); // all ok user32.dll is present } A a; int WinMain(HINSTANCE hInst, HINSTANCE, LPSTR

Re: Serious Bug

2003-10-29 Thread flyker
Vincent BĂ©ron wrote: Huh? Works fine here cross-compiled with mingw. Even added 2 printf (one to the constructor, the other in WinMain), and the constructor one is called first (as it should be). Vincent RedHat 9.0, gcc and winelib. Of course constructor first.

Re: Serious Bug

2003-10-29 Thread flyker
Boaz Harrosh wrote: use --wrap in winemaker. Read about this option in the documentation Thanks. It is work :)

Segmentation fault

2003-10-28 Thread flyker
Under Windows my program exe file is about 6Mb. Under Linux and Wine it is about 50Mb (.so file). It is normal ? And Wine makes Segmentation fault on initialising global variables of my program. #1 0x40bb0116 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at

need some modifications in ras.h

2003-10-22 Thread flyker
Please add this code in ras.h Thanks. DECL_WINELIB_TYPE_AW(LPRASENTRY) /* Enumerates intermediate states to a connection. (See RasDial) */ #define RASCS_PAUSED 0x1000 #define RASCS_DONE 0x2000 typedef enum tagRASCONNSTATE { RASCS_OpenPort = 0, RASCS_PortOpened, RASCS_ConnectDevice,

How to run program without wine ?

2003-09-25 Thread flyker
Can i compile my program to executable file that can be run without wine ?