Starting a dylib from the plugin

Hello,
i have the following problem:
I have a dylib created with qt.
I can easy start this from my plugin under Windows and use it quite nice.
But on the mac the following occurs, after loading and all work well
and also my dylib starts (it is creating a little Window) InDesign CS3
drops the error:
MenuMgr::UpdateMenuForDisplay asked to update nil menu?
But well i did not use the menu i simple open an dylib.
Any ideas what this can be and how i can solve this would help me a lot,
because at the moment its a little mystery for me.
Here is a code snippet i use:
void *my_plugin = dlopen("libname.dylib", RTLD_NOW | RTLD_LOCAL);
typedef int (*func) (wchar_t ** &szchar);
func f1;
f1=(func) dlsym(my_plugin, "Suche");
wchar_t ** DAT=NULL;
f1(DAT);
dlclose(my_plugin);
So my dylib starts but after that error:
MenuMgr::UpdateMenuForDisplay asked to update nil menu?
Also the Indesign Window menu seems destroyed ^^
Thanks in Advance
Ferdinand
(ahh and there are several reasons why i must open a dylib so a window
in my plugin does not help me)

Hello,
thanks for the reply´s.
Well, no Hans-Juergen at the moment i am still searching a solution.
Yes this error comes also when i only create a simple qt dylib with only a messagebox.
So i tryed if this also appeirs when i don t use qt.
I created a dylib with a messagebox under carbon and baeng that works.
So it seems Indesign don t like qt ^^
But this will be to bad because in that case i must rebuild all
what i have done in windows also in carbon again....
Thanks for your reply also Dirk.
Well normaly my dylib should not effect Indesign (but well sure the
problem is it does) because i load the dylib extern its not compiled in the plugin, but well sure it shares the memory with the plugin.
The event Handlers should normaly not give a signal to Indesign because its extern or things under mac must work completly different to windows and how i know them.
Yes the only way will be i think to capture the event in my plugin,
but at the moment i have no glue where to place this.
Any other ideas maybe ?
Normaly i would say ok it don t works with qt, but it does it so nice under windows ....
Greets Ferdinand

