How can i add a library path for a .dll library?

hi
i used a native method (sndPlaySound) in a dll file (winmm.dll).
then i complided my source successfuly , but in runtime i recieve
this Exception :
Exception in thread "main" java.lang.UnsatisfiedLinkError: no winmm.dll in java.
library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at JNItest.<clinit>(JNItest.java:9)
i know i must add the library path to the java.library.path but
i don't find "java.library.path" and don't know what i must to do.
i am in windows 98 and don't use any IDE (just jdk 1.3.1).
thank you very much.

Windows uses the current PATH enviroment variable to search for dlls.
Windows searches for dlls in the Current directory , the application directory (if the current is not the same) , the PATH variable, then the system directories (Windows, Windows/system)
It's different in every OS, but if you only care about windows...
Also try searching on msdn.microsoft.com, they might have more information there.

Similar Messages

  • How can I add a library of flash movies to my site?

    I posted this same question on the Dreamweaver forum and a suggestion was made that I try over here for help, so please excuse the duplicate question.
    How can I add a library of flash movies to my site?
    Hey there everyone and thanks for reading my question.
    I have a library of flash movies (specifically a library of maps) and when the map movies are run in Flash they call each other just fine (i.e. the USA map will load the Georgia map when Georgia is clicked on the USA map, etc etc etc for each state).
    HOWEVER, when I insert the USA map in one of my site pages (I'm working on the site using Dreamweaver CS4) the USA map page will load, but when a state is clicked the area on the page for the map goes blank and the state map does not load.
    Short of coding a specific path in each of my state maps (in the Flash editor) is there a way to tell Dreamweaver there is a library of maps, look there for the sub-map?
    and if I do have to code the path to the map, can I code a relative path rather than a specific URL address for the maps?
    I know this is probably one of those simple things, but I'm not seeing it (can you tell I'm new at this??)
    Thanks in advance for any help!
    Frances

    Hey again,
    Thanks for the helpful suggestions. Everyone's comments got me to thinking about what the path was in the calls from the maps.
    here is what finally worked:
    on (release)
    loadMovie("../FlashIMapDownloads/georgia.swf", 0);  
    this script code is in the action script for the "georgia" button of my main map - a US Map. (I hope I'm describing all this correctly).
    I'll post this same info in the Dreamweaver forum too.
    Thanks again!
    Frances

  • How can I add a new entry for determining a requirement type

    Dear Friends,
    How can I add a new entry for determining a requirement type
    via Item Category + MRP type,  I see no new entries selection.
    This is in  Avb Check & TOR-> TOR-> Determination of req type using transaction.
    Please help.
    Regards
    Ravi.

    Availability Check and Transfer of Requirements > Transfer of Requirements > Define Requirements Types ?
    Just one node above?
    Never mind, you need to add entry on item category:S

  • How can i add Document Header Text for s_alr_87012357

    Hi Gurus
    How can i add Document Header Text for  s_alr_87012357(Advance Return for Tax on Sales/Purchases).do i need change the standard program or is there any alternate to do this please  help me  out.

    i found it .its in output list and i did change the layout settings.thanks

  • How can I add more chosen websites for quick access in the remaining empty fields in "file"-"new tab"? ing empty fields

    I can´t add preferred, chosen, most visited or bookmarked websites to the 28,15 or 6fields in"file" - "new tab". I have a PC with Windows Vista and have been using Firefox with additional Google toolbar as my preferred or default browser for several years. I have downloaded several updates. I suspect that my version is now 4 or 5. Originally the Google for Firefox new tab feature showing chosen favourite or preferred websites for quick one click access worked fine but I seem to have lost the abiiity or forgotten how to add new such favourites for quick access. The "edit" button there on the bottom left can only delete valuable chosen sites, which then seem to the be lost forever. This edit button is very dangerous! The "bookmarks" and "most visited" tabs listed show a wild coincidental mixture of sites I once visited sometime but have nothing to do with my real favourites or chosen or most visited sites. So I don´t use these bookmark or "most visited" features.

    Most visited would not be your bookmarks, but your tab history.
    You can check that out via Ctrl+Shift+H then search on ":" (colon without the quotes). Sort on the "Visits Count" (descending) and you will see that they agree.
    '''Most visited''' is one of the '''smart bookmark folders''' which are database queries.
    '''More information:'''
    * [https://developer.mozilla.org/en/Places_query_uris Places query URIs - MDC Docs]
    * [https://support.mozilla.com/kb/Smart+Bookmarks+folders Smart Bookmarks folders | How to | Firefox Help]
    * [https://support.mozilla.com/kb/Restore+the+default+Smart+Bookmarks+Folders Restore the default Smart Bookmarks Folders | Troubleshooting | Firefox Help]
    '''Related information:'''
    * [http://kb.mozillazine.org/Viewing_the_browsing_history_-_Firefox Viewing the browsing history - Firefox - MozillaZine Knowledge Base]
    * [https://support.mozilla.com/hu/questions/830859 When I search in &quot;History&quot; for items I've called up, I get a page with the heading &quot;Library.&quot; but with no text beneath it. Thanks.]
    Google Toolbar is no longer supported in Firefox 5 or newer versions.<br>http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars

  • How can I add one more path in the classpath tag in xml

    I have added the following line in the global-web-application.xml, and it works.
    <classpath
    path="/apps01/o9ias/j2ee/home/default-web-app/WEB-INF/properties"
    />
    But whenever I add one more path into it, the oc4j can't start.
    The Oracle manual Oracle9iAS Container for J2EE is beta. It doesn't tell the grammer to do that.
    Hopefully you can share some ideas and let me know how to add some more path into it.
    Thanks.
    Wei

    Hi Wei,
    I have just done a quick search of the following URLs
    http://www.orionserver.com
    http://www.orionsupport.com
    http://www.atlassian.com
    http://www.elephantwalker.com
    And -- as is nearly always the case -- found a shamefully minute amount
    of information, and what I did find was totally useless.
    Oracle have not produced any real documentation for OC4J -- they
    claim it's coming in the next release -- and, as I already said, I
    couldn't find anything on the Internet about "global-web-app.xml" or
    "classpath" element. Therefore (surprise, surprise) your only option
    (as I see it) is just experiment and try to hack the code.
    I wish someone would please tell me if there's another option, because,
    like you, I find it very frustrating to have to continually play
    "guessing games" when trying to work with OC4J. I imagine other people
    seem to enjoy this -- since I don't see anyone else complaining.
    In any case, have you tried multiple "path" attributes, for example:
    <classpath path="/your/path/" path="/your/other/path/"/>
    Got nothing to lose, have you :-)
    Good Luck,
    Avi.

  • How can I "add to library" other people's music

    I recently had some random person pop up in my itunes menu. I tried to select some songs and "add to library" some of his music, but it didn't do anything. Also, how do share random people's libraries like that? Thanks

    You can't. Copying from another person's computer would in most cases be a copyright violation (and definitely when it's someone you don't know) , so it's not possible in iTunes.
    As to why you're seeing those libraries, you're seeing the shared iTunes library from some other computer on your local network. If you don't want to see them any more, go into the iTunes Sharing preference and turn off "look for shared music". If you don't want to similarly be sharing your iTunes library with other computers, make sure that the "Share My Music" option is unchecked.

  • How can I add the logo image for a single item in an RSS feed?

    Hello,
    I am an administrator of iTunes U at the University of Minnesota.
    Before transitioning new public site, we are trying to figure out how to put a logo image into RSS feeds.
    We use our server to makes xml codes to create RSS feeds for podcasts.
    We successfully put a logo image for a collection in a RSS feed, but putting a logo image for a single item did not work.
    Below is the part of the xml code for the logo image for a single item, which is created by our server. I deleted other parts of xml code for your convenience.
    <item>
    <title>Plagiarism</title>
    <itunes:image href="http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimmin g-contast.jpg" />
    <enclosure url="http://mediamill.cla.umn.edu/mediamill/download.php.mp3?file=87504.mp3" length="8544508" type="audio/x-mp3" />
    <guid>http://mediamill.cla.umn.edu/mediamill/download.php.mp3?file=87504.mp3</guid>
    <image></image>
    </item>
    We tried both <itunes:image href="http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimmin g-contast.jpg" /> or <image>http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimming-conta st.jpg</image>.
    Both did not work.
    Can anyone help?
    Thank you for your help in advance!!
    Seogjoo

    Haven't created too many podcasts, but in this one
    http://itunes.apple.com/us/podcast/connecticut-college-sculpture/id372414245
    or
    itpc://video.conncoll.edu/d/sculptures/index.xml
    before we included the audio files, we added the images in iTunes.
    Select the file, then go to File>Get Info, here you can add metadata, and in Artwork add an image.
    Then upload this file to your server. Works for audio files anyways.
    You don't see the image in the web podcast, but you do in iTunes after you download each item, in "Show item artwork" in lower left. Click on the image and it zooms out.

  • How can I add a new field for Belgium in T588M?

    Hi experts,
    I am trying to change the infotype 0002 screen for BElgium. This is how I am doing T588M > new entry > MP000200 > alt. screen 2012 > var. key 12 >  feature p0002 >.
    I also maintained 12 as the var. key for the countr yBE in P0002 feature. I want to add P0002-GBDEP (state) field which is already there for MP000200 screen 2000 which is the SAP standard screen. why it  does not copy this field when I create this field for Belgium. HOw can I bring it for BEl. Please advise.
    Thanks a ton,
    JEss...

    As P0002-GBDEP is not included in screen '2012', you'll need to create an additional custom screen to show this field. Then, you'll need to config table 'T582C' to have 'MP000200' / screen '2012' to have this custom screen as an 'include' screen (e.g. if your new custom screen is ZP000200 / screen '0100', then in T582C, you'll need an entry with 'MP000200' '2012' ZP000200' '0100'.

  • How can I add a library asset to a specific master spread?

    Hello! I am new to the forums and rather new to javascript as it relates to indesign so I apologize if this is rudimentary.
    I am building a script that automates new document creation for our company and have run into a problem with placing library assets.
    I want to add a library asset to a specific master page by name, but I cannot find a way to do this.
    I can get assets to place into my document with this:
                var t = app.libraries.item(0);
                var libTapeStrip= t.assets.itemByName('Tape Strip');
                var myTapeStrip = libTapeStrip.placeAsset(myDocument);
    However, the asset is being placed on a master spread that I had previously added to the document. It seems to be the active or front most spread because when the script is complete and I create a new window that spread is what is displayed with the asset on it.
    I would like to place the asset on another master spread, but placeAsset() only accepts documents and text boxes. I have also looked on a way to bring the master spread I want to the front, but cannot find this either.
    If anyone can lead me in the right direction I would appreciate it!!
    Thanks,
    Ben

    @Benjamin – You could make the spread (or the page) where you want to place that asset the "activeSpread" or "activePage", place the asset and then go back to the old active one.
    Something like this:
    (Here I assume that you want to place your asset on a master spread named "A-Master" and the asset is the first in the one and only library file that is open.)
    var myDocument = app.documents[0];
    var myMaster = app.documents[0].masterSpreads.itemByName("A-Master");
    var myLibrary = app.libraries[0];
    var myAsset = myLibrary.assets[0];
    var myOLDActiveSpread = myDocument.windows[0].activeSpread;
    myDocument.windows[0].activeSpread = myMaster;
    myAsset.placeAsset(myDocument);
    myDocument.windows[0].activeSpread = myOLDActiveSpread;
    Uwe
    Message was edited by: Laubender
    Message was edited by: Laubender [Nothing edited in the code.]

  • How can I add a text substitution for changing st in 1st to superscript?

    I would like to add text substitutions for 1st, 2nd, 3rd, etc. so the letters show up as superscript. I attempted to change the st, nd & rd to superscript in Pages and tried to paste it, but it simply changed it back to regular format. How can I go about changing this?
    Thank you in advance for your help!

    It only works in TextEdit consistently for me. Mail forgets as soon as I sent the message. Pages doesn't even have an Edit > Substitutions menu, nor it is there anything in the inspector.
    So I use [Typinator|http://www.ergonis.com/products/typinator>, which works system-wide, no fuss, and it's more powerful than the built-in text substitution. Another alternative is [Text Expander|http://smilesoftware.com/TextExpander>.
    If the free trails and price still can't help you decide, see this [discussion|http://www.macheist.com/forums/viewtopic.php?id=13544] comparing the two.
    Edit: I eat my words. Getting Typinator to substitute superscript is tricker than I thought.
    Message was edited by: Sam_P

  • How can I specify an area path for the work item created on build failure?

    In our department we are working with multiple build definitions for different parts of one Team project. We heavily use the Team Project feature. Teams are defined by area path nodes, so each team can only see it's area path. No one (except the admins)
    can see the root project node.
    When a build breaks, TFS generates a Bug. Unfortunately, this bug is assigned to the area path root node, so nobody can see the generated bug and act on it.
    We would prefer to specify the area path for the generated work item in the build definition (not template, but property of a build definition), as every build belongs exclusively to one team.
    I have found that you can populate fields of the generated work item by filling the "custom fields" of the "create work item" activity. But how do I set the area path as a parameter?
    Guenter

    Hi Cuenter, 
    Thanks for your post.
    You should set the value like below in that activity:
    New
    Dictionary(Of
    String,
    String)
    From {{"Area
    Path",
    "teamprojectname\areaname"}}
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I add a "search" field for web pages content-not blogs or podcasts?

    This seems to be such a basic function, I can't believe I'm having so much trouble. I don't have a blog or a podcast on my new website that I'm in the process of designing. So how do I allow people who'll visit my site to search there for specified content? The only instructions I find are for the RSS in inspector for blogs or podcasts. All I want is for people to be able to search my site/web pages (that have no blogs or podcasts on them). This must be a common request... or am I crazy? How do I do that?
    Thanks for your help.

    I think I've answered my own question after a few hours of searching:
    http://services.google.com/searchcode2.html?accept=on
    Thank you Google.

  • How can I add Vender Batch FIELD for Movement Type 511

    Hi, guys,
    I tired to add a Vender Batch FIELD (LICHA) entry for Movement Type 511 through OMJJ/Field selection(Enjoy), but it's not allowed, is there any approach else to get it done? Thanks.
    Michael

    Hi,
    Try this path as SPRO-Materials Management-Inventory management and physical inventory-settings for enjoy transactions-settings for goods movement(MIGO)--field selection per movement type.
    If you add the field LICHA for movt 511.Make it optional or required entry whatever you want. It will come at the time of MIGO.
    Regards,
    Goraksh.

  • How can i add a library on an ipa file ?

    the solution from www.mocana.com  allows for maximum user flexibility and native experience, while not risking corporate intellectual property.
    * Increase productivity by fully supporting bring your own device (BYOD)
    * Embrace Bring Your Own Device (BYOD) without additional IT burden or privacy issues
    * Use best-in-class, military-grade security methods by a company known for its security legacy
    * Highest level of security protecting corporate data
    * No programmatic effort to secure the apps -  MAP is automated and can take prior written apps and secure them in under 5 seconds
    can someone tell me how this works?

    it works ... but i don't know how ... example :
    the solution from www.mocana.com  allows for maximum user flexibility and native experience, while not risking corporate intellectual property.
    * Increase productivity by fully supporting bring your own device (BYOD)
    * Embrace Bring Your Own Device (BYOD) without additional IT burden or privacy issues
    * Use best-in-class, military-grade security methods by a company known for its security legacy
    * Highest level of security protecting corporate data
    * No programmatic effort to secure the apps -  MAP is automated and can take prior written apps and secure them in under 5 seconds
    i hope someone can tell me how....

Maybe you are looking for

  • I can't connect to game centre - suddenly just a blank white screen?

    Please help - I've had my ipad for a few years and never an issue - all of a sudden yesterday Game Center won't open - none of my games connect so I logged directly on to the Game Center app icon and it just brings up a blank white screen. I have log

  • When I try to open firefox it pops up, "do you want to allow changes to your hard drive" everytime

    Firefox update while I was trying to resolve a issue with a brother fax drive to update for windows 7, now every time I go to firefox it pops up, "Do you want to allow changes on your hard drive" as if it didn't finish, so I answer "yes", firefox bro

  • Why can't my latest iTunes delete bonjour and quicktime?

    When downloading or updating itunes it says that lastest bonjor cannot be delete and quicktime cant be delete also which then quicktime cant be downloaded which then itunes cant.

  • Alternative to AP Divs?

    If AP Divs are such a bad idea in Dreamweaver CC because they're not compatible with different sized monitors, what's the alternative? How can I place an image without them? Are AP tables ok?

  • Create dataset

    Hello folks, I have a quick question: I need to create a dataset file and save it on my desktop. Then read data from a table and store it in my dataset file. How can I do this? Please advise and rewards will be given appropriately. Ol.