Header file update
-
i am programming a Socket with SSL .so i had to include header file for encrytion and SSL. #include <wincrypt.h> #include <wintrust.h> #include <Schnlsp.h> in stdafx.h even i mentioned #define _WIN32_WINNT 0x0500 in stdafx.so that crytoAPI can be used. when i compile i got errors.when i clicked on errors i found that number of member variables of some of the structures in these header files r different from those mentioned in msdn.even some structures which r mentioned in msdn r not present in header files. i want to know whether i have to update these header files.if it is then how thanx for any suggestion -- modified at 9:03 Friday 9th September, 2005
-
i am programming a Socket with SSL .so i had to include header file for encrytion and SSL. #include <wincrypt.h> #include <wintrust.h> #include <Schnlsp.h> in stdafx.h even i mentioned #define _WIN32_WINNT 0x0500 in stdafx.so that crytoAPI can be used. when i compile i got errors.when i clicked on errors i found that number of member variables of some of the structures in these header files r different from those mentioned in msdn.even some structures which r mentioned in msdn r not present in header files. i want to know whether i have to update these header files.if it is then how thanx for any suggestion -- modified at 9:03 Friday 9th September, 2005
You cant change headers provided. There is certain version mismatch
-
You cant change headers provided. There is certain version mismatch
-
i am programming a Socket with SSL .so i had to include header file for encrytion and SSL. #include <wincrypt.h> #include <wintrust.h> #include <Schnlsp.h> in stdafx.h even i mentioned #define _WIN32_WINNT 0x0500 in stdafx.so that crytoAPI can be used. when i compile i got errors.when i clicked on errors i found that number of member variables of some of the structures in these header files r different from those mentioned in msdn.even some structures which r mentioned in msdn r not present in header files. i want to know whether i have to update these header files.if it is then how thanx for any suggestion -- modified at 9:03 Friday 9th September, 2005
sunit5 wrote: #include <wincrypt.h> // not needed since it is included by wintrust.h #include <wintrust.h> #include <Schnlsp.h> Are you including
windows.h
before these? Have you installed the Feb 2003 Platform SDK, and adjusted the search paths to look in it first for include and library files?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
-- modified at 10:11 Friday 9th September, 2005
-
sunit5 wrote: #include <wincrypt.h> // not needed since it is included by wintrust.h #include <wintrust.h> #include <Schnlsp.h> Are you including
windows.h
before these? Have you installed the Feb 2003 Platform SDK, and adjusted the search paths to look in it first for include and library files?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
-- modified at 10:11 Friday 9th September, 2005
-
So is the problem fixed? What was the solution?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
-
So is the problem fixed? What was the solution?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
-
So is the problem fixed? What was the solution?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
Thanx for ur Sugeestion. Yes the problem is fixed.The Solution was to Update the SDK using FEB 2003 Platform SDK. I installed Core SDK (from Patform SDK) for updating wincrypt.h and wintrust.h . And for Schnlsp.h(or one can include Schannel.h as Schnlsp.h includes Schannel.h)i installed Internet Development SDK from Platform SDK