font issues
Hi, what i find rather confusing in current wine , is that it only tries to use the fonts in ~/.wine/drive_c/windows/fonts. Lets say i'm a new user and i want to try out wine. I create a new directory ~/.wine and i try to install for example Guitar pro demo: http://213.246.36.227/download/GP4DEMO_EN.EXE After install i try the program but it doesn't run (there's a bug) So i want to change settings via winecfg. I end up with the following screen: (see attachment) This is because Guitar Pro places some weird font in ~/.wine/drive_c/windows/fonts. Of course can remove the font again or copy other fonts to ~/.wine/drive_c/windows/fonts but this is beyond the knowledge of new wine users i guess. Is there a simple way to avoid these kinds of issues? ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
Re: winamp and OleMainThreadWindow
Hi, whenever i run winamp i get an "extra" window like in attached screenshot (in the upper left corner): http://uk.f257.mail.yahoo.com/ym/ShowLetter/Untitled.jpg?viewimg=1&box=Inbox&MsgId=8406_5641744_357203_1322_61137_0_2958_82368_3272969419&bodyPart=2&filename=Untitled.jpg&tnef=&YY=45250&order=down&sort=date&pos=0&view=a&head=b&Idx=0 Further investigation shows it's this window: trace:win:WIN_CreateWindowEx "OleMainThreadWndName" "OleMainThreadWndClass 0x### # " ex= style=8800 -2147483648,-2147483648 -2147483648x-21474836 48 parent=(nil) menu=(nil) inst=0x65f0 params=(nil) trace:win:dump_window_styles style: WS_POPUP WS_DISABLED trace:win:dump_window_styles exstyle: trace:win:WIN_CreateWindowEx winproc type is 2 (WIN_PROC_32A) trace:win:WIN_SetWindowLong 0x10022 -12 0 3 trace:win:WIN_CreateWindowEx created window 0x10022 Googling shows it's a kind of hidden window but somehow in wine it gets displayed. Anyone knows why it is displayed and how to get rid of the window, as in windows it is not shown.. Send instant messages to your online friends http://uk.messenger.yahoo.com
Re:VfwCapture question (and attached a v4l2 patch for msn 6.2 webcam - Attempt 1)
Hi, looking at the screenshot this looks quite promising i must say! Although i do not use this app personally i think this is, like office and directx games (for which development unfortunately seems to have stopped :( ), one of them "killer applications" meaning widely used and very popular and the main reason why people stick to windows. So if if you could get this to work flawlessy it could boost wine usage quite a bit i think. You should really try to get this into cvs and keep up the good work! Regards Send instant messages to your online friends http://uk.messenger.yahoo.com
Re:Tooltips in own windows
hmm, not quite sure if that's correct what i just wrote. I just investigated this with winamp. Now i use this config file: WINE REGISTRY Version 2 [x11drv] ;"Managed" = "N" "UseTakeFocus" = "Y" # [/wineconf] Now i see the tooltip problem. When i uncomment the "Managed" line problem is still there. if i use WINE REGISTRY Version 2 [x11drv] "Managed" = "N" "UseTakeFocus" = "N" # [/wineconf] the tooltip problem is gone! Maybe it could help you to fix the problem, but at this moment i wouldn't have an idea how :) --- luis lenders <[EMAIL PROTECTED]> wrote: > Don't know if this is of any help to you but i > noticed > this problem too using some apps and it dissapears , > if i remember correctly, using native comctl32. So > you > might run the apps using WINEDEBUG=+comctl32 to > track > down the problem. Regards > > > > > > > > > > > I just wanted to make sure folks were aware of a > tooltip regression, > since I don't think I have seen mention of it here. > It > is easily seen in > any Control Spy, but effects other apps (though not > all, curiously). It > manifests itself as a complete window border around > tooltips. I have not > tracked down where the regression occured, but could > do so if no one > else was looking at this. > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > Send instant messages to your online friends http://uk.messenger.yahoo.com
Re:Tooltips in own windows
Don't know if this is of any help to you but i noticed this problem too using some apps and it dissapears , if i remember correctly, using native comctl32. So you might run the apps using WINEDEBUG=+comctl32 to track down the problem. Regards I just wanted to make sure folks were aware of a tooltip regression, since I don't think I have seen mention of it here. It is easily seen in any Control Spy, but effects other apps (though not all, curiously). It manifests itself as a complete window border around tooltips. I have not tracked down where the regression occured, but could do so if no one else was looking at this. Send instant messages to your online friends http://uk.messenger.yahoo.com
How to implement a callback function
Hi , i would like to implement this function: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_cappreview.asp Here fpProc is a pointer to the preview callback function Applications use this to get access to the videodata. Right now i already have a preview window. If i'm correct it is similar to this function:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_capvideostreamcallback.asp Here the structure LPVIDEOHDR lpVHdr contains the information about the videodata. My question is how all of this could be implemented; right now i have : case WM_CAP_SET_CALLBACK_FRAME: LPVIDEOHDR lpVideoHdr; //defined in vfw.h typedef LRESULT (CALLBACK * CAPVIDEOCALLBACK)(HWND hwnd, LPVIDEOHDR lpVideoHdr); CAPVIDEOCALLBACK *framecallback = (CAPVIDEOCALLBACK *)lParam; {so what goes here? } return TRUE; break; So how could i pass the data in lpVideoHdr to the application? Any help appreciated as i'm still quite a beginner in this :) Regards Send instant messages to your online friends http://uk.messenger.yahoo.com
Preview-window works in Virtualdub,Paltalk etc.
Hi, don't know if it's of much use for anyone, but i can now view the images from my webcam in the preview window in programs like Virtualdub, Paltalk and WebCamnow. Basically the attached "patch" reads a RGB-image from my video4linux device and "turns" this into a bitmap, which is then displayed. The device must be able to "read RGB's". In case you would like to try, replace dlls/avicap32 with the attached one, and replace include/vfw.h with the attached vfw.h. I'm skilled enough to turn this into a real patch, maybe someone with more programming capabilities could give it try. Regards Luis Send instant messages to your online friends http://uk.messenger.yahoo.com avicap.tar.gz Description: avicap.tar.gz vfw.h.gz Description: vfw.h.gz
Re:avicap32 patch
Hi That patch won't work. You forgot to include the changes in the headers in vfw.h I've sent you, e.g. #define WM_CAP_STARTWM_USER #define WM_CAP_UNICODE_START(WM_USER +100) #define WM_CAP_DRIVER_CONNECT (WM_CAP_START+ 10) #define WM_CAP_DRIVER_DISCONNECT(WM_CAP_START+ 11) etcera and the macros #define capDriverConnect(hwnd, index) SendMessage((hwnd), WM_CAP_DRIVER_CONNECT, (index, 0)) etcetera etcetera furthermore all the v4l stuff has to go into a seperate driver file i think, as wine is also supposed to run on non-Linux distributions. this line in avicap_main : window = CreateWindowExW etc. and the registering of the window contains a lot of crap; i just copied it from a site somewhere on the internet. It was just to get a handle to the window Somehow the dwstyle has to get passed on, and few other things. Futhermore: no need to link to -lpng -ljpeg and -lnetpbm; they're not needed anymore in the code i've sent you. Better think, get more info and be more carefull before you send in a patch i think. Anyway, i smashed together some code with which i can grab an image from my cam, and save it as a DIB (capFileSaveDIB). also i wrote something for cappreview, which looks as if it would be easy to get it running. if someone's interested i could send you the code. Now my question is: maybe one of the developers could just help/hint/write the Capcreatecapturewindow part (that seems to me a very little job), then anyone who wants could try to write a macro; just a thought of me, any thoughts from someone else? Regards Send instant messages to your online friends http://uk.messenger.yahoo.com
Re: Regression in "DeusEx"
Hello again, > The patch: > http://www.winehq.org/hypermail/wine-cvs/2004/10/0395.html > > Log message: >Get rid of the WIN_NEEDS_BEGINPAINT flag, Windows will happily loop >forever too if WM_PAINT is not handled properly. > > Causes regression in the game "DeusEx". > The game was playable before of the patch, now it freezes > in the 2th title screen. The same patch causes regression in the game "Trickstyle". The same problems, it was playable, and now it freezes in the 2th title screen. Regards, Carlos. The aforementioned patch also screws up foobar2000. See http://appdb.winehq.org/appview.php?versionId=2355 , last comment. Maybe someone could have a look at it because it affects, as it appears, quite some apps. Regards ___ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
Re: Regression in "DeusEx"
It also causes a regression in foobar2000, see last comment on http://appdb.winehq.org/appview.php?versionId=2355 Hello again, > The patch: > http://www.winehq.org/hypermail/wine-cvs/2004/10/0395.html > > Log message: >Get rid of the WIN_NEEDS_BEGINPAINT flag, Windows will happily loop >forever too if WM_PAINT is not handled properly. > > Causes regression in the game "DeusEx". > The game was playable before of the patch, now it freezes > in the 2th title screen. The same patch causes regression in the game "Trickstyle". The same problems, it was playable, and now it freezes in the 2th title screen. Regards, Carlos. ___ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
Regression in "DeusEx"
Hi, this patch also breaks foobar2000, see http://appdb.winehq.org/appview.php?versionId=2355 last comment Hello again, > The patch: > http://www.winehq.org/hypermail/wine-cvs/2004/10/0395.html > > Log message: >Get rid of the WIN_NEEDS_BEGINPAINT flag, Windows will happily loop >forever too if WM_PAINT is not handled properly. > > Causes regression in the game "DeusEx". > The game was playable before of the patch, now it freezes > in the 2th title screen. The same patch causes regression in the game "Trickstyle". The same problems, it was playable, and now it freezes in the 2th title screen. Regards, Carlos. ___ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
Re: video4linux - wine
MediaHost (TM) wrote: >> However, is there any development going on concerning v4l and/or USB? >> Actually it's a pity, that I couldn't realize this projectwe would >> have been willing to invest in such code >I'm not sure what the capabilities of video4linux are, >which devices it >supports or how its API works. I know it supports at >least some USB webcams. Actually video4linux has quite some capabilities, a program like xawtv for example can even grab a movie from your tv-tuner card. >> As we can access /dev/usb/lpt or /dev/dsp, it should >>be possible to access /dev/videoI'm not familiar >>in implementing such stuff at wine, but? Altough I'm a programming noob i tried a few weeks ago to write some code to accomplish this with (not much) but still a little succes: i used code from a program like vidcat to read a frame from my v4l device (in png format), used code from another program (png2bmp) to turn it into a bitmap, and used CreateWindowEx to display this in a windowsprogram under wine. Although the window with the frame from my webcam showed up , the windowsprogram did not behave further as it should do. There is plenty of code to be found on the internet using the v4l api, but the problem how to get this in wine. Maybe someone has some further hints? Regards luis ___ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
Could someone look at this simple code and explain why it doesnt work?
Hi, i found this very simple app which just pops up a window: #include LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { switch (msg) { case WM_DESTROY: PostQuitMessage(0); return 0; default: return DefWindowProc(hwnd, msg, wparam, lparam); } } int WINAPI WinMain(HINSTANCE instance, HINSTANCE prev, LPSTR cmdLine, int cmdShow) { WNDCLASSEX class; MSG msg; HWND window; /* this stuff is just boilerplate */ memset(&class, 0, sizeof(WNDCLASSEX)); class.cbSize = sizeof(WNDCLASSEX); class.hInstance = instance; class.lpszClassName = "MainWnd"; class.lpfnWndProc = WndProc; class.hbrBackground = (HBRUSH) COLOR_WINDOW + 1; if (!RegisterClassEx(&class)) { MessageBox(NULL, "Could not register window class", "", MB_OK | MB_ICONERROR); return 1; } window = CreateWindowEx(0, "MainWnd", "Main Window", WS_OVERLAPPEDWINDOW & ~WS_MAXIMIZEBOX, CW_USEDEFAULT, CW_USEDEFAULT, 200, 150, NULL, NULL, instance, NULL); ShowWindow(window, cmdShow); /* Every thread that creates a window must pump the message loop */ while (GetMessage(&msg, NULL, 0, 0)) { TranslateMessage(&msg); DispatchMessage(&msg); } return 0; } Now i tried to implement this in a dll (avicap32.dll) in capCreatecapturewindow like this: /*** * capCreateCaptureWindowW (AVICAP32.@) */ HWND VFWAPI capCreateCaptureWindowW(LPCWSTR lpszWindowName, DWORD dwStyle, INT x, INT y, INT nWidth, INT nHeight, HWND hWnd, INT nID) { HWND ret; HINSTANCE dummy; LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { switch (msg) { case WM_DESTROY: PostQuitMessage(0); return 0; default: return DefWindowProcW(hwnd, msg, wparam, lparam); } } int WINAPI Try(HINSTANCE instance, HINSTANCE prev, LPSTR cmdLine, int cmdShow) { WNDCLASSEXW class; MSG msg; HWND window; /* this stuff is just boilerplate */ memset(&class, 0, sizeof(WNDCLASSEXW)); class.cbSize = sizeof(WNDCLASSEXW); class.hInstance = instance; dummy=instance; class.lpszClassName = "MainWnd"; class.lpfnWndProc = WndProc; class.hbrBackground = (HBRUSH) COLOR_WINDOW + 1; if (!RegisterClassExW(&class)) { MessageBoxW(NULL, "Could not register window class", "", MB_OK | MB_ICONERROR); return 1; } window = CreateWindowExW(0, "MainWnd", "Main Window", WS_OVERLAPPEDWINDOW & ~WS_MAXIMIZEBOX, CW_USEDEFAULT, CW_USEDEFAULT, 200, 150, NULL, NULL, instance, NULL); ret=window; ShowWindow(window, cmdShow); /* Every thread that creates a window must pump the message loop */ while (GetMessageW(&msg, NULL, 0, 0)) { TranslateMessage(&msg); DispatchMessageW(&msg);} return 0; } Try(dummy,NULL,NULL,0); return ret; } Now when capcreatecapturewindow is called no window shows up at all. What did i do wrong? Greetings Robbert : ___ Moving house? Beach bar in Thailand? New Wardrobe? Win £10k with Yahoo! Mail to make your dream a reality. Get Yahoo! Mail www.yahoo.co.uk/10k