473,800 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1735
"sandy82" <sa**********@g mail.com> wrote in message
news:11******** **************@ u72g2000cwu.goo glegroups.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("user 32")]
private static extern int GetSysColor(int nIndex);

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

[DllImport("user 32")]
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**********@g mail.com> wrote in message
news:11******** *************@t 31g2000cwb.goog legroups.com...
using System.Runtime. InteropServices ;


[DllImport("user 32")]
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**********@g mail.com>
wrote:
using System.Runtime. InteropServices ;


[DllImport("user 32")]
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
4477
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. However, it has to be a true interface in that it doesn't add any overhead (when the derived object is created) with the interface's constructors and destructor because they don't exist for the interface. Does that make sense? I just want an...
5
2829
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 delegates had to be placed outside the definition of the interface. To me, the delegate definition is an integral part of the interface definition. Also, I could imagine cases where one would like to define enums and structs in interfaces as well (to be...
26
2107
by: Marius Horak | last post by:
As in subject. Thanks MH
9
7560
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 be implemented. So if you have a class which inherits base class that inherts an interface, then your classes will have a standard. I suppose you can also check for interface at run time say when dll is loaded and see if it implememts whats...
5
3193
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 called IPlugInInterface. The problem is when I come to load them I check each dll to see if supports this interface, they all return false even though when I inspect them during debugging they look the
0
2512
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 don't work nearly as well as they should, even for analysts and power users. The reason they haven't reached the masses is because most of the tools are so difficult to use and reveal so little
52
20915
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 'UselessJunkForDissassembly.IInvocableInternals.OperationValidate(string)' C:\Programming\LTM\devtools\UselessJunkForDissassembly\Class1.cs(360,27): error CS0535: 'UselessJunkForDissassembly.InvocableInternals' does not implement interface member...
6
2168
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 of the program (other modules). These variables are only read by other parts of the program, but are to be set by a user interface which consists of an RS-232 terminal command line interface. The command parser for this interface responds to...
0
1382
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 = (IPlugin)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); All Plugins are inside a sub directory called "plugins" of the main application. Now I developed one plugin that should implement a network interface, using external dll's from a framework i...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10276
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9090
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.