473,385 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Interface with Flash8 External API

Hi I want to interface my winforms application with External API of
Flash 8 . If any one has done a similar problem do ... guide ..

Apr 21 '06 #1
4 1719
"sandy82" <sa**********@gmail.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
Hi I want to interface my winforms application with External API of
Flash 8 . If any one has done a similar problem do ... guide ..
Here's an example:

using System.Runtime.InteropServices;

[DllImport("user32")]
private static extern int GetSysColor(int nIndex);

Apr 21 '06 #2
>using System.Runtime.InteropServices;

[DllImport("user32")]
private static extern int GetSysColor(int nIndex);


Well can u through a bit more light on this , i m not able to get ur
point
This is just the code to call user32.dll functions , how it interacts
with Flash8 External ApI
I have a refrence u can visit the link
http://livedocs.macromedia.com/labs/...Interface.html
Do reply ....

Apr 21 '06 #3
"sandy82" <sa**********@gmail.com> wrote in message
news:11*********************@t31g2000cwb.googlegro ups.com...
using System.Runtime.InteropServices;


[DllImport("user32")]
private static extern int GetSysColor(int nIndex);


Well can u through a bit more light on this , i m not able to get ur
point
This is just the code to call user32.dll functions , how it interacts
with Flash8 External ApI
I have a refrence u can visit the link
http://livedocs.macromedia.com/labs/...Interface.html


Well, take the example of GetSysColor and modify for the functions for your
Flash8. You know how to add a few params etc?

Michael
Apr 21 '06 #4
On 20 Apr 2006 23:45:22 -0700, "sandy82" <sa**********@gmail.com>
wrote:
using System.Runtime.InteropServices;


[DllImport("user32")]
private static extern int GetSysColor(int nIndex);


Well can u through a bit more light on this , i m not able to get ur
point
This is just the code to call user32.dll functions , how it interacts
with Flash8 External ApI
I have a refrence u can visit the link
http://livedocs.macromedia.com/labs/...Interface.html
Do reply ....


It looks like flash exposes itself as an ActiveX object. Try and
import the ActiveX object using Visual Studio | Add Reference | COM
tab.

-- Barry
Apr 21 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: The Directive | last post by:
Is there a way in C++ to create a "true" interface. I want to create an absract class that other classes can inherit from and be forced to implement the interface's abstract (pure virtual) methods....
5
by: Peter Berry | last post by:
I was surprised and somewhat disappointed by the fact that you cannot declare types in an interface. I discovered this when defining an interface that included events, where the definition of the...
26
by: Marius Horak | last post by:
As in subject. Thanks MH
9
by: phl | last post by:
hi, I am kind of confused aobut interfaces and abstract classes. In short as I understand it, an interface is like a contract between the class and the interface, so that certain funtions must...
5
by: Joe Black | last post by:
Hi all, Using Windows CP Pro VS .net 2005 I'm creating an app that allows user to extend its functionality by installing plug in modules, these modules support an interface I have created...
0
by: YellowFin Announcements | last post by:
Introduction Usability and relevance have been identified as the major factors preventing mass adoption of Business Intelligence applications. What we have today are traditional BI tools that...
52
by: Ben Voigt [C++ MVP] | last post by:
I get C:\Programming\LTM\devtools\UselessJunkForDissassembly\Class1.cs(360,27): error CS0535: 'UselessJunkForDissassembly.InvocableInternals' does not implement interface member...
6
by: Chris Carlen | last post by:
Hi: I have an embedded system, platform: TI TMS320F2812 32-bit integer DSP. A module (.c file) contains external (to the funcs in that module) variables which are used to affect the operation...
0
by: gerdhub | last post by:
I develop an application that uses a plugin interface, that the hosting application as well as the plugins implement. Each plugin is loaded via: newPlugin.Instance =...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.