PocketPC Port Question

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

PocketPC Port Question

OpenSSLGRT

Hi --

 

Thanks for info.

I do not think I can use lib.exe with the supplied dlls to produce the libs I need.

 

I think I am missing something here that maybe, if you would, you could help me understand:

 

-I download Portable OpenSSL 0.9.8a from http://karajan.it.uc3m.es/~pervasive/wce_lite_compat/

-It gives me the OpenSSL dlls (libeay32.dll and ssleay32.dll) and I can run the any of the .exe samples that come with the download on my PocketPC so I know it works.

-I want to write a simple TLS client for PocketPC in eVC

-I did do a simple TLS client for Windows desktop OpenSSL so I just want to convert that to eVC (so code is same and I just need to build in eVC with correct OpenSSL libs).

-In my desktop version I linked with libeay32.lib and ssleay32.lib -***Problem is Portable OpenSSL 0.9.8a does not have the .libs for eVC version (only the .dlls!) and I do not think I can make them from the dlls.

 

Does anyone have example project or info for doing an eVC simple test using Portable OpenSSL 0.9.8a and/or the .lib files for Portable OpenSSL 0.9.8a?

 

Thanks for any help.

 

 

-----Original Message-----

From: owner-[hidden email] [[hidden email]] On Behalf Of Thomas J. Hruska

Sent: Saturday, January 28, 2006 12:24 PM

To: [hidden email]

Subject: Re: PocketPC Port Question

 

OpenSSLGRT wrote:

> Thank you for sending the headers. I still have problem that if I use

> libeay32.dll and ssleay32.dll from the download at karajan.it.uc3m.es

> and to link they say they are corrupt?

>

> C:\OPENSSLPDA\OPENSSL\OPENSSL\libeay32.dll : fatal error LNK1136:

> invalid or corrupt file

>

>

> You said: “we are preparing a version that uses full Win32 API” – will

> that work for PocketPC – if so great.

>

>

> Thank you for your time and help!

 

You don't link against DLLs.  You link against .LIB files.  IIRC, the

LIB.exe tool that comes with VC++ can extract the exports located inside

DLLs and generate a .LIB file.  However, I don't remember how to do

that...it has been a while.

 

--

Thomas Hruska

Shining Light Productions

 

Home of BMP2AVI, Nuclear Vision, ProtoNova, and Win32 OpenSSL. http://www.slproweb.com/

 

Ask me about discounts on any Shining Light Productions product!

 

______________________________________________________________________

OpenSSL Project                                 http://www.openssl.org

User Support Mailing List                    [hidden email]

Automated List Manager                           [hidden email]

 

 

Reply | Threaded
Open this post in threaded view
|

RE: PocketPC Port Question

Daniel Diaz Sanchez-2

Hello,

 

I have sent the lib files to  OpenSSLGRT. Although the libraries, applications and libs can be built from the code that can be downloaded, tomorrow I will include a link in the page for both headers and libs.

 

B.R.

 

Daniel Díaz

 


De: owner-[hidden email] [mailto:owner-[hidden email]] En nombre de OpenSSLGRT
Enviado el: domingo, 29 de enero de 2006 23:18
Para: [hidden email]
Asunto: PocketPC Port Question

 

Hi --

 

Thanks for info.

I do not think I can use lib.exe with the supplied dlls to produce the libs I need.

 

I think I am missing something here that maybe, if you would, you could help me understand:

 

-I download Portable OpenSSL 0.9.8a from http://karajan.it.uc3m.es/~pervasive/wce_lite_compat/

-It gives me the OpenSSL dlls (libeay32.dll and ssleay32.dll) and I can run the any of the .exe samples that come with the download on my PocketPC so I know it works.

-I want to write a simple TLS client for PocketPC in eVC

-I did do a simple TLS client for Windows desktop OpenSSL so I just want to convert that to eVC (so code is same and I just need to build in eVC with correct OpenSSL libs).

-In my desktop version I linked with libeay32.lib and ssleay32.lib -***Problem is Portable OpenSSL 0.9.8a does not have the .libs for eVC version (only the .dlls!) and I do not think I can make them from the dlls.

 

Does anyone have example project or info for doing an eVC simple test using Portable OpenSSL 0.9.8a and/or the .lib files for Portable OpenSSL 0.9.8a?

 

Thanks for any help.

 

 

-----Original Message-----

From: owner-[hidden email] [[hidden email]] On Behalf Of Thomas J. Hruska

Sent: Saturday, January 28, 2006 12:24 PM

To: [hidden email]

Subject: Re: PocketPC Port Question

 

OpenSSLGRT wrote:

> Thank you for sending the headers. I still have problem that if I use

> libeay32.dll and ssleay32.dll from the download at karajan.it.uc3m.es

> and to link they say they are corrupt?

>

> C:\OPENSSLPDA\OPENSSL\OPENSSL\libeay32.dll : fatal error LNK1136:

> invalid or corrupt file

>

>

> You said: “we are preparing a version that uses full Win32 API” – will

> that work for PocketPC – if so great.

>

>

> Thank you for your time and help!

 

You don't link against DLLs.  You link against .LIB files.  IIRC, the

LIB.exe tool that comes with VC++ can extract the exports located inside

DLLs and generate a .LIB file.  However, I don't remember how to do

that...it has been a while.

 

--

Thomas Hruska

Shining Light Productions

 

Home of BMP2AVI, Nuclear Vision, ProtoNova, and Win32 OpenSSL. http://www.slproweb.com/

 

Ask me about discounts on any Shining Light Productions product!

 

______________________________________________________________________

OpenSSL Project                                 http://www.openssl.org

User Support Mailing List                    [hidden email]

Automated List Manager                           [hidden email]

 

 

Reply | Threaded
Open this post in threaded view
|

RE: PocketPC Port Question

OpenSSLGRT

Hi –

 

OK -- I was able to get it working with your info and help.

I really greatly appretiate that you went through all the trouble to make the Portable OpenSSL 0.9.8a and then to provide so much follow up help!

 

Thank you!

 

 

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Daniel Díaz Sánchez
Sent: Sunday, January 29, 2006 5:38 PM
To: [hidden email]
Subject: RE: PocketPC Port Question

 

Hello,

 

I have sent the lib files to  OpenSSLGRT. Although the libraries, applications and libs can be built from the code that can be downloaded, tomorrow I will include a link in the page for both headers and libs.

 

B.R.

 

Daniel Díaz

 


De: [hidden email] [mailto:[hidden email]] En nombre de OpenSSLGRT
Enviado el: domingo, 29 de enero de 2006 23:18
Para: [hidden email]
Asunto: PocketPC Port Question

 

Hi --

 

Thanks for info.

I do not think I can use lib.exe with the supplied dlls to produce the libs I need.

 

I think I am missing something here that maybe, if you would, you could help me understand:

 

-I download Portable OpenSSL 0.9.8a from http://karajan.it.uc3m.es/~pervasive/wce_lite_compat/

-It gives me the OpenSSL dlls (libeay32.dll and ssleay32.dll) and I can run the any of the .exe samples that come with the download on my PocketPC so I know it works.

-I want to write a simple TLS client for PocketPC in eVC

-I did do a simple TLS client for Windows desktop OpenSSL so I just want to convert that to eVC (so code is same and I just need to build in eVC with correct OpenSSL libs).

-In my desktop version I linked with libeay32.lib and ssleay32.lib -***Problem is Portable OpenSSL 0.9.8a does not have the .libs for eVC version (only the .dlls!) and I do not think I can make them from the dlls.

 

Does anyone have example project or info for doing an eVC simple test using Portable OpenSSL 0.9.8a and/or the .lib files for Portable OpenSSL 0.9.8a?

 

Thanks for any help.

 

 

-----Original Message-----

From: [hidden email] [[hidden email]] On Behalf Of Thomas J. Hruska

Sent: Saturday, January 28, 2006 12:24 PM

To: [hidden email]

Subject: Re: PocketPC Port Question

 

OpenSSLGRT wrote:

> Thank you for sending the headers. I still have problem that if I use

> libeay32.dll and ssleay32.dll from the download at karajan.it.uc3m.es

> and to link they say they are corrupt?

>

> C:\OPENSSLPDA\OPENSSL\OPENSSL\libeay32.dll : fatal error LNK1136:

> invalid or corrupt file

>

>

> You said: “we are preparing a version that uses full Win32 API” – will

> that work for PocketPC – if so great.

>

>

> Thank you for your time and help!

 

You don't link against DLLs.  You link against .LIB files.  IIRC, the

LIB.exe tool that comes with VC++ can extract the exports located inside

DLLs and generate a .LIB file.  However, I don't remember how to do

that...it has been a while.

 

--

Thomas Hruska

Shining Light Productions

 

Home of BMP2AVI, Nuclear Vision, ProtoNova, and Win32 OpenSSL. http://www.slproweb.com/

 

Ask me about discounts on any Shining Light Productions product!

 

______________________________________________________________________

OpenSSL Project                                 http://www.openssl.org

User Support Mailing List                    [hidden email]

Automated List Manager                           [hidden email]