C DLL does not working in LabVIEW-20​11, but works good in LabVIEW-20​09

The C-Language dll which I have for an instrument is working good in LV2009 without any errors, but in 2011 it throws 1097 Error code.  In this link, it is mentioned that calling convention in "Call Library Node" is changed since LV2010 which I guess could be the reason for the error.  But trgically I need to develop my code in LV2011.  Does anyone have an workaround to make the dll work in LV2011?
Thanks,
Ajay. 
Solved!
Go to Solution.

And the particular issue at hand is, that stdcall functions CAN have but DON'T have to have a particular naming decoration in their exported name (a @<number> appended to the name, and LabVIEW doesn't show this decoration in the drop down box). Before LabVIEW 2010 the Call Library Node automagically corrected a configured C calling configuration to stdcall if it recognized that decoration. They removed that in 2010 because it is possible, and most probably happened in the wild, for a C function to be explicitedly named with this pattern but get exported as C calling convention. With this automatic and hidden correction, LabVIEW is totally unable to call such a function.
The not so nice thing about this would be IMHO that this automagic correction happened sneakily in the background without even being visible at all (the option in the Call Library Node stayed C calling convention, despite that LabVIEW really decided to use stdcall). And it got made even worse by the fact that 2010 removed this sneaky correction but did not add any mutation code to correct for that, when updating a VI from a previous LabVIEW version. That all said the evil has been done and can't be reversed now. Everybody just has to live with it.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • I am running Lion on both my Macbook Pro and iMac.  Outlook 2011 bombs out and does not even open on my iMac but works perfectly on my Macbook Pro.  Help please.

    I am running Lion on both my Macbook Pro and iMac.  Outlook 2011 bombs out and does not even open on my iMac but works perfectly on my Macbook Pro.  Help please.

    Check for updates by running MS Office Update directly from:
    /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
    (Open Finder, ⇧⌘G, paste in the above and click)

  • Satellite A660-11M: Does not start with 8GB of RAM, but works with 6GB

    Satellite A660-11M:
    I upgraded my RAM from 4GB (2x2GB) to 8GB (2x4GB). When I start the computer I can see in the BIOS it reads the 8GB of RAM. However, when it boots up, it does not go past the blank DOS screen (just before starting Windows).
    If I remove one of the 4GB & replace with a 2GB (so I have 6GB in total) it starts ok.
    Does anyone know how can I get it to work with 8GB of RAM?

    Hey,
    To be honest I never heard about SanMax RAM modules...
    In my opinion the problems is related to your RAM modules Not compatible to your notebook or defective.
    Can you test it with high quality modules from Kingston or pretested modules from an authorized service provider?

  • Menulauncher.dll. does not office extention

    System is win 8
    office 2013
    adobe presenter 10
    when i try to convert ppt file to scorm packet presenter menu disappear from office menu bar
    then I try to add menulauncher.dll
    but i experience "menulauncher.dll does not office extention" message on the screen
    I tried to oll fallowing steps but unfortunataly
    Issue
    The Adobe Presenter menu doesn't appear in PowerPoint even though the Adobe Presenter Add-in for Microsoft PowerPoint is installed.
    Solution
    Click the Office PowerPoint button (upper left), and then click PowerPoint Options.
    Select Add-Ins. In the Manage pop-up menu at the bottom of the Options dialog box, select Disabled Items and click Go
    In the Disabled Items dialog box, click the Presenter add-in, and then click Enable.
    Note: There aren't any items listed in the screenshot. In your installation, you sometimes see the Adobe Presenter PowerPoint Add-in.
    Click Close.
    If the above solution doesn't work, try the following: 
    Click the Office PowerPoint button (upper left), and then click PowerPoint Options. 
    Select Add-Ins. In the Manage pop-up menu at the bottom of the dialog box, select COM Add-Ins and click Go. 
    Select Adobe Presenter Powerpoint COM Addin from the list. Write down the Location path. 
    Deselect all add-ins in the list except the Adobe Presenter Addin and click Remove. 
    Click Add and navigate to the MenuLauncher.dll file at the location you wrote down in step 3. 
    Click OK. Click OK again.
    Click Help > About Microsoft Office PowerPoint > Disabled Items. 
    In the Disabled Items dialog box, click the Presenter add-in, and then click Enable. 
    Click Close. 

    FYI;
    Service Pack 2 was already in place. After installing the Cumulative Update package 2 fro SQL Server 2012 SP2, and attempted to opened an SSIS project. I then received the following error:
    TITLE: Microsoft Visual Studio
    Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{203E24BD-5203-4C76-AFC7-7C8545EBA1A0}'
    failed due to the following error: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD)).
    BUTTONS:
    OK
    -Douglas

  • My new Dell PC running Windows 8 does not recognize my iPad or iPhone. Worked OK for iPhone for months but would not work for new iPad.  I removed /relaoded iTunes and now it won't recognize either iPad or iPhone.

    My new Dell PC running Windows 8 does not recognize my iPad or iPhone. Worked OK for iPhone for months but would not work for new iPad.  I removed /relaoded iTunes and now it won't recognize either iPad or iPhone. Got any suggestions?

    Hi there Lizabethfromaz,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    -Griff W. 

  • When I go to edit a picture from Lightroom to Photoshop it does not open in Photoshop, it use to work before the latest update, but I deleted the last version of CC and now it isn't editing photos!  HELP please required.

    When I go to edit a picture from Lightroom to Photoshop it does not open in Photoshop, it use to work before the latest update, but I deleted the last version of Photoshop CC and now it isn't editing photos!
    Lightroom opens up Photoshop but the image doesn't appear!  Any help gratefully needed!

    Ok I sorted it, by uninstalling and re-installing Photoshop

  • TS1398 my ipone 4s does not see any wifi networks my ipad works ok tried all of the above resetting network etc still does not see wifi ?

    my ipone 4s does not see any wifi networks my ipad works ok tried all of the above resetting network etc still does not see wifi ?

    If no change after restoring the iPhone with iTunes as a new iPhone or not from the backup, the iPhone has a hardware problem with the wireless card or with something else.

  • Resource-only DLL does not contain executable code

    A resource-only DLL does not contain executable code. Since
    LoadLibrary (http://msdn.microsoft.com/en-us/library/windows/desktop/ms684175.aspx) attempts to call the entry point before returning, it will fail for resource-only DLLs. Instead, you should call
    LoadLibraryEx (http://msdn.microsoft.com/en-us/library/windows/desktop/ms684179.aspx) passing a
    LOAD_LIBRARY_AS_DATAFILE, LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE, or
    LOAD_LIBRARY_AS_IMAGE_RESOURCE flag, to load a resource-only DLL. This prevents to loader from attempting to call the entry point.

    Hello,
    Just check if there is space in the front of these numeric values or some garbage value...if there is... then it may not be able to pad it up with zero and hence the issue...check in R/3 about how these values are stored...you can remove the space from the front and change it in PSA...and then load but first do the analysis of the source system and see why its coming up wrong.
    Regards
    Ajeeet

  • My bluetooth just keeps searching on my new iPhone 5s and does not recognise my car bluetooth which was working perfectly with my 4s.

    My bluetooth just keeps searching on my new iPhone 5s and does not recognise my car bluetooth which was working perfectly with my 4s.

    Maybe it's because of Mfi approving (https://developer.apple.com/programs/mfi/)
    I have Sony bt GPS but can't use it with my wifi iPad because it's not approved.

  • Firefox does not open proprely on the page but forms only 1/3 of page

    When i open any site Firefox does not form properly on the page but takes up only 1/3 of the page (to the right).

    Uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox that prevents new tabs from being opened.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • My Macbook Air does not pick up wifi from Airport but iMac, iPad and iPhone do. Help please.

    My Macbook Air does not pick up wifi from Airport but iMac, iPad and iPhone do. Help please.

    Are you testing in the same room as the TC?
    Power cycle the TC.. does it show up now?
    Has it ever showed up .. ie is this a problem that just started from an existing setup, or has never worked?
    Is the TC new? If old how old?
    If you continue to have issues.. setup the TC from iMac and preferably using ethernet.
    Change the wireless names to SMB compatible ones, short no spaces, pure alphanumeric.
    Use WPA2 Personal security only.
    Then set the wireless channels manually.. try 11, 6, 1 for 2.4ghz and try 36 or 40 at 5ghz.
    Tell us how that goes.

  • When using quick edit for compressed CSS, edge code does not jump to the particular class but displays the whole thing. This destroys the whole purpose. Does anyone know a fix or extension for that.

    When using quick edit for compressed CSS, edge code does not jump to the particular class but displays the whole thing. This destroys the whole purpose. Does anyone know a fix or extension for that.

    I suspect that beautify doesn't touch CSS that it is not aware  of (e.g. new properties/syntaxes, vendor-prefixes). See if there's a newer version available.
    Which compressed CSS are you using? Most CSS libraries come with both compressed and original stylesheets, so use the original one during development/debugging, and switch to the compressed one for deployment.
    Randy

  • IF YOU HELP MY NANO upgraded when you install PERFECT BUT DOES NOT APPEAR ON THE SCREEN NOTHING BUT as if you were OFF if turned PLEASE HELP OR MORE AND HAS THE NEW UPDATE

    IF YOU HELP MY NANO upgraded when you install PERFECT BUT DOES NOT APPEAR ON THE SCREEN NOTHING BUT as if you were OFF if turned PLEASE HELP OR MORE AND HAS THE NEW UPDATE

    iPod not recognized in 'My Computer' and in iTunes for Windows

  • I got a new cord to charge my iPhone 5c. After a few weeks it stopped charging sometimes when I do plug it it does not indicate thAt it's charging but the percentage goes up. What do I do? I

    I got a new cord to charge my iPhone 5c. After a few weeks it stopped charging
    sometimes when I do plug it it does not indicate thAt it's charging but the percentage goes up.
    What do I do? I

    First ensure there is no fluff or debris in the charging socket of the iPhone
    Is the new cable a genuine Apple cable ,or a cheap knockoff ?

  • When I add a contact to my iPhone 4s it does not sync to my gmail contacts but it will sync to my iPhone when I add directly onto my gmail?

    When I add a contact to my iPhone 4s it does not sync to my Gmail contacts but if I add a contact directly through my Gmail account it syncs automatically. How can I make it sync both ways?

    Hmmmm....But even when I do that, the two playlists go into the general music file and mix together. So I don't understand the point of a playlist if it all just gets thrown into the general mix. Seems like if you create a playlist, it should be separate--otherwise, what's the point? Or maybe I'm missing the point. Sigh...

  • My iPhone 5s is plugged in. It does not show that it is charging but gives the alert "ding" sound every 15-16 seconds. Does anybody know what could be the problem?

    My iPhone 5s is plugged in. It does not show that it is charging but gives the alert "ding" sound every 15-16 seconds. Does anybody know what could be the problem?

    It sounds like it starting to charge, then suddenly stops over and over.  This can happen if the cable or adapter is bad or if your charing port has an issue.
    Try using a different cable and/or wall adapter.  If the issue continues, it's probably the iPhone.  If it does not continue, then it's the cable or adapter.  Continue to swap to see what's bad.
    If you don't have another cable or adapter to test will, take your iPhone and your cable/adapter combo to an Apple Retail Store or Apple Authorized Service Provider.  They can help you narrow the issue down and provide service as indicated. https://locate.apple.com/country

Maybe you are looking for

  • Cannot delete items from Downloads folder

    I was doing some maintenance on my iMac and noticed that in one account there were a large number of downloads. I logged into that account and tried to delete the files but they would not delete. I have Parental Controls enabled (only time limits) bu

  • Problem with bullets in a UL

    I have a problem, with ordered lists and the bullets hiding behind an image. You can view the layout on the page http://www.mansfield.gov.uk/env_menu/ts_energy_main/ts_energy_savings.htm, at the moment it uses the style ul { list-style-position:insid

  • TYPE of HUNTING in UCCX

    We use Contact Center for our Helpdesk. When calls come in, they always seem to land on the same guys desk first if he is not on the phone. If he's idle, calls always seem to go to him first even when there are two other available support personnel.

  • Quality inspection Rejection report

    Hi Gurus Is ther Any Standard SAP report When I can see only the Usage decision rejection in inspection lot. I want to see only rejection, not accepted? your ealry responce will be appreciated Regards Krishna

  • Concept needed to clarify

    I would like to ask some concept in JSP Is that the variable declare in the <% %> is global variable or instance variable? If two client access the same JSP at the same time, and there is a variable x=0; And then this JSP perform x++ and display x. T