>>*Dim charge1 As New SIM.Charge >>*Set charge1 = New SIM.Charge >> >>..... Program code ..... >> >> >>WITH charge1 >> >> >> .LoggingLevel = 3 >> .PaymentEngine = 'PaymentSoftware_RiTA_PAYware' >> >> .port = lcPort >> .IPAddress = lcIPAddress >> .ClientID = lcClientID >> >> >>... yada yada yada ... >> >> >> >> .PROCESS >> >> >> lcResult = .GETRESULT >> lcRsponse = .GetResponseText >> lcAuthNumber = .GetAuthCode >> >> >>ENDWITH >> >>*Set Charge1 = Nothing >> >> >>RETURN >> >> >> >>>>
>>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm C:\cc\SIM.dll >>pause >>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm C:\cc\SIM.dll /tlb >>pause >>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm C:\cc\SIM.dll /codebase >>pause >>>>
>>It is possible to have PAYware SIM run in Debug with Unmanaged Code. This is any environment outside .NET. The >>environment could be Vb6, C++, FoxPro, etc. It is, however, necessary to run the COM-Dev.bat file on the development >>machine. This .bat file will create a .tlb file in the SIM.DLL path. This is the file you will need to reference in your >>code. >>In the client environment the .tlb file is not necessary. SIM.DLL will still need to be registered on any client machine when >>dealing with Unmanaged Code (anything other than .NET). Upon deployment, the integrator should run the COM.bat file >>instead. >>>>