WinCE

Discuss Windows Phone 7, 8, 10, Windows CE, .Net and Windows Mobile.
Post Reply
ProMiNick
Posts: 39
Joined: Thu Nov 14, 2019 9:36 am

WinCE

Post by ProMiNick »

Hello all.
Does anybody know how to enable internet connection in microsoft device emulator (wince 5.0/6.0 for ARMv4s).
or how to run these binaries on other emulator so way thet network driver would be emulated.
Or I need special *.bin with drivers inside compatibable with microsoft device emulator network driver.
Sorry, but I can`t refer to single person by You. My soul & spirit require acronim thou instead.

Beta12
User avatar
Posts: 271
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: WinCE

Post by Beta12 »

Which emulator?

ProMiNick
Posts: 39
Joined: Thu Nov 14, 2019 9:36 am

Re: WinCE

Post by ProMiNick »

Microsoft® Device Emulator 9.0.21022.8

I write for it(WinCEs) couple of programs in assembly
ImageImage
1st one has only close button & named WinCE program template, 2nd one is set of LASTERR.EXE & ERRORMSG.DLL - I checking opportunity of writing GUI & DLLs.
I willing to write some progs that will use network adapter (and of course to check that I wrote them correctly), but by default it is not emulated. So problem of absence of network support in current WinCE5.bin & WinCE6.bin or in emulator itself or it could be seted up in any way to allow internet connection (but I don`t know how make such setup).

Or may be so: "Is here a kind person happy owner of real device with WinCE that could test WinCE apps (apps could be harmful for device, but I`ll try to test in emulator that they at least not hung OS)?"
Sorry, but I can`t refer to single person by You. My soul & spirit require acronim thou instead.

Beta12
User avatar
Posts: 271
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: WinCE

Post by Beta12 »

What host operating system?

ProMiNick
Posts: 39
Joined: Thu Nov 14, 2019 9:36 am

Re: WinCE

Post by ProMiNick »

WinXP64SP2,

by the way beta12 how to get ftp access. I need it only for one file. Or my posts are interests and someone afraid I will escape forum at moment when I got what I need.
Sorry, but I can`t refer to single person by You. My soul & spirit require acronim thou instead.

Beta12
User avatar
Posts: 271
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: WinCE

Post by Beta12 »

Install MS VPC 2007 x64 for the network to work: MS VPC 2007 SP1

ProMiNick
Posts: 39
Joined: Thu Nov 14, 2019 9:36 am

Re: WinCE

Post by ProMiNick »

not installed VPC 2007
Image

My OS api slightly differs from what installer expects:
imports
SHLWAPI.dll hint:0072 name:PathRemoveFileSpecW
in my OS SHLWAPI.dll hint:02A1 name:PathRemoveFileSpecW, by hint:0072 located other unnamed exported procedure


SHELL32.dll hint:0007 name:CommandLineToArgvW
in my OS SHELL32.dll hint:006B name:CommandLineToArgvW, by hint:0007 located other unnamed exported procedure


msi.dll by ordinals 71 & 46 - both present in msi.dll in my OS


