0

Hi,

I have created a windows service in Visual studio 2005 C++, which will encrypt a file and send it to a server using socket.

For this I am using OpenSSL, I am running in to following issues

1) I could not find the library method of OpenSSL which can be invoked to do the encryption, so I used System( ) to execute the command line OpenSSL
2) this works well in console application, but when I convert the application to windows service, System( ) is not executing
following gives me

_get_errno(&err);

'9' as the error.

Can someone suggest a way of executing OpenSSL using System( ) or even better the lib call for OpenSSL

Thanks in advance.
Vikas

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by vikaschndr
0

Thanks Ancient Dragon

That was the problem, installed it from Admin a/c and worked just fine.

Thanks a lot :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.