Re: ssl win library and sspi example compiling questions

From: Dan Griffin (dangriff_at_online.microsoft.com)
Date: 12/19/03


Date: Fri, 19 Dec 2003 14:49:51 -0800

Dmitriy, have you tried building the sample directly from the command-line,
using the build environment included with the Platform SDK? As long as
Visual Studio hasn't modified any of your environment variables, that
*should* work and would be a good place to start.

-- 
Dan Griffin [MS]
Please do not send email directly to this alias.  This alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Dmitriy" <dmitriy-nospam-at-enkoo.com> wrote in message
news:OLkx$hlxDHA.2448@TK2MSFTNGP12.phx.gbl...
> 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

  • Platform SDK for Visual Studio 2005
    ... I am currently migrating my Visual C++ 6.0 applications to Visual Studio ... I am getting compiler errors involving the VS2005's platform SDK. ... Defaulting to 0x0502 (Windows Server 2003) ...
    (microsoft.public.dotnet.languages.vc)
  • Re: GetExtendedTcpTable not available
    ... I'm running XP Pro SP2 using Visual Studio .net 2003 Visual C++ with ... Platform SDK Win2003 SP1. ... Program compiles and links fine when using a func like GetTcpTable, ... I have tried dynamically linking ...
    (microsoft.public.win32.programmer.networks)
  • Re: First time Visual C++ 2005 Express Edition help!
    ... not a library file. ... your issue is that Visual C++ 2005 Express Edition does not ship ... Download the latest Platform SDK from Microsoft. ... for Visual Studio to allow it to search in the folders that have ...
    (microsoft.public.vsnet.general)
  • Re: Visual C++ Upgrades
    ... Visual Studio" start menu item under the Platform SDK Visual Studio ... upgrade to a newer version of Visual C++ to get those as Carl mentioned. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: side-by_side error on Vista
    ... Platform SDK Jan 2006 ... I'm compiling an application on an XP machine and testing it on Vista. ... I tried just copying the newer DLLs to the app's startup directory, ... look in the directory where Visual Studio is installed for the file redist.txt which will tell you what files you are allowed to redistribute with your application. ...
    (microsoft.public.win32.programmer.ui)