Captain'Flam

1

votes
0

answer
52

views

c++ / Visual Studio 2010 / add just-constructed-element to list

I'm on a big C++/stl mystery with Visual Studio 2010 : I push back an object to a list, and when I access to it, I get partially un-initialized data. Here is a very minimalist sample of code that produce this behavior : #include #include #include using namespace std ; struct Foo { Foo ( int x , i...
Captain'Flam
1

votes
0

answer
66

views

Client authentication (certificat + private key) using WinHttp

I'm trying to communicate in https with a server using the Win32 API. Here is a very minimalist code : HINTERNET ses = WinHttpOpen(L'test',WINHTTP_ACCESS_TYPE_DEFAULT_PROXY,WINHTTP_NO_PROXY_NAME,WINHTTP_NO_PROXY_BYPASS,0 ) ; HINTERNET con = WinHttpConnect(ses,L'stackoverflow.com',INTERNET_DEFAULT_HT...
Captain'Flam
1

votes
0

answer
33

views

Client authentication (certificate + private key) using WinInet

I'm trying to communicate in https with a server using WinInet (from the Win32 API). Here is a very minimalist code : HINTERNET ses = InternetOpenA('test',INTERNET_OPEN_TYPE_DIRECT,NULL,NULL,0) ; HINTERNET con = InternetConnectA(ses,'stackoverflow.com',INTERNET_DEFAULT_HTTPS_PORT,NULL,NULL,INTERNET_...
Captain'Flam