Linking an exe-file

i wrote a c++ prog that invokes the jvm. than i registered some (wrapper)-functions and called some java methods. inside the javamethods were native-calls.
all worked fine if i do that within the c++/exe.
trying to load the exe-file into the jvm (System.load("pathToExe") ) and than calling an init-funcion (namemangled on the native side) also work, b u t an simple printf() say's access violation java exit with return-code 128.
-> is it impossible to use an exe file like an dll ?

should i explain my problem more ?
perhaps you want my source-code

Similar Messages

  • How to link a exe file in labview

    hlo
    I am using labview 7, is it possible to link a .exe file to labview,
    i am using a stepper motor controller i have their software to control & set & change settings etc.. & that is a exe file which is a dos based programme, is it possible to link that exe to labview, & i should open & run that programe (motor controller) from labview.
    thanks
    sasi

    Try to launch it with "system exec.vi." This function can execute command line commands and should be able to launch any executable.
    aartjan

  • Linking an exe file thru JEditorPane

    Hi All,
    I would like to link an exe file thru a JEditor Pane...
    I have constructed a gui for an application using Swing and want to link a local exe file
    thru it ie i would like the exe file to execute when i click on the link provided in the JEditorPane.
    How should i go about it?
    Thanx...

    Are you talking about linking to your EXE in terms of a compiler link or just a communication link so your EXE takes care of the functionality and your java program provides the GUI only ?
    I do not know if a compiler link is possible. I've never seen anything that allows you to do it.
    If you just want your EXE to provide functionality then it is possible, but would take a fair amount of work. You can open sockets in both the EXE and Java programs and send messages back and forth. The GUI could request work to be done by the EXE and the EXE passes the results back to the GUI for display. An interesting note about this is that the EXE and GUI do not have to reside on the same machine.
    Good luck,
    Peter

  • Link external .exe file to director buttons

    I want to create a CD menu that has buttons link to differents .exe file (application) When click on the button, the application will run directly on window so I can turn it to full screen.
    However I've encountered the problems when try to link external files (exe) into cast. I got this -1 errors. I've checked previous topic and try the 'open()' command that link to the .exe file but it didn't work either. Well, I've just study Director not so long ago, so I'll appriciate your help to archive the right result.
    Thank you.

    Don't import your exe in the cast. Just put it next to the projector or in a subfolder.
    Then give the full path to open().
    Example:
    open(_movie.path & "filename.exe")

  • Link local exe file into URL iview

    Hi,
    I am trying to integrate an VB application ( basically it is a .exe file installed in local path ) through a url iview . The exe will reside on every client machines and the path I have given is like 'file://c:/Program Files/myfolder/test.exe'
    But when I access this application , I am getting an error icon in the left bottom of the IE and when I clicked that icon , it is giving an 'Access Denied Error 'message
    It might be some IE security settings which we need to do. I am not able to find what it is.
    Pls help.
    Ramana

    I dont know if SAP provides any iview that support this. However you can do it with javascript and shell commands by follow this tutorial.
    http://www.itjungle.com/mpo/mpo052302-story01.html
    Good luck :0}
    Best Regards
    Rasmus

  • Need link to .exe file to re-install/update Muse

    Never works when launching app in Win 8, always have to uninstall application, then come her to get a link to re-install.  Please help.
    TX!

    You can find the links here: http://helpx.adobe.com/muse/kb/installer-file-damaged.html
    Cheers,
    Justin

  • Accessing KM Document Iview which contain .exe file from Portal logon page.

    Dear All,
    I was trying to access the KM document ivew(where I uploaded an .exe file in KM and created an ivew for that) in my portal logon page which is customized.
    I am calling the ivew through an html command "href".
    Now my issue is, while clicking on that link, that exe file is opening with the full portal ivew path name without any extension.
    But the actual exe file of same size which is uploaded is getting downloaded and saved with out any extension. I always have to change the name and give .exe extension for that to open properly.
    So, can some one suggest me how to open the actual exe file with the extension?
    Cheers,
    Anu.

    Sorry Tom!
    Your problem seems to be different, I've no idea.
    But we already fixed our problem, I forgot to post. Here's our solution:
    The solution was to create a KM Docs iView with anonymous authentication schema pointing to the download file. Then we created an URL iView pointing to this KM Doc with appending the filename AGAIN to the URL (because otherwise the iView ID will appear as filename). In the page a hyperlink now is pointing to the URL iView and after clicking it, the download starts with the correct filename.

  • Cannot open exe files?

    I think I heard that this was the idea behind the update, but I want to be able to open an exe file when I click on it, how do I do this?
    Thanks
    Pazmush

    The new version I think? 9.3.4?.............................. Yes 9.3.4.
    Some one wrote a pdf in Latex and within it there are links to exe files. I guess the actual file must be somewhere I guess I'll go have a look. But the problem still exists. It tells me that I don't have administrative authority or something along those lines.
    Thanks

  • Creating a link on exported exe files

    I have 9 separate projects I need to burn to a CD. I have
    created an html menu. I am exporting each of the 9 projects as
    stand alone exe files, each one automatically opening the next one.
    But at any given time I would like the viewer to be able to exit to
    the main menu. Should I just put a button linking to the main menu
    on every single screen of a single project, to allow the user to
    exit to the menu if they want?
    FYI, I had initially created the 9 projects as html files,
    linking to one another. I posted a message about that earlier. But
    I am running into browser issues and don't want to run that risk
    with the completed CD. Help! :)

    Hello Captiv8r and others,
    This thread is pretty interesting. I have been struggling
    with creating a project using Captivate 3 that will
    reside fully on a CD. I am looking at maybe three workflows
    for this, one using exe files, one using swf files and an html page
    which serves as a "menu page" (the Captivate Menu builder just does
    not have enough options, in terms
    of graphic display, buttons, etc.), and the last one (which
    is the hardest), using some sort of Flash container, a Flash
    loader, and some menu buttons built in Flash, that call up
    Captivate created swf files, etc. So far we have not had to track
    state. I am trying to develop a training course on MS Excel, and am
    using audio and Captivate for screen shots, mouse movements, etc.
    After all the BS above, I do have a question. Is there a
    reason to publish to an exe file in Captivate? Or what is the
    reason(s) to publish a Captivate project to an exe file in the
    first place. I have searched around for the answer on this, but
    have found no good answer on this. Perhaps those of you more "sage"
    Captivate users can provide some insight.
    Thanks again for a very helpful forum,
    eholz1

  • Trouble linking exe files

    Yet another dilemma with my CD project. I published the first
    project file (of 9 separate projects) as a standalone .exe file
    with an autostart file to burn to cd. I set the END to open another
    .exe file. When I view output, it fails to open the second .exe
    file. It opens a browser window and says it can't find the .exe
    file. All project file names are only 8 characters, so that isn't
    an issue. But it shouldn't try to open the .exe file in a browser
    window, should it? Is there any reason I can't publish all the 9
    projects as standalone .exe files and link them to one
    another?

    Hi again
    Here's the way I would think it would work.
    You have a menu and perhaps ten movies. They are all in .EXE
    format. The menu.exe would run via autorun.inf as long as nothing
    has impeded it. So you have a Menu.EXE running. Your user clicks a
    movie link and POOF! The selected movie.EXE plays. But here's the
    trick. The movie opens in a new instance of the Flash player. The
    Menu.exe is still running. It's simply covered by the new movie. If
    the user closes the new movie, the Menu.exe is uncovered. This
    allows him/her to open other movies from the menu.
    Sorry, no way I'm aware of to speed things along. For one
    thing, accessing anything off a CD will be slower to react than off
    a hard drive. For another, maybe the movie is simply very large and
    would take an inordinate amount of time to open even on a fast hard
    drive. Hard to say.
    Hope this helps a smidge... Rick

  • Captivate 4 link between 2 .exe files

    I work with adobe captivate 4 and i developped a lot of presentations that i want to link i published each of them in the .exe format but the thing is that when i passes from one .exe file to another one, there is a delay and we can see the first .exe file closing and the second one opening. I wish to have a continious presentation. 

    Hi there
    Sorry, but there isn't a way past that to my knowledge. The reason is because the exe has to close and the new one has to load up and open. You are wanting a behavior similar to what you have with SWF playing in the browser. In the browser setup, it appears pretty seamless because the next SWF simply loads into the browser client area and plays.
    Perhaps consider submitting a Wish Form to Adobe and who knows, maybe they will come up with some clever workaround in a future release.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Linking swfs or exe files?

    I need help with a Flash AS3 project that includes about 30 videos. I needed to break it in smaller pieces because it is a large file (over 300 mb) and every time I wanted to publish the entire project flash crashed.
    Here is my test:
    I have two exe files that should link back and forth.
    Intro_YIM.exe, which has a button that links to Videos_FrontPage_YIM.exe
    Here is my code, which is in Intro (button name= nav_4).
    nav_4.addEventListener(MouseEvent.CLICK, gotoVideoFront);
    function gotoVideoFront(event:MouseEvent):void {
      var url:String = "Videos_FrontPage_YIM.exe";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_self');
      } catch (e:Error) {
        trace("Error occurred!");
    Problem:
    The link seems to work, but there is a message that says save or run. When I click run, there is another message that says the file can't be open.
    Questions:
    1. Is there a better way to handle links using executable files using Flash CS5 and AS3?
    2. If swfs were used, how can I have a main page displaying all other swfs as they are linked?

    Kglad:
    Yes, initially I thought that exe files was the way to go. However, I've been searching for options and found that by using the class Loader, I can load swfs files instead of exe files.
    Here is what seems to work with only swf file:
    var my_loader:Loader = new Loader();
    nav_4.addEventListener(MouseEvent.CLICK, startLoading);
    function startLoading(e:MouseEvent):void {
        my_loader.load(new URLRequest("Videos_FrontPage_YIM.swf"));
        addChild(my_loader);
    Problem: I have a interface, which loads all other files by way of buttons. For instance, nav_4 button loads the file Videos_FrontPage.swf. When this movie loaded, the interface was also gone.
    How can I keep the same interface and still be able to load all other movies?
    Your help is appreciated.

  • EXE files no longer link

    Hi,
    Were are creating a director file and have used buttons with
    the "jump to movie behaviour" in order to link between several
    different movies and, although though it works with the .dir files,
    when we publish the movie to .exe files, the links no longer work.
    does anyone know how we can rectify this please?

    Hi,
    Mike has answered the question but just to expand somewhat.
    As Mike said, make your EXE from the start movie and then all
    the remaining ones
    can be either DIR, DXR or DCR. You'd typically go with DXR
    (protected) for an
    executable. You can go with DCR (Shockwave) if you want to
    compress your content.
    Generally, you'd create a stub projector. Here's a tutorial
    on this:
    http://www.fbe.unsw.edu.au/learning/director/publishing/projector.asp
    If you wanted to have a single EXE with all your movies, you
    can do that but it is
    not recommended as from a speed and memory management point
    of view, it's not very
    good.
    Just one correction of Mike's message. - Once you create a
    EXE, it embeds that
    movie into the projector. You can rename the EXE to whatever
    you like but the
    original movie is still locked in there with its original
    name. So, you can link to
    that original movie inside the EXE without the need to have
    the DIR/DXR/DCR
    version.
    For example say you have:
    opening.dir
    movie1.dir
    movie2.dir
    and say they link to each other.
    You could create the following for your final delivery and
    put them in a new
    location:
    start.exe
    movie1.dxr
    movie2.dxr
    start.exe is made from opening and the other 2 movies have
    been protected.
    If you have a behavior inside 'opening' that links to
    'movie1', the start.exe will
    jump to that movie through the projector. So, you may not
    even notice there was a
    change. Same thing would happen if you now jumped to
    'movie2'. If you now jump back
    to 'opening', it will still work even though you don't have
    that file. It's because
    it can be found inside the EXE.
    regards
    Dean
    Director Lecturer / Consultant
    http://www.fbe.unsw.edu.au/learning/director
    http://www.multimediacreative.com.au

  • Linking to exported files from .exe project file

    Hi,
    I've read several posts regarding this issue, and it doesn't seem as though anyone has come up with a solution, but I thought that I re-energize the discussion.
    I have a pretty large project and have encountered many problems while trying to compile it with Captivate.  I've finally streamlined the project by creating mini swfs and inserting them as an animation on various slides within the overall project file and have been able to get the entire project to play in the preview modes pretty smoothly (with some minor issues that I'll save for another post).  All links and buttons have remained in tact, and we are now experiencing very little sluggishness.  I had hoped to package this project on a CD for beta-testing today.  However, when I attempted to publish what I was hoping to be the final project file this afternoon and selected the .exe option, none of the linked items (swfs, pdfs) launched when tested.
    Now, during the publishing process, I do  receive the following message:
    The file / projects linked below are linked to the open project.  The linked files / project may require exporting.
    It is also important to copy all referenced files and projects with their corresponding html files to the output folder.
    Ok, "may require exporting" to where?  All of the linked files are located in the same folder as the .exe file (pdfs, swfs, htms, etc.).  What output folder is the message above referencing?  I made sure that I didn't place any of these files with the exception of the pdfs into a separate folder so that they would be easily accessed.  My back is truly against the wall here since I've been troubleshooting a host of issues with this application for weeks now and this project is supposed to be ready for prime time.  Since Adobe doesn't support Authorware anymore and has been pushing this app down our throats the ability to obtain support and / or solutions to these types of problems does not meet the needs of the user.  Does anyone have a solution which does not include the Aggregator?

    Hi there
    I believe I may be the one that assisted with the files.
    I'd like to address some comments if I may.
    MMCwebs wrote:
     ... I did receive some assistance from one of the gurus who created swf files for each pdf which assisted me in resolving the problem for that particular project,
    however, those files only open the file names that were programmed into
    the swf.  I was never able to get him to provide me with the original
    file to edit as needed...
    The way I do these is by using a companion application that shipped with Captivate 2 and 3 called "MenuBuilder". There was no overt and secretive reason for not providing the source. The real reason behind it was that I was creating these on my end because the recipient didn't have MenuBuilder. Therefore the source files would be as useful as a buggy whip for making the car run faster. I'd have been more than happy to provide source files as long as they would be useful to someone.
    If you have MenuBuilder on your own machine, it's quite simple to create the files. I've documented the steps needed on many occasions here in the forums.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Error while running sawserver.exe file

    Hi All ,
    I installed OBIEE 11.1.5 in my machine and Database is in different machine (For RCU) .OBIEE reports are working fine but, I tried to run sawserver.exe file to register new instanceconfig file to implement multiple rpds and Catalogs in OBIEE 11G by referring the below link.
    http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-2-presentation-services/
    Command that I used is : sawserver.exe -c D:\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1\instanceconfigdemo.xml
    Am getting the Error : the procedure entry point long jmp count not be located in the dynamic link library orauts.dll
    Thanks in Advance .

    Hi,
    How can i do it in OBIEE 11G? Any help will be grateful
    Regards,
    Joni

Maybe you are looking for

  • EAP-FAST with local radius on 1242AG

    I'm trying to get EAP-FAST working using the local radius server on a 1242AG autonomous AP using the latest firmware from Cisco. The cypher I'm using is CCMP. LEAP works fine with all my clients, however if I move to EAP-FAST in the radius config my

  • Issue in    REUSE_ALV_BLOCK_LIST_INIT

    I'm working in REUSE_ALV_BLOCK_LIST_INIT                        REUSE_ALV_BLOCK_LIST_HS_APPEND                        REUSE_ALV_BLOCK_LIST_DISPLAY. But the Call_back_user_command is not at all triggering in my Code. I've tried many ways My event-name

  • Item master approval

    according to requirement in sap b1. my client wants that item should be entered by store person and approval should be done by store person. here approval means after entering item one pop up window comes on screen of purchase person so that he can c

  • How to calculate delivery date of PR

    Dear experts, I want to calculate the delivery date of purchase requisition item in the program which is proposed in PR creation. Anyone can give me the function module or subroutine for this? Many Thanks, Tony.

  • Java-pdf-xml

    i have to convert pdf file to xml. i have to write code to extract the content from pdf file. i want functions or api's for extracting text from pdf pls help me