C++

This forum is for eXpress++ general support.
Post Reply
Message
Author
MIGUELON
Posts: 135
Joined: Wed Feb 10, 2010 10:55 am

C++

#1 Post by MIGUELON »

Hello everyone, I am translating a code in C ++ to Xbase ++ and I was doing well except in these lines that it gives me an execution error.
Any ideas

Original c++:

ticket.Sujetos.Destinatarios= new TicketBAI.IDDestinatario[1];
ticket.Sujetos.Destinatarios[0]= new IDDestinatario ;

Xbase++

ticket:Sujetos:Destinatarios:= CreateObject("TicketBAI.IDDestinatario[1]")
ticket:Sujetos:Destinatarios[0]:= CreateObject("TicketBAI.IDDestinatario")

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: C++

#2 Post by rdonnay »

What is the error you are seeing?
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: C++

#3 Post by Wolfgang Ciriack »

I found an VB example for TicketBAI on Chilkat https://example-code.com/vbnet/ticketbai_sign_xml_1.asp perhaps that helps you ?
_______________________
Best Regards
Wolfgang

Post Reply