Problem related to Cryptography API
-
Hi All, I am having a very disturbing issue with my program Project1.vbp calling a security project Security_DLL.vbp that calls Cryptography API. Basically I have a clsSecurity class in Security_DLL.vbp to encrypt password for my connection string to the SQL Server. When I full compile my program, evertyhing works well and no error or whatsoever. But when I make my Security_DLL.vbp and make my Project1.vbp into an EXE file (no problem), it's when I run the program from the .EXE, the program shuts down with the error below in a file. I suspect this has something to memory problem. I believe I have destroy the hash and the key as well as release the context but somehow the problem still exist. Will greatly appreciate if anyone can help out here.
-
Hi All, I am having a very disturbing issue with my program Project1.vbp calling a security project Security_DLL.vbp that calls Cryptography API. Basically I have a clsSecurity class in Security_DLL.vbp to encrypt password for my connection string to the SQL Server. When I full compile my program, evertyhing works well and no error or whatsoever. But when I make my Security_DLL.vbp and make my Project1.vbp into an EXE file (no problem), it's when I run the program from the .EXE, the program shuts down with the error below in a file. I suspect this has something to memory problem. I believe I have destroy the hash and the key as well as release the context but somehow the problem still exist. Will greatly appreciate if anyone can help out here.
What error? There's nothing here... RageInTheMachine9532
-
Hi All, I am having a very disturbing issue with my program Project1.vbp calling a security project Security_DLL.vbp that calls Cryptography API. Basically I have a clsSecurity class in Security_DLL.vbp to encrypt password for my connection string to the SQL Server. When I full compile my program, evertyhing works well and no error or whatsoever. But when I make my Security_DLL.vbp and make my Project1.vbp into an EXE file (no problem), it's when I run the program from the .EXE, the program shuts down with the error below in a file. I suspect this has something to memory problem. I believe I have destroy the hash and the key as well as release the context but somehow the problem still exist. Will greatly appreciate if anyone can help out here.
CodeProject's forum code doesn't convert < and > to their HTML representation. Please post again, converting < to < and > to >, so we can see the problem.