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:
- Code: Select all Expand view
Error description: Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW
Args:
[ 1] = C ChargeNow
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