Similar Messages

  • I keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get it when I either try to open it from the Start menu or from the desktop icon.

    I've just installed Firefox on my laptop and keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get this message whenever I either try to open it from the Start menu or from the desktop icon. I've never gotten it to work and even uninstalled it and then redownloaded it and still cannot get it to open. Any help would be greatly appreciated!!!!

    Are you installing from the official site? http://www.mozilla.com/firefox
    If you use Windows Explorer (My Computer) to check that path, is the Mozilla Firefox folder there? That is the normal installation location, but I think it's worth checking.
    If the folder isn't there or firefox.exe is not in it, I wonder whether some other software might be interfering. You might want to run some supplemental security scans. These two tools are highly regarded:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
    SUPERAntiSpyware : http://www.superantispyware.com/

  • I have a mac os x ver. 10.5.8 2x2.8 quad. my start up disk is almost full. can i change my start up disk from the original hard drive to an additional hard drive i added in Bay 4?

    i have a mac os x ver. 10.5.8 2x2.8 quad. my start up disk is almost full. can i change my start up disk from the original hard drive to an additional hard drive i added in Bay 4?

    Always want to keep the boot drive with more free space than may seem necessary for performance and to function at its best, 30-40% free or even 50% is not excessive.
    Ideal is to separate your system from your data.
    You should always have bootable backup / clone of your system
    Don't use a green drive for system or data though.
    When you are done cloning system and/or data, remove the old original and keep as backup.
    Then move the system drive to #1 - no matter what you want to reset the default boot volume to where the system is.
    Using Cloning as a Backup Strategy
    Carbon Copy Cloner 3.4.1 
    http://www.bombich.com/software/updates/ccc-3.5.html
    How to clone your system:
    http://macperformanceguide.com/Mac-HowToClone-backup.html
    http://macperformanceguide.com/Mac-HowToClone.html
    http://www.macupdate.com/app/mac/7032/carbon-copy-cloner
    http://www.macperformanceguide.com/blog/2012/20120711_2-MacPro-internal-clone-ba ckup.html 
    How to relocate system and user data to another drive:
    http://support.apple.com/kb/HT4337
    By staying with 10.5.8 you are not going to receive security updates, might want to consider 10.6.8.

  • When i sync my ipad to a new one and transfer my apps will i have to start my game from the beginning

    when i sync my ipad to a new one and transfer my apps will i have to start my games from the beginning or will they sync over to where i left off?

    Game settings are part of the backup. Only if you back up manually before syncing, you can restore your device from that backup again. A manual backup does not include the sync process.
    Do this:
    Disable autosync in iTunes, connect your iPad to your new computer and right click on it in the device list and choose backup. iTunes will backup your device without syncing.
    Transfer your purchases the same way, choosing "transfer purchases" this time.
    When you connect your iPad for the first time, all media content will be erased. But you can restore your settings and app data from your manual backup afterwards.
    Don't forget to set up at least one contact and event on your new computer to be able to merge calendars and contacts when you sync the iPad for the first time.
    Music is one way only, from the computer to your device, unless you bought the songs in itunes and transferred your purchases.
    There is 3rd party software out there, but not supported by Apple, see this thread:http://discussions.apple.com/thread.jspa?threadID=2013615&tstart=0
    About backups and what's saved:iTunes: About iOS backups
    How to back up and restore:http://support.apple.com/kb/HT1414
    How to download apps for free again:http://support.apple.com/kb/HT2519
    Saving other data is also described here. How to back up your data and set up as a new device

  • Trying to check for updates but I keep getting an error from the plugin checker.

    I try to find updates for the plugins I have installed and when I get to the site I get this message:Plugin Finding Service Error
    We've encountered an error. Please try your request again later.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • IPod shuffle 4th Gen. How to start playing podcast from the very beginning once again?

        Hello to everybody in this forum,
    I bought a new iPod shuffle 4th Gen music player for about two weeks ago. I love this device, it works great as well as it's sound quality amazes me after Windows Mobile 6.0 Phone, Transcend MP3 and even Samsung Galaxy Ace devices use experience. It's much better and it made me got used to podcasts feature I never tried before, But if I want to replay the very same podcast item from the very beginning - I simply don't know how to rewind it back. If I press next/prev buttons it doesn't help. The podcast itself starts to play at about 5 minutes before a podcast's end as if I were listened to the whole podcast continuously from the beginning of a podcast. A podcast appears to be divided into chapters and I don't understand how to switch chaprers. Even if I did, the amount of chapters is big and it's inconvenient to swith every chapter with prev button pressed. Shuffle's manual tells me nothing on how to get things work I want it to. Any help is appreciated.
    Best regards, Alexander Chernyaev.

        Hello to everybody in this forum,
    I bought a new iPod shuffle 4th Gen music player for about two weeks ago. I love this device, it works great as well as it's sound quality amazes me after Windows Mobile 6.0 Phone, Transcend MP3 and even Samsung Galaxy Ace devices use experience. It's much better and it made me got used to podcasts feature I never tried before, But if I want to replay the very same podcast item from the very beginning - I simply don't know how to rewind it back. If I press next/prev buttons it doesn't help. The podcast itself starts to play at about 5 minutes before a podcast's end as if I were listened to the whole podcast continuously from the beginning of a podcast. A podcast appears to be divided into chapters and I don't understand how to switch chaprers. Even if I did, the amount of chapters is big and it's inconvenient to swith every chapter with prev button pressed. Shuffle's manual tells me nothing on how to get things work I want it to. Any help is appreciated.
    Best regards, Alexander Chernyaev.

  • Starting a program from the shell into a vncserver running on 5901

    I started a vncserver via `vncserver -geometry 1792x1008 -alwaysshared :1` and within it, I am running xfce4 just fine.  I would like to start a program from a shell outside of the vncserver.  I tried the following but got errors.  What am I missing?
    % DISPLAY=1.0 lxterminal
    (lxterminal:17489): Gtk-WARNING **: cannot open display: 1.0

    Try
    $ export DISPLAY=:1
    $ lxterminal
    That works over here.
    Last edited by mwillems (2015-04-21 00:03:43)

  • Starting a workflow from the ribbon

    Hi
    I'm running SharePoint 2013 with Workflow Manager 1.0.
    I have a SharePoint Desginer Workflow which start from the following
    URL:
    ~site/wfsvc/06f8de2413bc41fe869414fc061435f9/WFInitForm.aspx?List={ListId}&ID={SelectedItemId}&TemplateID="
    + workflowTemplateId +
    "&WF4=1&Source={Source}'
    I've included the above in my Custom Action Definition (created programmatically in c# code).
    I can however not figure out where to get my workflowtemplateId from. I found some articles about how to do this in 2010 workflows but none about workflow manager 1.0 workflows.
    Just in case it helps. I'm creating the workflow subscription as follows:
    var clientContext = new ClientContext(web.Url);
    var workflowServiceManager = new WorkflowServicesManager(clientContext, clientContext.Web);
    var workflowDeploymentService = workflowServiceManager.GetWorkflowDeploymentService();
    var workflowSubscriptionService = workflowServiceManager.GetWorkflowSubscriptionService(); 
    var unpublishedWorkflowDefinitions = workflowDeploymentService.EnumerateDefinitions(false);
    clientContext.Load(unpublishedWorkflowDefinitions);
    clientContext.ExecuteQuery();
    foreach (var unpublishedWorkflowDefinition in unpublishedWorkflowDefinitions)
         if (unpublishedWorkflowDefinition.DisplayName == workflowName)
                                        // Re-Publish the Definition
                                        workflowDeploymentService.RefreshLoad();
                                        clientContext.ExecuteQuery();
                                        workflowDeploymentService.SaveDefinition(unpublishedWorkflowDefinition);
                                        clientContext.ExecuteQuery();
                                        workflowDeploymentService.PublishDefinition(unpublishedWorkflowDefinition.Id);
                                        clientContext.ExecuteQuery();
                                        // Create new subscription
                                        WorkflowSubscription newSubscription = new
    WorkflowSubscription(clientContext)
                                            DefinitionId = unpublishedWorkflowDefinition.Id,
                                            Enabled = true,
                                            Name = associationName
    I expected templateId to be something like the newSubscription.DefinitionId but that doesn't give me the right Guid.

    var workflowSubscriptions = workflowSubscriptionService.EnumerateSubscriptions();
    clientContext.Load(workflowSubscriptions);
    clientContext.ExecuteQuery();
    foreach(var workflowSubscription inworkflowSubscriptions)
    // workflowSubscription.ID now contains the ID that we need.
    Full details can be found on my blog: http://wp.me/p1fg2Y-8F

  • Once I have started a download from the app store can I cancel it?

    Hi, I have a macbook pro early 2013 and am runnings Mavericks Version 10.9.4...Once I start a download of a free app from the app store, if I change my mind can I cancel the download?  If so HOW
    Thanks,
    Scootsmama

    When downloading the app, hold the option key down and click the "Purchase" tab at the top.
    Click the Cancel button .

  • Start with dates from the past in the planning book

    I want to maintain some figures from the last 14 days in the past.
    And I want the planning book to show these 14 days, when I open the planning book.
    (I do not want to scroll back).
    In my Data view i have to define a Time Bucket profile for the future. (system demand)
    This profile I has defined with one day.
    The Time Bucket profile for the past are 21 days.
    When I start the planning book with the view, I see only one column with todays date.
    I want to see the past 14 days, and therefore I have to scroll back.
    Is it possible to start with the last 14 days?
    - By setting the Period information in the Data view tab?
    - By other settings?
    - By macro?

    Hi Per,
    You need to go for a developing an ABAP report. The development calls for updating the planning start date in the data view design mode.
    You can use function modules /SAPAPO/MSDP_PB_READ_DVIEW and /SAPAPO/MSDP_PB_SAVE_DVIEW_TAB.
    So the logic could be as follows:
    1. First develop a FM which will determine the planning start date as per your requirements. This has to be with respect to the system date. So this Function module should in effect subtract 14 days from system date and store in a date field.
    2. Using the FM  /SAPAPO/MSDP_PB_READ_DVIEW, this date can be updated in the data view / PLanning start date field.
    3. Using FM /SAPAPO/MSDP_PB_SAVE_DVIEW_TAB, you can save and generate the data view.
    After developing the program you need to schedule this in background so that the planning start date is calculated and stored automatically.
    You need to take care of one thing though. In case there are any macros developed in the data view/macro book, the start dates for macro execution will be changed as well. You need to tweak those as per your requirements.
    Hope this helps.
    Regards,
    Ashutosh

  • My macbook pro has started to disconnect from the internet using wireless.  Wireless is provided by apple time machine.  None of the other apples in my home have this problem.  Faulty wireless card?  Other suggestions?

    wireless not working mac book pro

    1. Power off the router. Unplug it from the wall. Wait a while.
        Plug it back to the wall. Power the router on. Wait until all the lights are lit properly. It will take a while.
        Restart the computer.
        Start up in Safe Mode.
        http://support.apple.com/kb/PH14204
    2. Deselect Proxies if selected.
        System Preference > Network > Advanced  > Proxies Tab
        Under "Select Protocol", uncheck any box if selected.
        Click "OK" then  "Apply”.

  • Firefox 11 will not install air or start air application from the badge install

    Seems to work in Chrome, but I need this to work from within firefox...11 is the default for the windows platform we must use.
    Running window 7 64-bit for development, and the air app is html javascript (J Query) created in dreamweaver 5.5
    any help...thanks

    Strange - You can't even install it directly on the phone from the App Store. Have a look [http://support.apple.com/kb/TS1702 this Apple troubleshooting article]. Beyond that, Apple would probably be better equipped to help you.
    Let us know if you have any new information.

  • MDT Deployment Wizard doesn't start after booting from the LiteTouchPE.iso

    Hello Experts,
    I'm using the MDT 2013. When I boot the Physical machine or VM with the LiteTouchPEx86 or x64, I'm not getting the Deployment Wizard. It just stops with a command prompt X:\Windows\System32>. Anyone faced this problem earlier. I searched the Technet, but
    I couldn't find any solutions.
    I've done all the possible things which I know. Please help.
    Regards,
    Sukumar. R.

    You are getting some kind of crash, or your variables are not setup correctly.
    From the command prompt (X:\Windows\System32 ) Run the following command and let us know what the error message is (exactly):
    cscript x:\deploy\scripts\litetouch.wsf /debug:true /debugcapture
    It should crash or exit with error error. If it does not crash with a specific line number, then please copy the bdd.log file to a public site like OneDrive and copy the link here.
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • Is there a way to start a sync from the appletv?

    I am constantly having to go back to the study where the computer is and manually sync both appletv's because I know new podcasts are there but my ATV's haven't sync'ed yet. or if I'm watching a movie in the living room and want to pickup where i left off in the bedroom, I have to manually sync. is there a way to invoke a sync from the TV with a apple remote?

    no there isn't

  • When I START a Query from the WAD....

    Hello Experts,
    I create a nice Template in WAD 7.0
    When I start this, comes first of all a Variable Selection. In TOP of this Selection, I want the Report NAME. How
    can I do this, and where can I do this...
    THANK you ALL..

    I notice your post is from last year so I assume you might have solved your problem My only suggestion would have been to uninstall the game and start again - make sure you save your games that you want to keep. Also you might want to go Documents - EA Games - Sims 3 - Downloads and remove the Downloads folder to your desktop and then you can just put it back into the Sims 3 folder when you reinstall your game - it just makes anything extra - towns etc that you downloaded previously easier to access. Then when you log in to the game you can easily reinstall the extra bits without having to down load them again.

Maybe you are looking for