From: "dave" Date: Wed, 27 May 2009 07:41:21 -0500 Message-ID: <6577A8C6073C4955870B08F7CB09B9FD@...576...> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0022_01C9DE9E.87DDD130" In-Reply-To: <2ece24860905270336r54fb6cb9hfa1578e611d97fb3@...278...> Subject: Re: [Openvpn-devel] CE port needed DLLs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'jonathan openvpn' , openvpn-devel@lists.sourceforge.net This is a multi-part message in MIME format. ------=_NextPart_000_0022_01C9DE9E.87DDD130 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit That message usually means the binary is hosed, and I believe missing dlls give a different message. Are you sure Thumb is correct for your platform? Are you using a consumer device like a pocket pc phone, etc, or is it a custom board? I ask that because the existing code does use some functionality peculiar to the pocket pc (phone) that is not generally available on other platforms, yet the SDKs ofen include the headers and import libs, allowing you to successfully compile, but then you can't run it on the target device. When you say 'client application' are you meaning just the gui, or the whole entire set of programs (i.e., the TAP driver, the openvpn executable, and the gui). You can use DUMPBIN to find the dlls from the exe, and also inspect the header to see the cpu configuration. Here is a short list, if it helps: openvpn: * coredll.dll * w2s.dll * iphlpapi.dll * wininet.dll * ole32.dll * cellcore.dll tap-ce: * ndis.dll * coredll.dll ovpncmgr: * iphlpapi.dll * toolhelp.dll * cellcore.dll * ole32.dll * mfcce300.dll * coredll.dll * winsock.dll Your build may (will) differ depending on your platform, because your platform builder may have put some of these features in different dlls. That list was for PocketPC. Now, the cellcore.dll, you may not have on other platforms. It is needed for supporting Windows Connectin Manager, and you can surgically cut out that functionality if your platform doesn't have it. Most of the rest is fairly standard. Before doing surgery, you may wish to re-check your assumptions. Also, if you wish to zip up your problem binaries and send them to me directly, I will do a quick inspection for you. -dave -----Original Message----- From: jonathan openvpn [mailto:jonathan.openvpn@...277...] Sent: Wednesday, May 27, 2009 5:36 AM To: openvpn-devel@lists.sourceforge.net Subject: [Openvpn-devel] CE port needed DLLs Hello. I'm triying to execute a Windows CE 5.0 porting of openvpn client application. I've been successful on compiling it but when i try to execute i receive the message: "openvpn is not a valid WindowsCE application". I am compiling to ARM-Thumb architecture. I suspect there is a problem with needed DLLs. Could anyone tell me wich DLLs are needed and where could i get them? Thank you very much. ------=_NextPart_000_0022_01C9DE9E.87DDD130 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
That=20 message usually means the binary is hosed, and I believe missing dlls give = a=20 different message.
Are=20 you sure Thumb is correct for your platform?  Are you using a consumer= =20 device like a pocket pc phone, etc, or is it a custom board?<= /DIV>
 
I ask=20 that because the existing code does use some functionality peculiar to the= =20 pocket pc (phone) that is not generally available on other platforms, yet t= he=20 SDKs ofen include the headers and import libs, allowing you to successfully= =20 compile, but then you can't run it on the target device.
 
When=20 you say 'client application' are you meaning just the gui, or the whole ent= ire=20 set of programs (i.e., the TAP driver, the openvpn executable, and the=20 gui).
 
You=20 can use DUMPBIN to find the dlls from the exe, and also inspect the header = to=20 see the cpu configuration.  Here is a short list, if it=20 helps:
 
openvpn:
*  coredll.dll
*  w2s.dll
*  iphlpapi.dll
*  wininet.dll
*  ole32.dll
*  cellcore.dll
 
tap-ce:
*  ndis.dll
*  coredll.dll
 
ovpncmgr:
*  iphlpapi.dll
*  toolhelp.dll
*  cellcore.dll
*  ole32.dll
*  mfcce300.dll
*  coredll.dll
*  winsock.dll
 
Your build may (will) differ depending on your=20 platform, because your platform builder may have put some of these features= in=20 different dlls.  That list was for PocketPC.
 
Now, the cellcore.dll, you may not have on other= =20 platforms.  It is needed for supporting Windows Connectin Manager, and= you=20 can surgically cut out that functionality if your platform doesn't have=20 it.  Most of the rest is fairly standard.
 
Before doing surgery, you may wish to re-check y= our=20 assumptions.  Also, if you wish to zip up your problem binaries and se= nd=20 them to me directly, I will do a quick inspection for=20 you.
 
-dave
-----Original Message-----
From: jonatha= n openvpn=20 [mailto:jonathan.openvpn@...277...]
Sent: Wednesday, May 27, 2= 009=20 5:36 AM
To: openvpn-devel@lists.sourceforge.net
Subject:<= /B>=20 [Openvpn-devel] CE port needed DLLs

Hello.

I'm= =20 triying to execute a Windows CE 5.0 porting of openvpn client application= .=20 I've been successful on compiling it but when i try to execute i receive = the=20 message: "openvpn is not a valid WindowsCE application".

I am comp= iling=20 to ARM-Thumb architecture. I suspect there is a problem with needed=20 DLLs.

Could anyone tell me wich DLLs are needed and where could i = get=20 them?

Thank you very much.
------=_NextPart_000_0022_01C9DE9E.87DDD130--