Dlopen() and variables in the library

Is there anyway to have permant variables inside a library loaded with dlopen()?
Currently whenever i run the function inside my library all the global variables that i had set earlier are gone, is there anyway to keep them set?

I already solved this one and it just was one of my many n00b mistakes ^^
(= memsetting all variables in my apps to zero in the main() function... just that the dll function doesnt only get called once like in normal apps ^^ )

Similar Messages

  • I just purchased a ipad 2 and have not sync it yet.  I have an old pc and would like to move the itunes library account to a newer pc that I have.  Can I move the library to the ipad and sync ipods to the ipad and/or move the library to the new pc?

    I just purchased a ipad 2 and have not sync it yet.  I have an old pc and would like to move the itunes library account to a newer pc that I have.  Can I move the library to the ipad and sync ipods to the ipad and/or move the library to the new pc?

    Perhaps this web page will help: http://support.apple.com/kb/ht1229
    But I must point out that leaving the iPhoto Library on the external is worth considering. Your internal drive would be better off without having to carry the photos.
    When you booted with the external connected and you were asked for the library, did you try navigating to the Library in on the external drive?

  • Notification "Launch the app and go to the library" not working as expected

    Hello,
    we are sending notification "Launch the app and go to the library" - but it's not working as expected, it's still just launching app with last open folio.
    Whats wrong there? Do we need v30 app? We have V29, but this is not mentioned in documentation.
    Thanks
    Martin

    Ah.
    Ok, now it's clear.
    Anyway i would appreciate possibility to force viewer to switch to library view after new issue is detected, even without notification. Quite often requested feature - "there is new cover in Newsstand, but customer don't know how to download new publication easily".
    Martin

  • TS2518 I upgraded to Aperture 3.4 this morning, and now it will not open at all! It crashes every time, and tries rebuilding the library and repairing most times. The Library open fine in Iphoto

    Every time since I upgraded this  morning, attempting to open Aperture causes a crash. I upgraded to Aperture 3.4 this morning, and now it will not open at all! It crashes every time, and tries rebuilding the library and repairing most times. The Library open fine in Iphoto

    If you do not have the original install DVDs, use the Aperture Trial installer instead:
    Try if this download link for the trial version still works: if yes, you can unlock it with your serial number:
    http://appldnld.apple.com.edgesuite.net/content.info.apple.com/Aperture/061-8328 .20101020.AprE3/ApertureTrial3.1.dmg
    Regards
    Léonie

  • I can't find a plug in that i downloaded and put in the library/audio file when I'm in garage band

    I can't find a plug in that i downloaded and put in the library/audio file when I'm in garage band?

    In GarageBand 10.0 and GarageBand '11 are the plugins (Audio Units) installed in
    /Library/Audio/Plug-Ins/Components/
    What is the GarageBand version? Not all plug-ins are compatible with the newest version GarageBand 10.0
    The version number is shown in the "About panel" in the main menu bar: GarageBand > About GarageBand
    If you are having the newest GarageBand 10.0, the Audio Units will show in the panel in the Smart Controls of the Track you selected.
    Scroll the "Info" pane down all the way or enlarge the Smart Controls pane by dragging the dividing line to the track area upward, until you see theAudio Unit Brick. 
    Most panes in GarageBand 10.0 can be scrolled.  If you do not see the scroll bars, they will appear automatically, when yous start scrolling. Or enable them permanently in the System Preferences > General > Scroll Bars. This is useful, as long as you do not know yet, which panes have hidden items that will need scrolling, to make them visible.
    The Smart Controls need to be enabled in GarageBand Preferences >Audio Midi.
    Some Audio Unit plug-ins will no longer work, since the new GarageBand 10.0 is a 64-bit only application; the 32-bit plug-ins are incompatible.
    See this document:  GarageBand for Mac (v10.0): Unexpected behavior with Audio Units plug-ins

  • Is there a way to move "back" and "forward" through the Library?

    Is there a way to move "back" and "forward" through the Library?
    For example, I'm editing Symbol_1, then I move to Symbol_22. Now to get back to Symbol_1 I need to find it again in the Library and double-click on it. Is there a shortcut for that?

    No, but you can always use the library search option to widdle down the number of items displayed. It'd be a good feature request as I find myself hopping between specific movieclip depths on common clips often. Sort of like a clip/depth bookmark.

  • My iTunes gave me the option to erase and sync with the library or just sync with iTunes purchases. Since I hadsongs from many different sources, but which were all in the library, I tried the erase and resync option. It wiped out all my songs and put in

    My iTunes gave me the option to erase and sync with the library or just sync with Itunes purchases. Since I have songs from more than one source and all my music was in the library, I chose the erase and sync option. All my music was wiped off my iPod and a few recent iTunes purchases were synced onto the iPod. All my music is still in the library, but it won't sync to my iPod. Making me crazy.

    do this
    http://docs.info.apple.com/article.html?artnum=61148

  • I am trying to edit track names and genres from the library in iTunes, but the Get Info window has everything in grey, so I cannot edit anything. How do I edit?

    I am trying to edit track names and genres from the library in iTunes, but the Get Info window has everything in grey, so I cannot edit anything. How do I edit? Any ideas?

    I have the same problem since I installed iTunes 11.1.0.126.

  • Attaching Variable to the Library for Report Painter for Cost center report

    Hi,
    I want to attach the Variable - "Cost element group" to the Library for Report Painter for getting Cost center report. The Cost center report should be cost element group wise with actaul, budget and variance. Please let me know the process.

    hi..
      I think you have to first define Attribute mis as "V" in Cost element master basic data tab for the elements you want to capture as varible.
      Then make a Cost element group / set in KAH1/GS01 and use it in your report.
      kkumar

  • HT1660 I want to put my itunes library onto new computer, can i just sign in and bring up the library without having to back it up and reinstall it all

    I want to transfer my itunes library to a new computer can i just sign into my apple account and transfer all the tunes or do i have to back it all up and reinstall?

    I want to transfer my itunes library to a new computer can i just sign into my apple account and transfer all the tunes or do i have to back it all up and reinstall?

  • My iTunes Library is replicating songs and albums in the library - ghosting

    I recently collated many iTunes libraries and manually deleted duplicate files. Now when I open iTunes I'm seeing two and sometimes three of the same albums and songs I know I deleted. When I look in my hard drive I see that there are no duplicates but in the library file the duplicates clone themselves.
    Is there a way I can fix this issue without loosing my library file and consequently loose play lists and features I've programmed.

    I second this problem. Sometimes the song will have the same title other times it will slap the name of the artist in front of the title so I can't just hit the find duplicates button I have to manually go through my whole library. Once I do delete them all I go back through my library a little latter and its started to do it again.

  • Moving files and folders in the Library module

    I teach a lot of LR users and one area that's consistantly frustrating and unintuitive (even to some experienced users) are the rules for moving files and folders around in the Library module. I'm not sure I have all the right answers/suggestions/remedies but here are the basic points worth examining:
    1) Additional hard drives aren't listed unless images from it have been imported into Lightroom. It would be nice if people could add a new hard drive without importing files from it. People don't get it that you can select "Add Folder" from the Folders pop up menu. Classic example: Say someone has purchased a new hard drive for archiving purposes. It's empty and they want to drag folders of images onto it from within LR. Possible Solution: include a "Add Drive..." option from the Folder's panel + pop-up menu that would behave the same and add a root level folder.
    2) One can't drag more than one folder at a time. While I assume this is designed to prevent accidental mass movement it would be nice if one could enable the movement of multiple folders. 
    3) One can't drag a folder onto the main drive bar that lists the drive's name and capacities - one has to drag onto a folder within a drive. I'd love to be able to drag a folder onto the root level of a drive by dropping onto the drive bar (this would be similar to the MacOS finder).
    4) Sometimes the root level of a drive isn't apparent. One may need to right click on a folder and select "Show Parent Folder" to show the root level folder which is named after the volume. Showing a root "folder" that has the same name as the drive is also confusing to people since there isn't actually a folder on the hard drive with that name.  I completely understand why folders are hidden by default and I'm not sure the remedy is but, again, this isn't intuitive for new users. If #3 worked as described perhaps we could have root level access without the root folder?
    Scott Martin
    www.on-sight.com

    Perhaps I should add that I really like and appreciate a lot of the decisions that have already been implemented into the Library's Folder's tab. Moving files instead of copying them, showing only folders that contain imported images, the ability to show or hide parent folders.... Bravo!

  • I've lost the majority of the connections between my projects and items in the library (showing up as "missing files"). I've moved nothing. How can I reconnect? The items show up as missing in the library as well as in the "movie".

    I am using the version 10.0.9 which might have been an automatic upgrade from my original version.
    The majority of my connections between library items has been lost. The items show up as missing files both in the library and when I run my project. How can I re-estabish these connections?

    Did you try using the relink function?

  • Filetring and Variables in the multiple tab Template result

    Gurus!
    I have a strange problem in one of my template. I have four queries and four tabs for each in one of my Web Template. I use a jump command in between queries to switch tabs . Its RRI= X, and when I do this the executed result I have a strange problem. For any variable selection the report works fine. But only for a variable with the hierarchy selection, the result filters on many characteriestic elements and selects some selected (on its own) elements under that Hierarchy and displays the result when I switch tabs.
    I think it may have something to do with the dynamic  filtering of the Presentation Hierarchy by using the jump. But i am not able to figure out the problem and need to understand the reason behind this. If someone of you have even a little bit of information will be helpful

    Hi Khaja,
    thanks for the quick response.
    I checked the query properties. The order is already
    1. Month
    2. BY 1
    3. BY2
    4. BY3
    Somehow the the exchange date is between 2 and 3 - the exchange date is not a normal variable it is used by the SAP currency conversion (variable).
    Does somebody has an idea how to change the order, so that the exchange date is not between my BY's?
    Thanks,
    Michael

  • What is the best way to back up aperture on imac and then take the library on the road for my mcp?

    I have just aquired a lacie triple interface ext drive 1tb, to vault aperture and then take on the road for mcp to access the aperture iamges, looking at some of this forum I dont think this is as easy as i thought so i thought I'd better get some help!
    I have not activated the ext hard drive yet just in case, my imac is backed up with time machine presently.

    Hi Dave
    I use a MBP  and a Mac Mini when on the road
    It has always been my practice not to use the system drive for my photographic data where ever possible always using external drives eSATA and FW for the MBP and using USB drives for Vaults and Clones
    I am working with a growing Libary at the moment 720GB + 500 GB of referenced files on a second HDD
    I will be scooting down the A30 with a couple of HDDs and my MBP on my way home and whilst there I will be using the my MBP  to add new images to my aperture Libary and Referenced Drive and work on some of my existing files
    For the last four years I have used a Ruggedised 500GB FW/USB drive to store copies of my CF cards when on a shoot you need the MBP to transfer from CF to HDD but once on the HD any future transfer is quick.
    Only reusing it when I have the contents in at least two external HDD's at different locations
    I have a Mac Pro and Wiebetech 4bay eSATA external at my studio (It takes bare drives)
    Two years ago I did move to using an eSATA EspressCard|34 with my MBP (which only has a 200GB internal) which has ineffect given me a  2TB external running as if it's an internal drive (Ruggedised eSATA) as my Aperture Library and PS scratch file drive.
    And 2TB USB drives as Vault backup
    I have never been a Time Machine fan from the early days when there were problems when running Aperture, I'm sure it's improved but I have my own work flow routine
    I use SuperDuper form Shirt Pocket
    I recently purchased a couple of 2TB WD Green 2TB SATA 6Gbps 64MB Cache Power Saving Internal Hard Drives
    for £60 each and two empty Lacie cases for £18 each from Amazon so storage has never been cheaper I normally use bare drives but the cases are better when I am away from base and its easy to remove them
    Hope this helps
    Phil G
    PS. If you're down Penwith over the next month look me up and I show you the set up

Maybe you are looking for

  • Location error in finding a lost iPad

    I've just bought an iPad2, got it al set up and subscribed to the MobilMe search feature as the initial test. the location it came up with was nearly a mile off. Whose error is this and can it be corrected?

  • Include JSP in JSP - Error:  cannot be resolved to a type

    Hello, Several of my jsp pages include other jsp pages. The project has many errors: "x cannot be resolved to a type". Is there a way to resolve these errors? Below is a small example of the issue: JSP #1: <%@ page import="com.testing.Introduction" %

  • I download pro logic 9 to my second computer but some instruments are missing, can anyone advise me on this? Thank you. Gene

    I download pro logic 9 to my second computer but some instruments are missing, can anyone advise me on this? Thank you. Gene

  • System maintenance/optimization

    What the best system maintenancep app for tiger? I used System Opitimizer X on panther and i just upgraded to tiger a week ago and when i type in text boxes now the text lags a bit behind the key stroke.And yes I know the whole "well osx maintains it

  • Quick ram question

    im looking at this for buying ram: http://eshop.macsales.com/shop/memory/Mac-Pro-Memory i have 1 gig in my mac pro right now, 2- 512's I'm confused on what I should get. It seems like what I figured would be more expensive is less and vice versa. i c