I am calling a c++ dll in vb...
Everything is working fine..
Just i am unable to write the vb code in order to perform the require action...
Code for calling the c++ dll in vb
Private Declare Function do_encrypt Lib "AES.dll" (ByVal text As String, ByVal keyz As String) As String
So i have 3 text boxes and a command button on the form
text1.text = takes text
text2.text = takes keyz
and when i click on Command1_Click() the result must be displayed in text3
I have tried
Private Sub Command1_Click() Text3.text = Str(do_encrypt, Val(Text1.text), Val(Text2.text)) End Sub
Its not working can anyone help how we can solve the problem