Home > Back-end >  C builder call DLL
C builder call DLL

Time:10-01

Have a ABC. DLL, asp code
<%
The SET s=CreateObject (" Mecry. Med ")
57 c54bb394ddd3ee663a1bc1 str1=s.M edDecrypt (" ", 516)
Response. Write str1
%>

This call is successful, I would like to c + + builder can also call the DLL is successful, then what should I call it, thank you master

CodePudding user response:

Can try OLE way call:
 the Variant mm; 
Try
{
Mm=CreateOLEObject (" Mecry. Med ");
}
The catch (... )
{
ShowMessage (" Mecry. Med create failure!" );
return;
}

String STR=mm. OleFunction (" MedDecrypt ", "57 c54bb394ddd3ee663a1bc1", 516);
ShowMessage (STR);
  • Related