KERNEL32.dll
hint:0114 name:GetCommandLineW - match
hint:00E9 name:FindResourceW - match
hint:0253 name:LoadResource - match
hint:006C name:CreateProcessW - match
hint:03AA name:WriteFile - mismatch hint:03AC name:WriteFile
hint:035C name:Sleep - mismatch hint:035E name:Sleep
hint:035B name:SizeofResource - mismatch hint:035B name:SizeofResource
hint:01EC name:GetVersionExW
hint:015D name:GetExitCodeProcess
hint:0164 name:GetFileAttributesW
hint:0059 name:CreateFileW
hint:01D8 name:GetTempPathW
hint:0173 name:GetLastError
hint:0201 name:GlobalFree
hint:0261 name:LockResource
hint:0036 name:CloseHandle
hint:0321 name:SetFileAttributesW
hint:00FB name:FreeLibrary
hint:01E6 name:GetUserDefaultLangID
hint:0251 name:LoadLibraryW
hint:01A2 name:GetProcAddress
hint:0051 name:CreateDirectoryW
hint:03A9 name:WriteConsoleW
hint:0138 name:GetConsoleOutputCP
hint:039F name:WriteConsoleA
hint:00F1 name:FlushFileBuffers
hint:0218 name:HeapFree
hint:0212 name:HeapAlloc
hint:0364 name:TerminateProcess
hint:0145 name:GetCurrentProcess
hint:0374 name:UnhandledExceptionFilter
hint:0350 name:SetUnhandledExceptionFilter
hint:0235 name:IsDebuggerPresent
hint:02D0 name:RtlCaptureContext
hint:01EB name:GetVersionExA
hint:01A5 name:GetProcessHeap
hint:01BA name:GetStartupInfoW
hint:02DE name:RtlVirtualUnwind
hint:02D7 name:RtlLookupFunctionEntry
hint:021D name:HeapSetInformation
hint:0214 name:HeapCreate
hint:0181 name:GetModuleHandleA
hint:00BC name:ExitProcess
hint:01BB name:GetStdHandle
hint:017F name:GetModuleFileNameA
hint:00EE name:FlsGetValue
hint:00EF name:FlsSetValue
hint:036A name:TlsFree
hint:00ED name:FlsFree
hint:032E name:SetLastError
hint:0149 name:GetCurrentThreadId
hint:00EC name:FlsAlloc
hint:021E name:HeapSize
hint:02DD name:RtlUnwindEx
hint:02A3 name:RaiseException
hint:02D9 name:RtlPcToFileHeader
hint:0107 name:GetCPInfo
hint:0100 name:GetACP
hint:0195 name:GetOEMCP
hint:0180 name:GetModuleFileNameW
hint:00F9 name:FreeEnvironmentStringsA
hint:0271 name:MultiByteToWideChar
hint:0158 name:GetEnvironmentStrings
hint:00FA name:FreeEnvironmentStringsW
hint:015A name:GetEnvironmentStringsW
hint:0113 name:GetCommandLineA
hint:032A name:SetHandleCount
hint:0169 name:GetFileType
hint:01B9 name:GetStartupInfoA
hint:0084 name:DeleteCriticalSection
hint:029F name:QueryPerformanceCounter
hint:01E1 name:GetTickCount
hint:0146 name:GetCurrentProcessId
hint:01CC name:GetSystemTimeAsFileTime
hint:024D name:LeaveCriticalSection
hint:009B name:EnterCriticalSection
hint:024E name:LoadLibraryA
hint:0225 name:InitializeCriticalSection
hint:021C name:HeapReAlloc
hint:039A name:WideCharToMultiByte
hint:0240 name:LCMapStringA
hint:0241 name:LCMapStringW
hint:01BC name:GetStringTypeA
hint:01BF name:GetStringTypeW
hint:0176 name:GetLocaleInfoA
hint:02B1 name:ReadFile
hint:0322 name:SetFilePointer
hint:033D name:SetStdHandle
hint:0125 name:GetConsoleCP
hint:0136 name:GetConsoleMode
hint:0056 name:CreateFileA
should I patch hints for setup.exe - or this won`t help?
Sorry, but I can`t refer to single person by You. My soul & spirit require acronim thou instead.

Lucas Brooks
Posts: 773
Joined: Sat Oct 20, 2018 11:37 am
Contact:

Re: WinCE

Post by Lucas Brooks »

You trying to install Microsoft Virtual PC 2007 SP1 on Windows XP Professional x64 Edition? Read the requirements, there is no Windows XP Professional x64 Edition which means it is not supported. Even if you patch it and you get past the installation, other things might be incompatible.

Microsoft Virtual PC 2007 (no SP1) does support Windows XP Professional x64 Edition so try that.

Beta12
User avatar
Posts: 271
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: WinCE

Post by Beta12 »

ComputerHunter wrote:You trying to install Microsoft Virtual PC 2007 SP1 on Windows XP Professional x64 Edition? Read the requirements, there is no Windows XP Professional x64 Edition which means it is not supported. Even if you patch it and you get past the installation, other things might be incompatible.
Bla, bla, bla - don't write stupid things :x :x . I use MS VPC 2007 SP1 on WinXP SP2 x64 on a daily basis and it works very well.

@ProMiNick - You have something wrong on your system or you are not using WinXP SP2 x64. Go to My Computer -> Help -> About Windows and attach screenshot. You are definitely using the version 5.2.3790 ???:
Image

Image

ProMiNick
Posts: 39
Joined: Thu Nov 14, 2019 9:36 am

Re: WinCE

Post by ProMiNick »

ImageImage

beta12, if thou use VPC 2007 on some previos build
I guess patching hints can realy fix problem: it is unlikely that since the previous build, the functionality would have been cut off, but that it expanded can be seen in the example kernel32.dll all imports above $03xx are two position greater then required.

I even can zeroed hints in imports - that will made much work to sysloader - couple of miliseconds before app start, but setup would became more compatibable.
Sorry, but I can`t refer to single person by You. My soul & spirit require acronim thou instead.

Beta12
User avatar
Posts: 271
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: WinCE

Post by Beta12 »

Code: Select all

qfe.120821-0338
What is the Windows version ??? Where did you get this version from?

I have the MSDN version:
en_win_xp_pro_x64_with_sp2_vl_x13-41611.iso and MS VPC 2007 SP1 works 100% on this version.

ProMiNick
Posts: 39
Joined: Thu Nov 14, 2019 9:36 am

Re: WinCE

Post by ProMiNick »

What is the Windows version ??? Where did you get this version from?
I don`t remember... It is my main home OS for a long long time. I prefer do not touch thing that work.)
Sorry, but I can`t refer to single person by You. My soul & spirit require acronim thou instead.

ProMiNick
Posts: 39
Joined: Thu Nov 14, 2019 9:36 am

Re: WinCE

Post by ProMiNick »

I patched hints - doesn`t helps.
I gues it required other msi (winXP got it 3.x version usualy)
but mine msi is 4.5Image from 2012 year
Sorry, but I can`t refer to single person by You. My soul & spirit require acronim thou instead.

vlad557776
Posts: 209
Joined: Sun Apr 28, 2019 10:11 am

Re: WinCE

Post by vlad557776 »

After searching a bit. looks like QFE is a synonym for a hotfix. The QFE version of Windows XP was mostly distributed through OEMs. Maybe that's something preinstalled with the PC?
The developer of Win1 Packet - https://www.betaarchive.com/forum/viewt ... 59&t=40233
The developer of IM1024 INSTALL.BAT Patch: https://www.betaarchive.com/forum/viewt ... 59&t=40317

Beta12
User avatar
Posts: 271
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: WinCE

Post by Beta12 »

Please take a screenshot of Add or Remove Programs with the Show updates option selected (scroll down).

After installing the update KB2724197 in the system information I have now 120821-0338 and gdr instead of qfe
Regardless of this MS VPC 2007 SP1 can still be installed without a problem:
Image
@ProMiNick - You have something wrong on your system.

The Windows Installer version is the default 3.1.4000.3959

ProMiNick
Posts: 39
Joined: Thu Nov 14, 2019 9:36 am

Re: WinCE

Post by ProMiNick »

Image
Sorry, but I can`t refer to single person by You. My soul & spirit require acronim thou instead.

