8.2.2.4 Call and Execute SecureSDK Functions


   Call and Execute SecureSDK functions


Here are code snippets on how to perform this action:



   C++


1
2
3
4
5
6
SD_SDK_SECURE_ENCODE_PARAMS _sdk_secureencode_param;

//
// Call SecureENCODE Main function
//
returnVal = lpfnSecureENCODE_Dll_MainEncodeFnct(_sdk_secureencode_param);



   VB .NET


 

1
2
3
4
5
Dim _secure_encode_struct As SD_SDK_SecureENCODE_Struct_PARAM

...

Dim result As Int32 = secureEncodeMain(_secure_encode_struct)



   C#


1
2
3
SD_SDK_SecureENCODE_Struct _encode_struct = new SD_SDK_SecureENCODE_Struct();

Int32 result = _encode_main_proc(ref _encode_struct);



   DELPHI


1
2
3
4
5
var
resSecureENCODE  : LongInt;

begin
resSecureENCODE := SD_SDK_SecureENCODE_Main_Func(encodeDLLHeaderStruct);