ssl win library and sspi example compiling questions

From: Dmitriy (dmitriy-nospam-at-enkoo.com)
Date: 12/19/03


Date: Fri, 19 Dec 2003 09:53:56 -0800

Hi,
I have two questions,

I need to convert a windows program to use SSL to speak to a remote (unix)
server. I've looked on the web and the only library that seems to be
correct to use is the sspi (and the included security) package. Is this
right?
Including 3rd party packages such as openssl is not an option.

I have downloaded the new version of platform sdk from
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

and got the examples from
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/using_sspi_with_a_windows_sockets_client.asp

I made a project for the server and for the client, made sure that the paths
(include and lib) point to the platform SDK folder before pointing to the VC
folder, and now I get the following:

Compiling...
Client.cpp
c:\program files\microsoft sdk\include\rpcdce.h(1475) : error C2143: syntax
error : missing ')' before 'string'
c:\program files\microsoft sdk\include\rpcdce.h(1475) : error C2143: syntax
error : missing ';' before 'string'
c:\program files\microsoft sdk\include\rpcdce.h(1475) : fatal error C1004:
unexpected end of file found
Error executing cl.exe.

Any ideas?

I am using visual studio 6 by the way.

Thank you!

Dmitriy



Relevant Pages

  • Re: parsing IMAP responses?
    ... > they're just whatever string the server sent (or in some cases ... You've got to parse them using the IMAP ... > syntax before you can do much with them. ... Are you trying to write an IMAP server? ...
    (comp.lang.python)
  • Re: optional / Type.Missing
    ... Missing m = Missing.Value; ... VbLib.IoServer server = new VbLib.IoServer; ... paras.DefaultValue as string, true); ... Dipl.Inf. Frank Dzaebel ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: ErrorMessage when file is missing
    ... > I get this error when file is missing. ... > Change form string to type Long is not legal. ... The Dirfunction returns a string and the syntax you used ...
    (microsoft.public.dotnet.languages.vb)
  • RE: Add a server to SBS R2 using ConnectComputer
    ... server in the SBS network, ... Let's try following steps to see if we can add the computer to SBS network ... Microsoft Online Newsgroup Support ... It looks like from a previous thread I may be missing some. ...
    (microsoft.public.windows.server.sbs)
  • SQL Connection Problem
    ... An error has occurred while establishing a connection to the server. ... database location within the applications App_Data directory. ... Boolean& failoverDemandDone, String host, String failoverPartner, String ... user, String password, Boolean trusted, String connectionString) +68 ...
    (microsoft.public.dotnet.framework.aspnet)