Lucas Brooks
Posts: 773
Joined: Sat Oct 20, 2018 11:37 am
Contact:

Re: WinCE

Post by Lucas Brooks »

Read the supported OS on the official site. I am not being stpid, Microsoft did not say it is compatible with Windows XP Professional x64 Edition but did say VPC 2007 SP0 is compatible.

Beta12
User avatar
Posts: 271
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: WinCE

Post by Beta12 »

@ProMiNick
What is post-SP2 Update Pack ???
ComputerHunter wrote:Read the supported OS on the official site. I am not being stpid, Microsoft did not say it is compatible with Windows XP Professional x64 Edition but did say VPC 2007 SP0 is compatible.
MS wrote:
System requirements

Supported operating systems: Windows Server 2003 x64 editions
Win2003 x64 = WinXP x64 so since it works on 2003 x64 it must work on WinXP x64. I think MS just missed the WinXP x64 entry. Note that updates for these systems are common, e.g.:
WindowsServer2003.WindowsXP-KB955704-x64-ENU.exe
WindowsServer2003.WindowsXP-KB926139-v2-x64-ENU.exe
WindowsServer2003.WindowsXP-KB948963-x64-ENU.exe

Anyway - I've been using MS VPC 2007 SP1 for many years on WinXP SP2 x64 and it works very, very well. I assure you that on a freshly installed system without any updates, MS VPC 2007 SP1 works without a problem.

Of course, the network works in the emulator Microsoft® Device Emulator 9.0.21022.8:
Image
Last edited by Beta12 on Sat Jan 11, 2020 11:19 am, edited 1 time in total.

Lucas Brooks
Posts: 773
Joined: Sat Oct 20, 2018 11:37 am
Contact:

Re: WinCE

Post by Lucas Brooks »

Why don't you just install Microsoft Virtual PC 2007 SP0? Does SP0 not provide network features? Microsoft said SP0 does support Windows XP Professional x64 Edition SP2 so isn't it better?

Beta12
User avatar
Posts: 271
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: WinCE

Post by Beta12 »

ComputerHunter wrote:Why don't you just install Microsoft Virtual PC 2007 SP0? Does SP0 not provide network features? Microsoft said SP0 does support Windows XP Professional x64 Edition SP2 so isn't it better?
No - SP1 support new Host and Guest operating systems. There is also an update that improves network performance and adds support for higher resolutions, e.g. FullHD - of course it also works on WinXP SP2 x64:
64bit_KB958162.msp

Meow
Posts: 480
Joined: Mon Feb 03, 2020 5:28 am
Location: Earth

Re: WinCE

Post by Meow »

ProMiNick wrote:
Fri Jan 10, 2020 12:51 am
how to get ftp access. I need it only for one file.
Offtopic Comment
You have to share something we don’t have in the ftp. There is a database viewer so you can see what we do have. Oh and if you have a better dump of something that works too.

ProMiNick
Posts: 39
Joined: Thu Nov 14, 2019 9:36 am

Re: WinCE

Post by ProMiNick »

Meow? thanks but I already understand that needed to code beta version of something.
I have couple of ideas of realy exclusive things:
or heptovigesimal editor,
or documentation database in mysql for documenting structs, functions, interfaces where data represented in compact way
any of them as helpers to me. but I ready to close sources for them for a year. so betaarchive would be single owner of sources when this ideas was in beta stage dated previously then all future things with similar functional.
I don`t asking ftp access anymore. When I code something interesting I will back to asking.
Sorry, but I can`t refer to single person by You. My soul & spirit require acronim thou instead.

kupodev
Posts: 14
Joined: Thu Jul 08, 2021 12:30 pm

Re: WinCE

Post by kupodev »

Beta12 wrote:
Fri Jan 10, 2020 1:14 am
Install MS VPC 2007 x64 for the network to work: MS VPC 2007 SP1
VPC doesn't work on Win10 I believe

Post Reply