SHA1- CheckSum Example in Microsoft Visual C++ 6.0
-
Dear All, Below is my Problem Statement. Currently i am trying to Calculate checksum using File Attribute(File Size) as Checksum input to Checksum Algorithm to get the Checksum hash and i am using the IDE Microsoft VS 2015 C++ for the same The above said scenario is working fine for me . It gives me below output and its proper one. Input : Hello Hash :f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0 ********************** So, i am trying to replicate the Same thing in Microsoft Visual C++ 6.0 and i am not not able build/Run the project. and i can see lots of External Dependencies are being referred from Program files. So,I request the somebody to share the Working piece of code which does SHA1 Checksum validation for the given input in VS 6.0 C++. I really appreciate if somebody could help me out to resolve the issue. Thanks, Goutham KD
-
Dear All, Below is my Problem Statement. Currently i am trying to Calculate checksum using File Attribute(File Size) as Checksum input to Checksum Algorithm to get the Checksum hash and i am using the IDE Microsoft VS 2015 C++ for the same The above said scenario is working fine for me . It gives me below output and its proper one. Input : Hello Hash :f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0 ********************** So, i am trying to replicate the Same thing in Microsoft Visual C++ 6.0 and i am not not able build/Run the project. and i can see lots of External Dependencies are being referred from Program files. So,I request the somebody to share the Working piece of code which does SHA1 Checksum validation for the given input in VS 6.0 C++. I really appreciate if somebody could help me out to resolve the issue. Thanks, Goutham KD
Member 12485116 wrote:
...i am not not able build/Run the project. and i can see lots of External Dependencies are being referred from Program files.
And we are supposed to know what these are?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
Member 12485116 wrote:
...i am not not able build/Run the project. and i can see lots of External Dependencies are being referred from Program files.
And we are supposed to know what these are?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
Hi. the external references for Example : wincrypt.h,Cryptohash.h etc. which reside inside below path. C:\Program Files (x86)\Windows Kits\8.1\Include\um there are lot many refereces inside above mentioned headers.
-
Hi. the external references for Example : wincrypt.h,Cryptohash.h etc. which reside inside below path. C:\Program Files (x86)\Windows Kits\8.1\Include\um there are lot many refereces inside above mentioned headers.
So if the files reside on your computer (it would be an entirely different problem if you were trying to reference non-existent files), what exactly is the problem? :confused:
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
So if the files reside on your computer (it would be an entirely different problem if you were trying to reference non-existent files), what exactly is the problem? :confused:
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
I suspect OP's problem may be related to the antiquity of VC6. Cheers, Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
-
I suspect OP's problem may be related to the antiquity of VC6. Cheers, Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
Hello All, Just let me know On how to Add External dependencies in VS 6.0 C++ project. Thanks.
-
Hello All, Just let me know On how to Add External dependencies in VS 6.0 C++ project. Thanks.
External dependencies are libraries or object files. They can be added in the project settings at Properties - Linker - Input - Additional dependencies (not quite sure for VC6 but should be). Specify the full path. Optionally add the path(es) at Properties - Linker - General - Additional library directories. Then you can specify the plain name. The functions exported by libraries are declared in header files. These must be included in the source and header files that use declarations from those header files. Like with library directories you can avoid specifying the path in the include statements by adding the directories to the project settings (Properties - C/C++ - General - Additional include directories; again not sure with VC6).
-
I suspect OP's problem may be related to the antiquity of VC6. Cheers, Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
Possibly, but I still use it too.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
Hello All, Just let me know On how to Add External dependencies in VS 6.0 C++ project. Thanks.
I have doubts this will work the 8.1 kit code is expecting v120XP platform toolset and linking. It will be really interesting to see if it does work. Is there a reason you can't just download and install VS2015, something funky with the code?
In vino veritas