Access to DLLs using Flash possible?

I have been researching the possiblity of passing parameters
to a DLL from within a Flash project but have not had much luck.
Does anyone know if this is beyond the capabilities of Flash
or if it is in face doable?
any help or suggestions would be great

It is currently beyond the scope of capabilities for both
Flash and AIR.
You will need to use a more native runtime to communicate
with a DLL (like C#, C++, etc).
You can communicate between the C# environment and Flash, to
give the effect of communication directly with the DLL in Flash
(Flash tells the C code to talk to the DLL, and the C code returns
something to Flash)
This type of thing is beyond the scope of my skillset, so I
unfortunately can't offer any direct details as to HOW to pull this
off.

Similar Messages

  • JNI : Having issue with accessing C# dll

    Hi Everyone,
    Could you please tell me how to access C# dll using JNI.
    My code looks like below:
    public class JNISample {
         public native void Message();
    static{
              System.load("D:/*******/JNISample/dll/SampleDLL.dll");
              System.out.println("library loaded");
         public static void main(String args[])
              System.out.println("JNI sample example");
              new JNISample().Message();
    I created header file using command below
    javah -jni -classpath d:\*****\JNISample\src JNISampleI am getting below error:
    java.lang.UnsatisfiedLinkError: no D:/Applet/JNISample/dll/SampleDLL.dll in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1030)
         at JNISample.<clinit>(JNISample.java:16)
    Exception in thread "main"
    Could anyone please tell some suggestions?
    Thanks,
    Kavita
    Edited by: java_pgrm on Dec 2, 2009 9:36 PM
    Edited by: java_pgrm on Dec 2, 2009 9:38 PM

    java_pgrm wrote:
    I am really sorry to ask u such question.. What is .c file? Actually I am using c# dll. Java JNI requires a specific linkage which in general means that the JNI shared library must be written in C or C++.
    What happens in that shared library is up to you. However note that fairly recent posts on this forum indicate that there are some complications about correctly using a JNI shared library with C#. Somewhere there is a thread that discusses it.
    You might also consider just creating a separate executable with a comm interface (sockets, files, stdio) rather than using JNI. There are advantages to that including that it can't take down the VM (bad coding on your part in JNI can) and it is much easier to test.

  • When I try to access something with Adobe Flash, I have to click on the "f" which turns into a "play" button. I do not need to do this step in Safari. Help.

    Is there something blocking Adobe Flash which causes me to have to hit the play button every time I want to access a page using Flash?

    you can just go into the firefox addons manager and disable it or remove it there in case you no longer need it: [[Disable or remove Add-ons]]

  • Firefox 16 freezes for 1 minute when accessing certain webpages, I think they're all using Flash

    I installed Firefox 16.0.1 yesterday. I was running 15 earlier in the day and it was fine. FF 16 however has suddenly started hanging for about a minute when I try to access certain websites. It unfreezes fine after that minute, no crashes or anything, but it's very irritating. From what I can tell it only seems to do it on pages that use Flash. I've got the latest version installed, and it's made no difference. I tried downgrading to FF 15 and it's still the same. Anyone know what's going on?
    Thanks,
    Mark

    Did you try to disable protected mode in the Flash player?
    You can check for problems caused by recent Flash updates and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Flash_Player_11.3_Protected_Mode_-_Windows

  • Internet Explorer freezes when accessing sites using Flash

    I am using Windows 7 64-bit, Internet Explorer 8 32-bit and Flash Player 10.1.r102.64. Also Norton Internet Security 2010.
    I am having multiple problems that seem to have arisen more or less simultaneously, I don't know if they're connected or even if I've caused some while trying to fix others.
    My difficulty with Flash Player is that Internet Explorer seems to freeze whenever attempting to open a web page that uses Flash, I then get the error message "Adobe Flash Player Installer/Uninstaller 10.1 r102 has stopped working."
    Additionally, I find I am unable to install some Software, specifically Chrome, Firefox and CCleaner - the installer seems to run, but then nothing happens. Also my attempts at using System Restore have either failed or made matters worse. Most recently when I open Internet Explorer I get the error message "ButtonMonitor has stopped working."
    I would be most grateful for any insight into how to fix my Flash-related problem, or into the possible relation my difficulties may have to one another.
    Thank You,  Ray Sim

    Thanks for responding. I'm really getting the impression I'll be better off without Norton. My virus and firewall protection consist of the Norton and whatever is intrinsic to Windows 7. I'm afraid I didn't recognize all the sets of initials you used, so we'll see how I did.
    In C:\Windows\SysWOW64\Macromed\Flash I found:
    Flash10l.ocx
    FlashInstall
    FlashUtil10l_ActiveX.dll
    FlashUtil10l_ActiveX
    Install
    I don't know what an NPSWF file is, but I didn't see anything I recognized as one. The only file that seems to have version information is FlashUtil10l_ActiveX which is 10.1.102.64
    In Internet Explorer I found ShockwaveFlashObject version 10.1.102.64 listed as "enabled" under both "All add-ons" and "Run without permission"
    Thanks again
    Ray

  • Deploying a VB dll using some web service and accessing it through java

    I'm new to Web Services Based Programming. I would like to know whether this is possible and if so has anyone tried it. I want to create a vb dll that contains the remote methods that the client will access from a java program. After going thru a lot of articles, I'm still unsure on how to do this. I found one method was to Create a VB program/dll, deploy it in a web service and create the java program that accesses by another web service.
    I'm doing this as part of my lab syllabus. The thing is My lab exercises do not state anything about the technologies that I can use to do this.
    This is all that is stated there:-
    Creation Of DLL Using VB And Deploy it in Java
    I just cant get any ideas other than deploying both the parts as web services. If anyone has Better ideas for this, I would really appreciate it.
    I dont know anything about CORBA for languages other than Java and I'm already using the servlets and EJB's in my normal life. I'm also learning the ORB based programming in java. Therefore your help will probably help me learn something new then what I know.

    Sorry I wasn't too specific in my last question.
    This is my java class calling the native method print
    //HeyWorld.java
    class HeyWorld {
    private native void print();
    public static void main(String[] args) {
    new HeyWorld().print();
    static {
    System.loadLibrary("HeyWorld");
    In this case, my C method for calling a C++ method: HelloWorld.cpp
    #include "jni.h"
    #include "stdio.h"
    #include "stdafx.h"
    #Include "HeyWorld.h" //this is where i get my function prototype
    #include "Test.h" //this is the C++ header where the print method and the Test class is
    JNIEXPORT void JNICALL
    Java_HeyWorld_print(JNIEnv *env, jobject obj)
    CTest a; //CTest is the print class I created
    a.print();
    //This is the header for Test.h
    class CTest: public CWinApp
    public:
         CTest(); //constructor
         void print(); //our method
    //And this is the implementation of the class Test.cpp
    void CTest::print()
         printf("Hey World!\n");
         return ;
    I could compile the Test.cpp, HeyWorld.cpp successfully. However when I tried to compile HeyWorld.cpp using
    cl -I<path of jdk include> -I<path of jdk include win32> -LD HeyWorld.cpp -FeHeyWorld.dll,
    the VC++ 6.0 compiler gave me this error:
    HeyWorld.obj:error LNK2001: unresolved external symbol "public:_thiscall CTest::CTest(void)"
    HeyWorld.obj:error LNK2001: unresolved external symbol "public:_thiscall CTest::print(void)"
    Thanks for the help.

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

  • Flash player 10 error loading dll using IE 8.0.6001.18372 RC1 on Vista

    hi,
    How do I fix these errors below seen when trying to display
    pictures at some
    http://smilebox.com url in Internet
    Explorer 8.0.6001.18372 RC1 on my vista box? I've installed Adobe
    flashplayer and Adobe's activeX controller, they show up in the
    list of programs added to this box. i've successfully installed
    firefox 3 browser and same smilebox url works fine there. firefox
    plugins show Shockwave flash 10.0 r12. here is the errors:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
    6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0;
    .NET CLR 3.0.04506; .NET CLR 1.1.4322)
    Timestamp: Fri, 30 Jan 2009 19:14:41 UTC
    Message: Error in loading DLL
    Line: 93
    Char: 26
    Code: 0
    URI:
    http://secure.smilebox.com/scripts/swfobject144.js
    Message: Error in loading DLL
    Line: 93
    Char: 26
    Code: 0
    URI:
    http://secure.smilebox.com/scripts/swfobject144.js
    Message: Unspecified error.
    Line: 37
    Char: 3
    Code: 0
    URI:
    http://pagead2.googlesyndication.com/pagead/inject_object_div.js
    thanks for any pointers.

    Well, great.  I tried the uninstall/reinstall before, but not with the uninstaller, so I was hopeful that this time might do it.  No such luck.  The video still plays, but no sound.
    All the sound settings are working with everything else from games to media players.  I set Windows' firewall to allow both the ActiveX and plugin for Flash, just in case.
    In the Flash folder, I now have:
    Flash10l.ocx (10.1.102.64)
    Flash Util10l_ActiveX (10.1.102.64)
    FlashUtil10l_Plugin (10.1.102.64)
    Genuinst (6.0.2800.1531)
    FlashUtil10l_ActiveX.dll (10.1.102.64)
    NPSWF32.dll (10.1.102.64)
    And the setup and text files that went with 'em.
    I've also done a system restart since then and zip.
    I went through IE and Firefox and looked for any file associations (like .flv) that I could manually change over to using Flash, but no go.  The settings panels for Flash have all been set to allow YouTube specifically (as a test) and to allow 10KB of storage space for all affected sites.
    Now what?  I'm really not looking forward to a reformat and reinstall, but it's looking like that's what it's going to take.
    Date: Sun, 14 Nov 2010 17:37:07 -0700
    From: [email protected]
    To: [email protected]
    Subject: Flash Player 10 does not work in IE or Firefox. What could it conflict with?
    Something is strange with your list of modules; you list FlashUntil10i_Plugin (10.1.102.64), but this is really 10.1.85.3
    I recommend that you uninstall Flash Player completely (using http://kb2.adobe.com/cps/141/tn_14157.html), then restart Windows, and delete all remaining files in C:\Windows\system32\Macromed\Flash.
    Next reinstall both ActiveX (http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player_ax.exe) and the plugin (http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe).
    After that, if the problem persists, have a look at this page http://kb2.adobe.com/cps/837/cpsid_83739.html
    >

  • Using Flash/AS as Template possible?

    Hello Everyone!
    I'm very new to flash (just started last week) so please bare with me if this quesion sounds ridiculusly stupid
    I wonder if it's possible to use Flash/AS files as "templates" - in other words, we have the website http://shop.variuscard.com and the header is subject to change depending on the product-category you click in the shop. We will have approx 10 categories, and each will have a different product displayed in the flash movie, but the "background actions" should stay the same.
    Now, in case I need to change something (let's say the logo changes from blue to red.. and the particle-size and shape) I don't want to change all 10 or more files again. So is there a way to use the "basic" flash file as template, which means - position of the Logo & shadow, and the particle code, and just change the variable pictures and stuff inside the categories? I took that red card-printer as sample of the card-printer category for example.
    Thanks in advance!

    There are a few ways you can manage having a template file.  Probably the more modern approach is to have data file that defines certain characterstics of the file's content, such as the logo image it uses, the title it displays, where things get placed, etc.  Then you have your Flash file dynamically load/adjust the content per what the data file dictates.  So you data file could specify the name of the logo image file and where it gets planted and the file could use that info to load that file and place it where it goes.
    Another thing you can make use of is the FlashVars parameter that the embedding code allows for.  So if you had the same banner in the same web site on different pages or sections of a page, you could use the FlashVars to indicate some parameter each file should use to decide what content it needs to make use of.
    Combining these approaches can alow you to only have one Flash file, and one data file that you change as needed.

  • 3D content for iOS using Flash Builder? Possible?

    Hi,
    Is it possible to use Papervision or Away 3D using Flash Builder 4.6 and compile this succesfully for iOS?
    I have previously had lots of fun with Papervision and I am just wondering if it is possible to create 3D interface content for iOS and/or Android?
    HR

    I think Away3D (and possibly PaperVision) uses Pixel Bender shaders. They don't work on mobile devices, AFAIK. But Stage3D is supposedly coming to AIR mobile soon. That should blow the socks of any software rendering. I think Away3D will be supporting it.

  • How to use Flash Builder  for Eclipse Luna ( is it possible??)

    How to use Flash Builder  for Eclipse Luna ( is it possible??)

    Yes. I have Flash Builder 4.6 and 4.7 running in different Eclipse Luna installs.
    More details at http://forums.adobe.com/message/4527443
    On Mac, I had to have the 32bit version of Luna for 4.6, and the 64bit version of Luna for 4.7 (and  I recently started using  4.7 with Eclipse Mars).
    For 4.6 you need to first download Eclipse 3.6 and install the Flash Builder 4.6 plugin to that Eclipse install. For 4.7 you need to download Eclipse 3.7 and install the plugin to that Eclipse install. Once it's installed in the 3.x version, you can then copy the fb*.link files from the Eclipse 3.x dropins folders into your Eclipse Luna's dropin folder.
    There is an issue where something in Flash Builder 4.7 won't work right when using it as a plugin, not sure but it might be something with building ANEs.

  • Recording video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http.

    As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?
    What I am trying to do, is to record a user's microphone's input and save it to the server. Afterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
    How can I redirect the http request to the files I was recorded into my applications/appName folder? Or I need to somehow moved the recorded files to the /webroot folder?
    Thanks!

    I probably have asked a stupid question.
    My recorded streams are still saved in the applications/appName/streams folder.
    And I redirect the www.mydomain.com/streams to point to the applications/appName/streams folder.
    And the rmtp recorded streams are abled to connect through http now.

  • Using Flash Builder with PhoneGap build...Possible?

    Hello,
    Is it possible to use Flash Builder along with PhoneGap build?
    Thanks

    Hello,
    Is it possible to use Flash Builder along with PhoneGap build?
    Thanks

  • HT4993 How do you view items that use flash player? Is it possible? Please & thank you

    How doyou view items that use flash player with an Iphone 4S. Is it possible?

    There is no Flash Player for iOS. Browsers on the App Store like Photon have flash capabilities.

  • Is it possible to use flash player on the iphone 4S?

    I tried to open a greeting card in my hotmail account and was told that the IOS doesn't allow the flashplayer pluging.  Is there any way to view FP media on the IPhone 4s?
    Thanks

    No Flash for iPads, iPhones, or iPods
    Here's why there's is no Flash available for iDevices or other mobile devices. Adobe was unable to provide a product that was suitable to the needs of battery powered mobile devices used for Internet browsing. Existing Flash technology used too much memory, ate battery life, and was buggy. Simply put Flash did not work well on mobile devices.
    Apple's Steve Jobs led the escape from Flash dependency when Apple introduced the iPhone, and later introduced the iPad. There was a hue and cry over the omission. Time proved Jobs was right on target.
    So this is why there is no Flash for your iPhone or iPad or iPod nor for most SmartPhones. Flash has been abandoned by many sites in favor of supported technologies such as HTML5 or by providing their own custom app.
    Here is Steve Jobs official comment on his momentous decision to omit Flash from iDevices: Steve Jobs on Flash.
    Here is Adobe's later announcement to cease development of Flash for mobile devices: Adobe on Mobile Flash.
    Now, you are not necessarily out on a limb. There are some apps that can display some Flash, but don't count on there ability to display anything using Flash.
    Apps that can display some Flash from the Web:
    Puffin
    SkyFire
    Photon Flash
    Browse2Go
    iSwifter
    Also, note that many sites that use Flash provide their own app for accessing their material. So check with your favorite sites and find out if "there's an app for that."

Maybe you are looking for

  • Adding a url to flash buttons in Dreamweaver

    I have a web site built and I have recently added Flash buttons and I need to add my web pages to the buttons. How would I go about doing this?

  • How to restore the Password backup in sql server 2005

    How to restore the Password backup in sql server 2005

  • Increase performance query more than 10 millions records significantly

    The story is : Everyday, there is more than 10 million records which the data in textfiles format (.csv(comma separated value) extension, or other else). Example textfiles name is transaction.csv Phone_Number 6281381789999 658889999888 618887897 etc

  • Student-Price for After Effects

    Hello, my name is Mika Paysen and i´m eleven years old. I am making small films and i searched for a program to edit my movies. A professional told me that Adobe After Effects is a really good program. But i have a question, is there a student-price

  • Apple Mail Crashing, Behaving badly

    Suddenly Apple Mail is crashing. Running Snow Leopard on 2-year-old macbook pro. The program freezes, does not display the full text of the message, and has crashed at least 10 times today. Also says it cannot send with the server, but it actually IS