RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-09-17 Thread Kees Dekker
#2194] Unwanted dependencies to user32.dll -Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org] Sent: Monday, April 12, 2010 12:08 To: Kees Dekker Cc: openssl-dev@openssl.org Subject: Re: [openssl.org #2194] Unwanted dependencies to user32.dll May

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-09-16 Thread Kees Dekker via RT
#2194] Unwanted dependencies to user32.dll -Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org] Sent: Monday, April 12, 2010 12:08 To: Kees Dekker Cc: openssl-dev@openssl.org Subject: Re: [openssl.org #2194] Unwanted dependencies to user32.dll May

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-09-16 Thread Erik Tkal
, September 16, 2010 8:46 AM Cc: openssl-dev@openssl.org Subject: RE: [openssl.org #2194] Unwanted dependencies to user32.dll Just one idea, which popped up today. What about of using UuidCreate() function, see: http://msdn.microsoft.com/en-us/library/aa379205(VS.85).aspx In our case, our software runs

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-04-12 Thread Kees Dekker via RT
-Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org] Sent: Saturday, April 10, 2010 23:33 To: Kees Dekker Cc: openssl-dev@openssl.org Subject: Re: [openssl.org #2194] Unwanted dependencies to user32.dll I agree that OPENSSL_isservice() cannot be changed

Re: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-04-12 Thread Andy Polyakov via RT
May be there is another method to check wether a windows process is a service, without using user32.dll. As mentioned one can do it with Native NT API, but it's quite special and belongs rather in [your] application than in openssl. Yes and no. As soon as there is any openSSL code, using

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-04-12 Thread Kees Dekker via RT
-Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org] Sent: Monday, April 12, 2010 12:08 To: Kees Dekker Cc: openssl-dev@openssl.org Subject: Re: [openssl.org #2194] Unwanted dependencies to user32.dll May be there is another method to check wether a windows

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-04-12 Thread Kees Dekker
-Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org] Sent: Saturday, April 10, 2010 23:33 To: Kees Dekker Cc: openssl-dev@openssl.org Subject: Re: [openssl.org #2194] Unwanted dependencies to user32.dll I agree that OPENSSL_isservice() cannot be changed

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-04-12 Thread Kees Dekker
-Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org] Sent: Monday, April 12, 2010 12:08 To: Kees Dekker Cc: openssl-dev@openssl.org Subject: Re: [openssl.org #2194] Unwanted dependencies to user32.dll May be there is another method to check wether a windows

Re: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-04-10 Thread Andy Polyakov via RT
I agree that OPENSSL_isservice() cannot be changed, ??? My suggestion for *you* was to modify it to unconditionally return 1... Our application can both run in foreground and in service context. So simply changing to return 1 is not possible. If changing to return 1 is not acceptable, how

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-24 Thread Kees Dekker via RT
-Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org] Sent: Monday, March 22, 2010 22:48 To: Kees Dekker Cc: openssl-dev@openssl.org Subject: Re: [openssl.org #2194] Unwanted dependencies to user32.dll I agree that OPENSSL_isservice() cannot be changed

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-24 Thread Kees Dekker
-Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org] Sent: Monday, March 22, 2010 22:48 To: Kees Dekker Cc: openssl-dev@openssl.org Subject: Re: [openssl.org #2194] Unwanted dependencies to user32.dll I agree that OPENSSL_isservice() cannot be changed

Re: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-22 Thread Andy Polyakov via RT
I agree that OPENSSL_isservice() cannot be changed, ??? My suggestion for *you* was to modify it to unconditionally return 1... Our application can both run in foreground and in service context. So simply changing to return 1 is not possible. If changing to return 1 is not acceptable, how

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-20 Thread Kees Dekker
I agree that OPENSSL_isservice() cannot be changed, ??? My suggestion for *you* was to modify it to unconditionally return 1... Our application can both run in foreground and in service context. So simply changing to return 1 is not possible. May be there is another method to check

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-19 Thread Kees Dekker via RT
I agree that OPENSSL_isservice() cannot be changed, ??? My suggestion for *you* was to modify it to unconditionally return 1... Our application can both run in foreground and in service context. So simply changing to return 1 is not possible. May be there is another method to check

Re: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-18 Thread Andy Polyakov via RT
I agree that OPENSSL_isservice() cannot be changed, ??? My suggestion for *you* was to modify it to unconditionally return 1... but you can decide to log an event always. ... so that messages will be forced to event log. So all if (OPENSSL_isservice()) can be removed. Or change it to a

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-17 Thread Kees Dekker
-Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org] Sent: Tuesday, March 16, 2010 22:23 To: Kees Dekker Cc: openssl-dev@openssl.org Subject: Re: [openssl.org #2194] Unwanted dependencies to user32.dll When building openSSL on Windows with: * CONFIG

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-17 Thread Kees Dekker via RT
-Original Message- From: Kees Dekker Sent: Tuesday, March 16, 2010 22:53 To: 'r...@openssl.org' Cc: openssl-dev@openssl.org Subject: RE: [openssl.org #2194] Unwanted dependencies to user32.dll -Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-17 Thread Kees Dekker
-Original Message- From: Kees Dekker Sent: Tuesday, March 16, 2010 22:53 To: 'r...@openssl.org' Cc: openssl-dev@openssl.org Subject: RE: [openssl.org #2194] Unwanted dependencies to user32.dll -Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org

Re: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-16 Thread Yang Tse
2010/3/16, Kees Dekker via RT wrote: * I saw a lot of NT4 code. It may be worth to consider that Windows 2000 is not supported by Microsoft anymore for many years (see http://support.microsoft.com/lifecycle/?p1=3071). You may like to drop some ancient Windows flavors? It will save code

Re: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-16 Thread Andy Polyakov via RT
When building openSSL on Windows with: * CONFIG=VC-WIN64A or CONFIG=VC-WIN32 * no-shared no-threads -DWINVER==0x0501 -D_CRT_NON_CONFORMING_SWPRINTFS * With Visual Studio 2005 I get dependencies to user32.dll, when using libeay32.lib, e.g: 2libeay32.lib(rand_win.obj) :

RE: [openssl.org #2194] Unwanted dependencies to user32.dll

2010-03-16 Thread Kees Dekker via RT
-Original Message- From: Andy Polyakov via RT [mailto:r...@openssl.org] Sent: Tuesday, March 16, 2010 22:23 To: Kees Dekker Cc: openssl-dev@openssl.org Subject: Re: [openssl.org #2194] Unwanted dependencies to user32.dll When building openSSL on Windows with: * CONFIG