What version of Visual Studio do you use? Lets see. First create a batch file (buildOpenSSL.bat) Add the following lines
setlocal call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" > nul: set PATH=%PATH%; nmake -f ms\ntdll.mak nmake -f ms\ntdll.mak test nmake -f ms\ntdll.mak install Put the batch file under \\0.9.8e\openssl-0.9.8e. Then run the batch file (double click will also do). Try it out --Amit -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gary clark Sent: Friday, June 01, 2007 12:18 PM To: openssl-users@openssl.org Subject: RE: openssl clients for windows Thanks Amit. I have never built the openssl libraries in visual studio. I built it for windows machine but never use Visual Studio to build the libraries. Using openssl-0.9.8e. > cd /d C:\build\openssl-0.9.8e > perl Configure enable-camellia --openssldir=C:/www/openssl VC-WIN32 > nmake -f ms|ntdll.mak >nmake -f ms\ntdll.mak test > nmake -f ms\ntdll.mak install How do you build these libs using visual studio? Thanks, Garyc --- Amit Hakoo <[EMAIL PROTECTED]> wrote: > Hi Gary, > > Did you build the openssl dlls yourself or you got > them pre-built? > > I had exactly the same problem. I just built the > openssl dlls using > visualstudio 2003 and it all worked fine (my app was > also built using > VS2003). > > Please also send information about what dlls > SSLEAY32.DLL depends on. > You can find that information via the Dependency > walker UI > > --Amit > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of gary clark > Sent: Friday, June 01, 2007 11:52 AM > To: openssl-users@openssl.org > Subject: RE: openssl clients for windows > > Hello, > > I changed my codeGeneration for the console > application to be /MT. It appears to be the only way > I > can at least run the application. I then profile the > application using dependency walker. > > I see : > > Loaded "C:\windows\system32\SSLEAY32.DLL" at address > 0x10000000by thread 1. Successfully hooked module. > LDR:LdrpWalkImportDescriptor() failed to probe > C:\WINDOWS\system32\ssleay32.dll for > manifest,ntStatus > 0xc0150002 > Unloaded "C:\windows\system32\SSLEAY32.dll at > address > 0x10000000 by thread 1. > LoadLibraryW("ssleay32.dll" returned NULL by thread > 1. > Error This application failed to start because the > apllication configuration is incorrect. > > The same happenned for the libeay32.dll. > > Can somebody explain what is happenning? > > Thanks, > Garyc > --- gary clark <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > I ran the dependency walker and performed a > profile. > > > > The see the error Message > > > > "Failure to starting the process. The application > > has > > failed to start because the application > > configuration > > is incorrect" > > > > Whats interesting I dont see the ssleay.dll or > > libeay32.dll? > > Am I suppose to? I wanted to load these > dynamically? > > Can they be loaded dynamically using LoadLibrary? > > > > When I run it on the installed openSSL machine no > > problem. > > > > Thanks, > > Garyc > > > > --- Amit Hakoo <[EMAIL PROTECTED]> wrote: > > > > > Hi Gary, > > > > > > I had a similar problem not a long time ago. My > > > application was built > > > using Visual Studio 2003. I got the pre-built > > > openssl dlls when I > > > installed openssl for windows (got it from the > > > recommended site posted > > > on OpenSSL website). Running the application on > > some > > > machines worked > > > fine but on others it could not launch the > > > application. I ran the > > > dependency walker and figured it was something > > with > > > the way the dlls > > > were built (maybe built using VisualStudio > 2005). > > > They were depending on > > > MSVCR80.dll. I then manually built it using > Visual > > > studio 2003 and all > > > worked fine. > > > > > > Just my findings > > > > > > --Amit > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On > Behalf > > > Of Simon Edwards > > > Sent: Friday, June 01, 2007 9:14 AM > > > To: openssl-users@openssl.org > > > Subject: RE: openssl clients for windows > > > > > > Hi Gary, > > > > > > I've seen this message when a dependent library > is > > > missing. Try using > > > dumpbin or depends from the platform SDK on the > > > affected system. Between > > > them they should tell you which libraries are > > > missing. > > > > > > Hmm, you don't say where you got the binaries > > from: > > > If its from the > > > current binary distribution you may well be > > missing > > > MSVCR71.dll which is > > > a Microsoft redistributable library and is not > > > included in the package. > > > > > > You can get MSVCR71.dll easily enough if you > have > > a > > > copy of .NET 1.1 > > > installed somewhere, as it gets installed > > alongside > > > the .NET > > > installation. Although, again, its not on the > > system > > > path and will > > > initially give you the same load error. So go > hunt > > > for it on your system > > > drive, and stick a copy of it somewhere on the > > path. > > > > > > > > > Regards, > > > > > > Simon Edwards > > > Communications Software Development > > > Micro Focus > > > > > > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On > Behalf > > > Of gary clark > > > Sent: 01 June 2007 13:55 > > > To: openssl-users@openssl.org > > > Subject: Re: openssl clients for windows > > > > > > Hey Joe, > > > > > > Never heard of it before. Will give it a try. > > > > > > Much appreciated, > > > Garyc > > > --- Joe Flowers <[EMAIL PROTECTED]> > > > wrote: > > > > > > > Gary, > > > > > > > > Have you tried running your application in a > > > Dependency Walker > > > > profile? > > > > http://support.microsoft.com/kb/256872 > > > > > > > > Joe > > > > > > > > > > > > gary clark wrote: > > > > > Hey Victor, > > > > > > > > > > Thanks for the response. I dont think its an > > > > attribute > > > > > issue of dlls or files. I checked and they > > seem > === message truncated === ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]