Howdy. I'm a newbie to wine, got its latest version compiled and set on redhat 8. I have a source for a program written with VC++ that uses windows threads, eventobjects and sockets. I would like to run this program on linux using wine. Program consists of several .c and .h files. One of the .c files has the main() method. The program is console-based - does not use MFCs. What I did is I used winemaker to parse the program source code, generate config and makefiles. I made sure to use flags such as --nomfc --console I edited the Makefile to make sure when linking, proper dlls are attached (ws2_32 msvcrt). Program compiles fine; generates all the object files and the wine exec (progname.exe.so); I get some warnings about poitner casting, etc. Now the hard part, when I try to run the program (by executing the ./progname shell script that invokes wine + executable), the wine tells me it 'Could not load graphics driver 'x11drv' and then simply hangs occupying 99% of the CPU time. Now, I tried to use debug +all and got a lot of text printing out, same stuff over and over (some sort of a loop). I also wrote a tiny helloworld program using VC++ and did not have trouble compiling/running it under wine (winemaker + configure + make), it also complained about the x11drv driver, but then it ran. However, in that case, there was only 1 source file. I was also wondering how to tell wine which file the main resides in and how to compile on wine the windows source without shared libs (compile the dll functions into the executable). I would appreciate any input, the program I'm trying to run is complex in the algorithmic sense, it does not use registries or mfcs; it uses windows sockets and threads. At this point, I am not sure whether the problem is somewhere in my program or with the wine setup or perhaps the way I get it compiled. Any help to get it running I would appreciate a lot :) Regards ... Jarek Myszewski University at Buffalo
>I have a source for a program written with VC++ that uses windows threads, >eventobjects and sockets. I would like to run this program on linux using >wine.I can't help you with compiling. But to find out if wine fully supports your app you can take the Windows-compiled exe and start it in wine. If this works then you know that the problem is the compiling/linking. If this doesn't work you probably should first fix these errors in wine before continuing. Otherwise you will never know if an error is from wine or compiling or your app or... bye Fabi
I'm a newbie to Wine and am having trouble getting anything to work. I have a Windoze partition /mnt/hda1 and can get to it via terminal window. When I cd to /mnt/hda1/"Program Files"/"Internet Explorer" and then run ./iexplore.exe, this is what I get... [Wayne-KDE@crtntx1-ar6-4-64-084-166 Internet Explorer]$ ./iexplore.exe fixme:cdrom:CDROM_GetIdeInterface CD-ROM device with major ID 11 not supported err:font:AddFontFileToList Unable to load font file "/mnt/hda1/windows/fonts/desktop.ini" err = 55 err:font:AddFontFileToList Unable to load font file "/mnt/hda1/windows/fonts/modern.fon" err = 2 fixme:shell:SHLWAPI_241 ()stub fixme:shell:SHLWAPI_437 (0x00000012)stub fixme:shell:SHLWAPI_376 () stub fixme:process:CreateProcessA (C:\Program Files\Internet Explorer\dw15.exe,...): NORMAL_PRIORITY_CLASS ignored fixme:process:CreateProcessA (C:\Program Files\Internet Explorer\dw15.exe,...): CREATE_DEFAULT_ERROR_MODE ignored FIXME:pthread_cond_init fixme:cdrom:CDROM_GetIdeInterface CD-ROM device with major ID 11 not supported err:font:AddFontFileToList Unable to load font file "/mnt/hda1/windows/fonts/desktop.ini" err = 55 err:font:AddFontFileToList Unable to load font file "/mnt/hda1/windows/fonts/modern.fon" err = 2 fixme:win32:PE_CreateModule Security directory ignored fixme:wininet:InternetGetConnectedState always returning LAN connection. fixme:string:GetStringTypeW CT_CTYPE3 not supported. fixme:string:GetStringTypeW CT_CTYPE3 not supported. I was having trouble with the temp directory, but changed the config file to temp = /tmp and eliminated that error. Was this a bad idea? Any help would be appreciated. I hate IE, but some sites require it. TIA, Wayne