http://bugs.winehq.org/show_bug.cgi?id=1236
Joshua Pedrick Joshua.Pedrick@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Joshua.Pedrick@gmail.com
--- Comment #9 from Joshua Pedrick Joshua.Pedrick@gmail.com 2008-04-07 12:53:07 --- Hi, I'm trying to get into wine development and this bug looked like a good start. I had no trouble compiling wine. I'm having some trouble getting the test case to run. Maybe this isn't the right place to post, but the answer might be helpful for others trying to fix this who are new to wine. I can also compile combotest.exe, but I get the following error when I try to run it with wine: ../wine ./combotest wine: could not load L"H:\wine\rtl_combo_test\combotest.": Bad EXE format for fixme:advapi:RegisterEventSourceA ((null),"MDM"): stub fixme:advapi:RegisterEventSourceW (L"",L"MDM"): stub fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0xc0001002,(nil),0x0000,0x00000000,(nil),0x7e0c39d0): stub fixme:advapi:DeregisterEventSource (0xcafe4242) stub
I use the following commands to build and link: gcc -m32 -I ../include -c combotest.c gcc -m32 -o combotest combotest.o ../libs/wine/libwine.so.1.0 ../dlls/ole32/ole32.dll.so ../dlls/comdlg32/comdlg32.dll.so ../dlls/user32/user32.dll.so ../dlls/winecrt0/libwinecrt0.a ../dlls/kernel32/kernel32.dll.so
I built wine using Fedora Core 8 x86_64, basic ./configure && make depend && make everything was compiled with the -m32 flag
I also tried to compile this using MSVC and was unable to because "WNDCLASSEX wc;" is somehow illegal.