<div dir="ltr"><div><div>Hello,<br><br></div>I have some winCE apps they would like to run on Android. Since WINE for Android will not be out for several months I thought I would investigate how to get applications running under the winece that is currently available. I successfully installed it on a pandaboard and the demo applications that come with the install work (e.g. clock.exe). I downloaded what I thought was a typical application that did not have any additional dlls (putty.exe) but it immediately returns with:<br>
<br>wine: Invalid address<br><br></div><div>I am a fairly competent c programmer but I was hoping I could get some pointers on where to get started since there is a lot of codebase to wade through. <br><br></div><div>If you think it cannot be done by a newbie please don't hesitate to say so :)<br>
</div><div><br></div><div>Thanks!<br><br></div><div>= Mark<br></div><div>-----------------------<br><br></div><div>Here is the results from windump putty.exe<br><br>File Header<br>� Machine:��������������������� 01C0 (ARM)<br>
� Number of Sections:���������� 5<br>� TimeDateStamp:��������������� 45E5F329 (Wed Feb 28 15:24:57 2007) offset 216<br>� PointerToSymbolTable:�������� 00000000<br>� NumberOfSymbols:������������� 00000000<br>� SizeOfOptionalHeader:�������� 00E0<br>
� Characteristics:������������� 010F<br>��� RELOCS_STRIPPED<br>��� EXECUTABLE_IMAGE<br>��� LINE_NUMS_STRIPPED<br>��� LOCAL_SYMS_STRIPPED<br>��� 32BIT_MACHINE<br><br>Optional Header (32bit)<br>� Magic����������������������������� 0x10B��������� 267<br>
� linker version�������������������� 6.24<br>� size of code���������������������� 0x53c00������� 343040<br>� size of initialized data���������� 0x1f200������� 127488<br>� size of uninitialized data�������� 0x0����������� 0<br>
� entrypoint RVA�������������������� 0x5499c������� 346524<br>� base of code���������������������� 0x1000�������� 4096<br>� base of data���������������������� 0x55000������� 348160<br>� image base������������������������ 0x10000������� 65536<br>
� section align��������������������� 0x1000�������� 4096<br>� file align������������������������ 0x200��������� 512<br>� required OS version��������������� 4.00<br>� image version��������������������� 0.00<br>� subsystem version����������������� 4.20<br>
� Win32 Version��������������������� 0x0����������� 0<br>� size of image��������������������� 0x75000������� 479232<br>� size of headers������������������� 0x400��������� 1024<br>� checksum�������������������������� 0x0����������� 0<br>
� Subsystem������������������������� 0x9 (Windows CE GUI)<br>� DLL characteristics:�������������� 0x0<br>� stack reserve size���������������� 0x10000������� 65536<br>� stack commit size����������������� 0x1000�������� 4096<br>
� heap reserve size����������������� 0x100000������ 1048576<br>� heap commit size������������������ 0x1000�������� 4096<br>� loader flags���������������������� 0x0����������� 0<br>� RVAs & sizes���������������������� 0x10���������� 16<br>
<br>Data Directory<br>� EXPORT������ rva: 0x0�������� size: 0x0������ <br>� IMPORT������ rva: 0x62258���� size: 0x28����� <br>� RESOURCE���� rva: 0x73000���� size: 0x1f4c��� <br>� EXCEPTION��� rva: 0x71000���� size: 0x1e90��� <br>
� SECURITY���� rva: 0x0�������� size: 0x0������ <br>� BASERELOC��� rva: 0x0�������� size: 0x0������ <br>� DEBUG������� rva: 0x0�������� size: 0x0������ <br>� ARCHITECTURE rva: 0x0�������� size: 0x0������ <br>� GLOBALPTR��� rva: 0x0�������� size: 0x0������ <br>
� TLS��������� rva: 0x0�������� size: 0x0������ <br>� LOAD_CONFIG� rva: 0x0�������� size: 0x0������ <br>� Bound IAT��� rva: 0x0�������� size: 0x0������ <br>� IAT��������� rva: 0x63000���� size: 0x368���� <br>� Delay IAT��� rva: 0x0�������� size: 0x0������ <br>
� CLR Header�� rva: 0x0�������� size: 0x0������ <br>�������������� rva: 0x0�������� size: 0x0������ <br>-----------------<br><br></div><div>Here is the last several lines from setting WINDEDEBUG=+all<br>0030: open_key( parent=0010, access=000f003f, attributes=00000000, name=L"Software\\Wine\\DllOverrides" )<br>
0030: open_key() = OBJECT_NAME_NOT_FOUND { hkey=0000 }<br>0030: close_handle( handle=0010 )<br>0030: close_handle() = 0<br>0030: get_handle_fd( handle=000c )<br>0030: *fd* 000c -> 21<br>0030: get_handle_fd() = 0 { type=1, cacheable=1, access=00120089, options=00000000 }<br>
0030: create_mapping( access=000f0005, attributes=00000000, protect=00000145, size=00000000, file_handle=000c, objattr={rootdir=0000,sd={},name=L""} )<br>0030: create_mapping() = 0 { handle=0010 }<br>0030: get_mapping_info( handle=0010, access=00000004 )<br>
0030: get_mapping_info() = 0 { size=00075000, protect=325, header_size=1024, base=00010000, mapping=0014, shared_file=0000 }<br>0030: get_handle_fd( handle=0010 )<br>0030: *fd* 0010 -> 22<br>0030: get_handle_fd() = 0 { type=1, cacheable=1, access=000f0005, options=00000020 }<br>
0030: close_handle( handle=0014 )<br>0030: close_handle() = 0<br>0030: close_handle( handle=0010 )<br>0030: close_handle() = 0<br>0030: close_handle( handle=000c )<br>0030: close_handle() = 0<br>0030: terminate_process( handle=0000, exit_code=487 )<br>
0030: terminate_process() = 0 { self=1 }<br>0030: terminate_process( handle=ffffffff, exit_code=487 )<br>0030: terminate_process() = 0 { self=1 }<br>0030: *killed* exit_code=487<br>002f: *process killed*<br><br></div><div>
<br><br><br></div></div>