FPCSetReturnValue

DLL Edition of the F-IN-BOX
redmoon
Posts: 8
Joined: Thu Feb 01, 2007 4:40 am

FPCSetReturnValue

Postby redmoon » Thu Feb 01, 2007 4:47 am

when i get a call from flash to MFC,
MFC get a message of FPCN_FLASHCALL.
and use FPCSetRetrunValue() to return values..
but FPCSetRetrunValue() function seem to return only BSTR.
is there any other function or way to return other type of value like array, byte .. ?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: FPCSetReturnValue

Postby Softanics » Thu Feb 01, 2007 10:29 am

Thank you for your question.

redmoon wrote:when i get a call from flash to MFC,
MFC get a message of FPCN_FLASHCALL.
and use FPCSetRetrunValue() to return values..
but FPCSetRetrunValue() function seem to return only BSTR.
is there any other function or way to return other type of value like array, byte .. ?


You can return complex data as written here:
http://www.mail-archive.com/osflash@osf ... 01355.html

I can send an array of strings back, by calling SetReturnValue with the
following string as the parameter:

"<array><property id='0'><string>test.dll<string></property><property
id='1'><string>hello.dll</string></property></array>"
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 16 guests

cron