Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
XMLRPC Apple Event --- Sending base64 data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XMLRPC Apple Event --- Sending base64 data



Hello,

Has anyone successfully worked with XMLRPC AE object
with base64 params? I want to do something like
this....

 AEDesc paramlist;
 err = AECreateList(NULL, 0, false, &paramlist);
 unsigned long olen = ((length + 3 - 1)/3)*4;
 unsigned char* param = new unsigned char[olen];
 this->Base64Encode(param, buffer, length);
 err = AEPutPtr(&paramlist, 0, -WHAT TYPE??-, param,
olen);

.... so that I have <base64> tags enclosing the param
bytes.

Any help would be much appreciated.

Best Regards!
rk





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.