flash and c++? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

flash and c++?

im trying to make a small multiplayer game, i would like to use flash(mx2004) for client-software and c++(-builder6) for server

i could send data from flash to the server over the xml-socket
but i cant read messages from the server in the client

and so its looks:

-flash this is the modified ondata-handler it should receive the data from c++ but dont parse it to xml (dont call onxml-function like thee standat)

XMLSocket.prototype.onData = function (src) {
textfield.text="data received";

-c++ this is the onpress of the send button, between two c++-programms it work but here...nothing

void __fastcall Tfrm_main::btn_sendClick(TObject *Sender)

could it be that the c++ansistring isnt compatible with flash?
(flash needs a zerobyte at the end does ansi use this to?)

thanks for all help
Sign In or Register to comment.