Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Problem related to Cryptography API

Problem related to Cryptography API

Scheduled Pinned Locked Moved Visual Basic
helpdatabasesql-serversysadminsecurity
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    peterlck
    wrote on last edited by
    #1

    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.

    D M 2 Replies Last reply
    0
    • P peterlck

      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.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      What error? There's nothing here... RageInTheMachine9532

      1 Reply Last reply
      0
      • P peterlck

        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.

        M Offline
        M Offline
        Mike Dimmick
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups