Thanks for all the info.
 
In my case, the flex 2 application will be embeddedin c++ shell.
 
I did find the C# sample in ExternalInterface documentation. Also, I see that there is another method (using MMExecute) of calling methods exported by a dll. Looking into it.
 
Thanks
-Krishna

Abdul Qabiz <[EMAIL PROTECTED]> wrote:
Hi,
 
If you are embedding Flex 2 application in C++ shell, you can use flash.external.ExternalInterface API of Macromedia Flash Player 8.5 to do communication.
 
Read more about ExternalInterface in documentation. I remember, there is C# example somewhere on macromedia.com or anywhere else...
 
 If your Flex 2 application is running in browser and you want it to communicate with a windows application, you can do it using following methods:
 
* Using Sockets - It requires a socket-server embedded in windows application/OS application.
* Using XMLSocket - It requires xml-socket-server embedded in windows/OS application
* Using LocalConnection - It requires a small flash application to be embedded in windows/OS application
 
 
Does that sound good?
 
-abdul

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jignesh Dodiya
Sent: Wednesday, November 23, 2005 10:37 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] calling methods in a c/C++ dll from Flex application

whats about c++ & felx-2 instead of using flex-1.5

On 11/23/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote:
Right...

In Flex 1.5, you can use xmlsocket to communicate with any local OS
application. You need to embed a socket-server in OS application and
Flex apps can communicate...

-abdul

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Aldo Bucchi
Sent: Wednesday, November 23, 2005 9:29 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] calling methods in a c/C++ dll from Flex
application

in FP 8.5 you can use sockets ;)


On 11/23/05, Abdul Qabiz < [EMAIL PROTECTED]> wrote:
> Hi,
>
> You can do that using FSCommand(..) if you are writing flex
application
> using Flex 1.5. You can use flash.external.ExternalInterface API of
> Macromedia Flash Player 8.5 for communicating with host application.
>
> I believe, you are embedding SWF in a C++ shell, above method applies
> for such cases.
>
>
> Since you are using word "dll", I am little confused here. Can you
> please tell more about your requirement?
>
> -abdul
>
>
>
>
>
>
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On
> Behalf Of kskarki75
> Sent: Wednesday, November 23, 2005 5:55 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] calling methods in a c/C++ dll from Flex
> application
>
> Hello,
>
> How do you pass variables from flex to c++ and vice-versa.
>
> Can someone point to some link where I can get more information.
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>


--
::::: Aldo Bucchi :::::
mobile (56) 8 429 8300



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







YAHOO! GROUPS LINKS






--
jignesh dodiya


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to