I am trying to access a Dot NET sdk which is exported as a COM object. I have installed the SDK for this, and I have Dot NET installed (2.0 was specified but I have 1.0, 2.0 and 3.5).
Here is the Dot NET code I need to translate:
ChargeNow chg = new ChargeNow();
chg.init();
chg.PM = ChargeNow.PAYMENTMODE.PayNow;
chg.CM = ChargeNow.CHARGEMODE.Sale;
chg.ShowDialog();
Can anyone help with this?
I have tried:
oChg := CreateObject("ChargeNow")
And I get this error:
Which I guess this means I am passing an invalid parameter. I also tried "ChargeNow" in all uppercase and all lowercase. Any ideas?
I am running FWH 8.08/xHarbour under XP SP2.
This is an SDK to process credit cards.
Regards,
James
Here is the Dot NET code I need to translate:
ChargeNow chg = new ChargeNow();
chg.init();
chg.PM = ChargeNow.PAYMENTMODE.PayNow;
chg.CM = ChargeNow.CHARGEMODE.Sale;
chg.ShowDialog();
Can anyone help with this?
I have tried:
oChg := CreateObject("ChargeNow")
And I get this error:
Error description: Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW
Args:
[ 1] = C ChargeNowWhich I guess this means I am passing an invalid parameter. I also tried "ChargeNow" in all uppercase and all lowercase. Any ideas?
I am running FWH 8.08/xHarbour under XP SP2.
This is an SDK to process credit cards.
Regards,
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10