Call from Library(pll) crashes

I have Forms module(Forms 4.5),and attached library,which increases in size.Library has it's own procedures and functions.When I open .fmx and when library procedure calls server package(procedure,function)
these things could happen:
1.Dr Watson
2.Program Error
3.Wrong return value
Then I must recompile .fmb and .pll,and it works some time.But later,the same things happen.
Can You help me?
Thanks in advance!

I have seen this happen when you change the spec of the library (or the spec of a package it calls) without regenrating
the Forms.
The rule is : if yuo change the library interaface (spec) then recompile the form.
Regards
Grant Ronald
Forms Product Mangement

Similar Messages

  • So I had pictures in an album called photo library and when i backed up my iphone to my computer, the pictures disappeared from my phone. They were pictures that had originally been transferred from my blackberry to my iphone

    I had pictures that I transferred from my blackberry to my iphone and they were in an album labeled photo library. my phone needed to be replaced so I backed it up to my computer and now my photos are gone. The camera roll pictures are still there but my 800 photos from my blackberry are gone. does anyone know where i can recover them from? are they gone forever? any help would be much appreciated. thank you

    I transferred my photos (I cant recall how i did) from my old blackberry to my new iphone.
    Okay.
    i also imported the photos to iphoto but it was only the pictures from the last six months (camera roll).
    Okay.
    I dunno if this information is useful but the photos im trying to recover were in an album called photo library and they were permanent and couldnt be edited or deleted on the iphone.
    These photos were never on your Mac. iPhoto only imports from the Camera Roll. You'd have needed to use a 3rd party app to get any other photos from your phone.
    Regards
    TD

  • Calling a DLL from LabVIEW causes crash

    Okay, this is an odd one. I have searched through various posts and have found several things that were close but not quite the same.
    I have a DLL. I pass to the function in the DLL two strings, each one representing an absolute path to a pair of files. I use a path control to get the paths and then convert those paths to strings. The function also has about 13 other parameters, each of which are U8's passed by reference. I have attached my VI and the DLL. I had to zip the DLL to get it a valid extension.
    The function opens the file pointed to by the first string and parses information out of it. It then tries to create some temporary files in a folder that W7 considers to be a safe temporary folder. The problem is that when I run this VI, LabVIEW crashes...hard. I get the message that LV needs to close. However, before it crashes, it successfully opens the file, parses the info out of it and creates one new file in the temp folder. So, the issue seems to happen after the function mostly finishes with everything it needs to do.
    One interesting note: I replaced the outputs of the path2string conversions with string constants pointing to the exact same files. Now LV doesn't crash. Instead I get an unhandled exception error in the DLL.
    Next interesting note: This same procedure called from another application written in C (on another system) works fine.
    Finally, I do have one advantage that most others don't: the developer of the DLL is a coworker of mine. So I have access to the source code.
    My coworker feels that the function is failing "between the lines" of code. He thinks it is some type of stack overrun but can't place it.
    Any thoughts?
    Thanks,
    Joe
    Attachments:
    dll_LoadConstantsFile.vi ‏15 KB
    gui_confread_dll.zip ‏40 KB

    Rolf, if I understood you correctly, here is the portion of the header file that declares the function:
    #define
    DLL_EXPORT __declspec(dllexport)
    BOOL WINAPI DLLMain(HINSTANCE hinstDLL,DWORD,LPVOID);
    extern
    "C" DLL_EXPORT void__cdecl LoadConstantsFile(char*filename,
    char*patch,
    uInt8 *load_status,
    uInt8 *device_type,
    uInt8 *multi_bom_available,
    uInt8 *hires_gain_available,
    uInt8 *dcdc_bom_option,
    uInt8 *bat_rail_type,
    uInt8 *num_mb_genconf,
    uInt8 *num_ring_presets,
    uInt8 *num_dcfeed_presets,
    uInt8 *num_impedance_presets,
    uInt8 *num_fsk_presets,
    uInt8 *num_tone_presets,
    uInt8 *num_pcm_presets);
    Here is a description of the function:
    Constants File Reader
    This is the main function that parses the constants files, collects information, and creates temporary script files. Run this FIRST.
    void LoadConstantsFile(char *filename,
    char *patch,
    uInt8 *load_status,
    uInt8 *device_type,
    uInt8 *multi_bom_available,
    uInt8 *hires_gain_available,
    uInt8 *dcdc_bom_option,
    uInt8 *bat_rail_type,
    uInt8 *num_mb_genconf,
    uInt8 *num_ring_presets,
    uInt8 *num_dcfeed_presets,
    uInt8 *num_impedance_presets,
    uInt8 *num_fsk_presets,
    uInt8 *num_tone_presets,
    uInt8 *num_pcm_presets);
    Inputs
    filename
    Full path and filename of constants file to be read
    patch
    Full path and filename of patch file to be loaded
    I/O
    load_status
    Updated with 0 if load successful, non-zero if unsuccessful (see codes table)
    device_type
    Updated with value representing device supported by the configuration file (see codes table)
    multi_bom_available
    Updated with 1 if configuration file supports the multi-bom format, 0 otherwise
    hires_gain_available
    Updated with 1 if configuration file supports the hires gain format, 0 otherwise
    dcdc_bom_option
    Updated with DCDC BOM Option of
    default General Configuration detected (see codes table)
    bat_rail_type
    Updated with Battery Rail Type of
    default General Configuration detected (see codes table)
    num_mb_genconf
    Number of general configuration presets detected (if multi-bom is supported)
    The items marked as "inputs" are meant to have something passed in as a value. The parameters marked as I/O are meant to have a pointer to them passed so the function can modify the values (passed as reference).
    The function simply opens the file at "filename" and parses out the info to update the other U8 parameters. The file pointed to by "patch" is simply opened to verify it exists and then closed.

  • Problem calling simplebutton from library

    Hi guys,
    I'd like to ask for your assistance. I have a problem calling
    SimpleButton from library. I already checked the Linkage:Export for
    actionscript but still an error appear "Call to a possibly
    undefined method OkBtn". I'm just wondering because this method
    works on my MovieClips except for SimpleButtons. Is there another
    way to call SimpleButtons?
    Here's my code calling MovieClip:
    var mc:MovieClip = new ourProduct();
    and same in calling my SimpleButton:
    var myOkBtn:SimpleButton = new OkBtn();
    please help.
    Thank you very much

    Hi again,
    Since I could not call my SimpleButton inside the library, I
    was thinking of putting my button inside the movieclip and call
    that clip inside my library.
    On my stage, I called
    underConstructionPane() movieclip. This
    underConstructionPane contains
    myOkBtn which previously I wanted to call but as a work
    around, I just put it inside
    underConstructionPane movieclip with instance name of
    okBtn. I added eventHandler on
    okBtn which supposed to call
    showHome() function outside
    underConstructionPane.
    showHome() was declared on the stage or root (I don't know
    the correct term. hehehe
    sorry.) but I don't know how to call that function.
    I tried this:
    var home = new showHome();
    but it won't work.
    Please help me
    Thank you.

  • Calling reuse library functions from UI Designer

    Hello everybody,
    to implement my requirements the custom reuse library function has to be called from UI with action parameters.
    Unfortunately those parameters can be chosen either as constants or they ought to be BO-bounded.
    On the following screenshot the standard SAP reuse library function is shown, but the behaviour is the same for the custom reuse libraries.
    Since the parameters have to be flexible and since my UI component isn't BO-bounded I can't pass the required parameters.
    I assume this reuse functions functionality is designed in order to not be connected to the BO instances. So I don't understand why the parameters of the reuse function can't be chosen e.g. from the Data Model of the UI component.
    Does anybody know how to call reuse functions without being forced to bind to some BO?
    Best Regads.
    Leonid Granatstein

    Hello Gerhard / Leonid,
    The reuse library requires a data type for its parameters.
    This is not ensured for arbitrary elements of the data model.
    Plus the execution of the reuse library is done in the backend which does not know the data model.
    Therefore this restriction.
    Sorry,
       Horst

  • IPhone crashes dialing or receiving a call from a specific number

    This problem i've had for a while.
    Basically when i receive or make a call to a specific number ie (0191420**) my iPhone becomes unresponsive with the green incall bar across the top when i make the call and a complete crash when receiving it, although it logs the call as a missed call when the iPhone is restarted. I cant end the call until i restart the phone.
    Originally the number was a business contact in my address book contacts, then, when i started getting the problem, I deleted the contact thinking it was corrupt. It didn't make any difference.
    All my contacts are synced over mobileme and this contact was deleted over all my devices, powerbook, iPhone and iMac.
    But still when i dial or receive this number and only this number the phone locks up straight away.
    It started on my iPhone 3G then when i synced my new iPhone 3GS the problems continued even over a complete restore.
    I'm thinking its something to do with the contacts list file but don't know how to correct it with out deleting all my contacts which isn't an option.
    I've searched all the forums but nothing is mentioned about this specific issue.

    Hi Macintoad,
    I think I had the exact problem as what you are having. Having a greenbar on top while making call, and can not press any button, also the Iphone screen is blinking while a call is comming from that number and ontop of this, the contact name wont display on outgoing/incoming sms messages.
    I did manage to fix it by doing this, hope this also works for you..
    Backup all contact details to computer - address book.
    Delete that specific contact detail (Hopefully you don't have too many contacts causing this problem - I only had 1 number causing this)from both your computer(s), and mobile me.
    Add back all contact details from address book to your Iphone - I only add contacts, without any other settings (I had to reinstall all apps).
    Add manually that number back to the phone, and then sync back to computer/mobileme.
    Please let me know if this works...
    Good luck!

  • When syncing my iphone it loaded photos from my PC onto my phone and created another photo album called Photo Library and I cant delete them

    When I synced my iphone4 it downloaded some photos from my PC onto my phone and created a new album called Photo Library.  I cannot delete these photos on my phone.  I have tried another sync and made sure that the photo sync box was not ticked.  It asked me if I wanted to delete previously downloaded photos off my phone and I said yes but it did not delete them.

    I may have misread your post.  If you are trying to remove the photos synced from your computer you should be able to do this by unchecking Sync Photos on the Photos tab and syncing.  If you did this and the photos are still there then something failed.  You might try rechecking Sync Photos, syncing, then uncheck Sync Photos and syncing again to see if it works this time.

  • We are getting calls from "peoples connect u.s.a." telling us they are providers of service for Microsoft and Macintosh. They have been informed our computer has informed them our drivers are in going to crash. legit. We think they are bogus. Right?

    Does anyone else get calls from "Peoples' Connect U.S.A." indicating they have received error signals from our computer that that all drivers are going to crash and that our system is at high risk?

    I get about one a day, usually saying our Windoze computer is infected (we don't have a Win computer). I cheerily thank then for calling and say I need to transfer them to our IT manager (I'm a home user so no such thing), lay down the phone near a radio with elevator music, and go about my business.
    One person reported here within the last month that they fell for the trick. The callers ended up with $600 of her money for something that did not need fixing. They also ended up with her credit card number, her phone number, and her e-mail address. They had a good day; she didn't.
    As most of these calls come from overseas (I call them "Mike from Mumbai" calls), the FCC can't do much but wring their hands. They've not been able to stop the "Rachel from Cardholder Services" robo-calls that have been plaguing US households for nearly a decade.

  • IPhone 6 seems to crash when making phone call from Mac

    When using my iPhone 6 Plus to make phone calls from the Macintosh, (initiating call from Mac Contacts app in Yosemite) the iPhone continually brings up the Apple logo and does a quick restart over and over again. The phone call, however seems to work, but it's just that the iPhone looks as if it's going crazy showing the Apple logo and then the home screen over and over again.  This had worked initially, but not anymore. Both iPhone 6 and MacBookPro up to date with updates.

    If you never find an app that will do it then you could have a go at making one yourself-I don't think you need to pay Apple as long as you don't want to sell it.

  • I have 2 photo albums on my iPhone that i want to delete. One is called "Photo Library" the other is called "iPhonePics". I cannot delete any of the photos in either album. How do I delete the photos and/or the albums?

    I have 2 photo albums on my iPhone that i want to delete. One is called "Photo Library" the other is called "iPhonePics". I cannot delete any of the photos in either album. How do I delete the photos and/or the albums?

    You can uncheck multiple songs by selecting all the songs you want to uncheck, then right-click and choose "uncheck selection".  Also, make sure that you have checked "Sync only checked songs and videos" on the Summary tab of your iTunes sync settings or the sync process will ignore your selections.
    You can remove all the photos from your camera roll using Preview on your Mac.  Connect your phone to your Mac, open Preview, go to File>Import from iPhone.  When your photos appear in Preview, select the photos you want to delete, then click on the icon at the bottom showing the red circle with the diagonal line through it (see image below), then click Delete.
    To remove photos from the Photo Stream album on your phone you'll have to either reset Photo Stream (deleting all the photos from iCloud) or turn off Photo Stream on your phone.

  • How do I get the imported favorites to appear as normal and not in a subfolder called "From Internet Explorer"?

    I successfully imported my favorites/bookmarks from IE to Firefox but they show up as a subfolder called "From Internet Explorer". Since I live on the computer 8 - 12 hours a day using my favorites that's additional clicks standing in the way of getting where I want to be...thus I keep going back to IE even though it doesn't work as well as Firefox....

    You can drag them out of that folder (or use Cut & Paste) in the Bookmarks Manager (Library) to a more convenient position.
    *https://support.mozilla.org/kb/how-do-i-use-bookmarks

  • How to auto-recognize the function parameters called from a DLL built by VC6.0

    Hi,
    I use Teststand 3.5 with C/C++ Adapter, and the DLL is built by VC6.0.
    While I specify module for an action, the parameters of a function called from the DLL are not recognized.
    Since I have the DLL source, I know I can select the source file and verify prototype in the "Source Code" Tab.
    Under the way, almost parameters can be recognized, but some parameters, e.g. HANDLE or I definded, can not ( shows error message "The function definition cannot be found in the source file...").
    How to recognise these parameters?
    Thanks.

    The problem isn't that TestStand doesn't have enough native types. A handle can be represented in a TestStand numeric variable just fine. Instead, the issue is that when you select Verify Prototype, TestStand doesn't fully pre process your headers and compile your code to determine the types. To do so would require TestStand not only to be a full C/C++ compiler but it would also have to be able to read your compiler's projects and settings to resolve include paths, macros, etc.
    Since TestStand is not a C/C++ compiler, it just looks for the standard basic data types plus a few more that are common in test code.  Other data types will not be automatically recognized even if they can be mapped to TestStand types.
    Another option it to create a type library for your dll so that TestStand can automatically read the data type information from it. However, I don't know if that works for struct parameters and I looked for the document on devzone that explains how to do that in VC++ and it has been moved or deleted
    Maybe an AE would know of a link to a current document that describes how to do this?

  • After updating to new 2014 updates Lightroom would not go from 'library' to Develop - screen was greyed out with the message saying:- Please renew your membership to reinstate the develop module. My membership is up to date. I then uninstalls Lightroom an

    After updating from CC to new 2014 updates Lightroom would not go from 'Library' to 'Develop' - develop screen was greyed out showing the message 'Develop module is disabled. Please renew your membership to reactivate the Develop module.' Since my membership is fully up to date. I then uninstalled Lightroom 5 and then installed it again. Now when I try to open Lightroom 5 its LOGO flashes onto the screen and then 'crashes' in an instant. Please fix.

    Hi brooks45,
    Please try the steps mentioned in the KB Doc : http://helpx.adobe.com/lightroom/kb/unable-launch-lightroom-55.html
    Regards,
    Rave

  • Get the ID of a dynamically created symbol from library, INSIDE another symbol.

    Hi everyone,
    I'm trying to get the id from a dynamic created symbol from library.
    When dynamically creating the symbol directly on the stage (or composition level), there's no problem.
    But I just can't get it to work when creating the symbol inside another symbol. 
    Below some examples using both "getChildSymbols()" and "aSymbolInstances" 
    // USING "getChildSymbols()" ///////////////////////////////////////////////////////////////////////// 
    // ON THE STAGE 
    var m_item = sym.createChildSymbol("m_item","Stage");
    var symbolChildren = sym.getChildSymbols(); 
    console.log(symbolChildren[0].getSymbolElement().attr('id')); // ok eid_1391853893203
    // INSIDE ANOTHER SYMBOL
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement()); 
    var symbolChildren = sym.getSymbol("holder").getChildSymbols(); // Am i using this wrong maybe?
    console.log(symbolChildren.length) // returns 0 so can't get no ID either
    // USING "aSymbolInstances"" ////////////////////////////////////////////////////////////////////////// 
    // ON THE STAGE
    var m_item = sym.createChildSymbol("m_item","Stage"); 
    console.log(sym.aSymbolInstances[0]); // ok (i guess) x.fn.x.init[1] 0: div#eid_1391854141436
    // INSIDE ANOTHER SYMBOL
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
    console.log(sym.getSymbol("holder").aSymbolInstances[0]); // Javascript error in event handler! Event Type = element 
    In this post http://forums.adobe.com/message/5691824 is written: "mySym.aSymbolInstances will give you an array with all "names" when you create symbols"
    Could it be this only works on the stage/ composition level only and not inside a symbol? 
    The following methods to achieve the same are indeed possible, but i simply DON'T want to use them in this case:
    1) Storing a reference of the created symbol in an array and call it later by index.
    2) Giving the items an ID manually on creation and use document.getElementById() afterwards.
    I can't believe this isn't possible. I am probably missing something here.
    Forgive me I am a newbie using Adobe Edge!
    I really hope someone can help me out here.
    Anyway, thnx in advance people!
    Kind Regards,
    Lester.

    Hi,
    Thanks for the quick response!
    True this is also a possibility. But this method is almost the same of "Giving the items an ID manually on creation and use document.getElementById() afterwards".
    In this way (correct me if i'm wrong) you have to give it an unique ID yourself. In a (very) big project this isn't the most practical way.
    Although I know it is possible.
    Now when Edge creates a symbol dynamically on the Stage (or composition level) or inside another symbol it always gives the symbol an ID like "eid_1391853893203".
    I want to reuse this (unique) ID given by Edge after creation.
    If created on the stage directly you can get this ID very easy. Like this;
    var m_item = sym.createChildSymbol("m_item","Stage");
    var symbolChildren = sym.getChildSymbols(); 
    console.log(symbolChildren[0].getSymbolElement().attr('id')); // ok eid_1391853893203
    I want to do exactly the same when created INSIDE another symbol.
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
    Now how can I accomplish this? How can I get the Id of a dynamically created symbol INSIDE another symbol instead of created directly on the stage?
    This is what i'm after.
    Thnx in advance!

  • LABVIEW.LIB was not called from a LabVIEW process

    Hi All,
    I've inherited LV code that calls a CIN node to access a motor controller.  I'd like to compile this code to a .NET DLL, but receive the following error when calling it from an external source:
    I've read the knowledgebase article explaining the problem from here, as well as the following support questions:
    http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-called-from-a-labview-process/m-p/232548
    http://forums.ni.com/t5/LabVIEW/Problem-with-lsb-LABVIEW-LIB-was-not-called-from-a-LabVIEW/m-p/48809...
    http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-calld-from-a-labview-process/m-p/718427
    http://forums.ni.com/t5/LabVIEW/Building-a-LabVIEW-DLL-with-VIs-that-use-CINs/m-p/632817
    The conclusion seems to be recompiling is the answer.  I've tried recompiling the original CIN vi within LV with no success.  Do they mean to recompile the original C code against the newer labview.lib (sorry, I'm not all that familiar with how the CIN nodes work)?  Any suggestions would be awesome.  Thanks.
    -Joe

    You can't make use of LabVIEW manager functions in non-LabVIEW based processes. Basically unless the C code is for a CIN or DLL that is to be called by LabVIEW (inside the development system or a LabVIEW built application), any function pulled in from labview.lib is not available. LabVIEW.lib is an import library that does not implement any functions but simply imports them from the LabVIEW kernel, either the LabVIEW development system or the LabVIEW runtime DLL. And no you can't just link in the LabVIEW runtime DLL into your .Net application. This DLL needs to be started up and initialized in very specific ways, that only LabVIEW itself knows about when building an application.
    Basically if you want to recompile the code (yes in C/C++) for use in a non-LabVIEW application, you also have to remove all the link libraries from the LAbVIEW cintools directory, and replace any use of functions now unavailable (link error: unavailable external reference) with other similar functionality from your C runtime library. Or implement those functions yourself using C runtime library calls.
    Another possibility could be to actually create a LabVIEW executable that exports the functionality as ActiveX Server. Or in LabVIEW 2010 you could also select to create a .Net Interop Assembly from inside the LabVIEW project.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for

  • How do I put an "arrow" in a movie?

    Pretty simple question - I should know this. I just want to draw a simple arrow in over a clip to direct the viewers attention to an object. But I forget how! And can't seem to figure it out? Just a simple arrow to point to something - using Comic Sa

  • Power button not working on 4s

    Power button on 4s doesn't work, any suggestions.  Apple store associates says it can't be fixed. Only a little over. A year old.

  • Windows Programming with Java??? Is it possible???

    I have a small request from a client (Windows User) who wants a really simple POP3 email checker. I basically need to achieve the same thing that many email clients do, where they show some sort of symbol in the System tray when there is new email. I

  • How to delete developer's SAP UserID and his SSCR key on SMP?

    How to delete developer's SAP UserID and his SSCR key on SMP? Dear Experts, Background: I want to delete developer's SAP UserID and SSCR key in QAS and SMP. Because as I known, developer's SAP UserID(registered SSCR key) is belonging to the SAP Licen

  • Integration Scenario OR Collobration profiles and Aggrements

    Hi all,          Is the process creation of Communication Channels, Actions and Integration Scenario in IR and then Importing these Comm Channels and Integration Scenario in to ID is the best way                           OR          In ID Manually c