U2lcom.dll function error on Crystal Xl

I am getting the following error when i am running my report, i am using a barcode formula from a 3rd part UFL:
Crystal cannot display report. UFL 'u2lcom.dll' that implements this function is missing. Error in File Manifest {7C6C1024-04DA-4F02-B74C-9E413E7842DC}.rpt:
Error in formula Barcode:
'stringVar DataToEncode:= "1234"; '
UFL 'u2lcom.dll' that implements this function is missing.

Update to CR XI R2 and test again. See this blog on how to upgrade.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Share Your Knowledge in SCN Topic Spaces

Similar Messages

  • Error in Business Hrs Formula u2lcom.dll is missing

    Hi,
    I have recently migrated a Crystal Reports 10 Ent system to a Business Objects Crystal Enterprise XI R2 system.
    I have one problem with it which seems to be a mismatch in code and u2lcom.dll.
    One of my users gets the following error when creating and running a report:
    Error in file xxxx Error in formula <Business Hrs>
    wdaysClass1wdLoadFile ("C:\wdays.txt) UFL u2lcom.dll that implements this function is missing.
    I have installed Crystal Reports XI on a workstation, opened the report and tested the formula and it gives the same error.
    However, if i copy older dlls from c:\windows\crystal on the user's machine (he has versions 8.5, 10 and 11.5 of CR installed!) to my machine and register them it then works with no errors.
    The version of u2lcom.dll copied over is 8.0 and the version is installed with CR XI is 11 and is in common files\bus obj\3.0\bin\
    Is there a way of me recompiling the function or report to use the newer dll? i really don't want to have to use older dlls on the server!
    Any help would be greatly appreciated. I can paste the code from the formula if needed?
    Edited by: Ben Marshall on Nov 5, 2008 1:14 PM
    Edited by: Ben Marshall on Nov 5, 2008 1:44 PM

    wdaysClass1wdLoadFile ("c:\wdays.txt") ;
    datetimevar Start:= {Command.OPEN_TIME};
    datetimevar End:= currentdatetime;
    timevar defaultstarttime:= time(8,0,0);
    timevar defaultendtime:= time(18,00,0);
    stringvar workingdays:= "-23456-";
    datevar startdate:= date(Start);
    timevar starttime:= time(Start);
    datevar enddate:= date(End);
    timevar endtime:= time(End);
    numbervar HrsInAWorkDay:= hour(defaultendtime) - hour(defaultstarttime);
    While wdaysClass1wdIsWorkDay (startdate, workingdays) = FALSE do
        (startdate:= startdate +1; starttime:=defaultstarttime);
    While wdaysClass1wdIsWorkDay (enddate, workingdays) = FALSE do
        (enddate:= enddate +1; endtime:=defaultstarttime);
        if endtime < defaultstarttime then
                endtime:= defaultstarttime;
        if endtime > defaultendtime then
                endtime:= defaultendtime;
        if starttime < defaultstarttime then
                starttime:= defaultstarttime;
        if starttime > defaultendtime then
                starttime:= defaultendtime;
    numbervar totaldays:= wdaysclass1wdnumworkdays(startdate,enddate,workingdays);
    numbervar hours_fulldays:= (totaldays - 2) * HrsInAWorkDay;
    numbervar hours_FirstDateTime:= hour(defaultendtime) - ((hour(starttime)*60) +minute(starttime))/60;
    numbervar hours_LastDateTime:= (hour(endtime) + (minute(endtime) / 60)) - hour(defaultstarttime);
    hours_fulldays + hours_FirstDateTime + hours_LastDateTime;

  • UFL 'u2lcom.dll' that implement this function missing...

    Post Author: YAO
    CA Forum: Formula
    ey dudes,
    "UFL 'u2lcom.dll' that implement this function missing"
    Thats the error Crystal reports send me when i try to run a report.
    i searched for it and the file already exist.
    I use Crystal Reports XI
    Can u help me?
    Thank you.

    Don,
    thank you very much. It solved the issue.
    Earlier the vb6 dll was registered using an a/c id different than the one to login to Crystal Enterprise server from .Net code.
    Now copied the dll to 'c:\Program Files\Business Objects\common\3.5\bin\ on the server and ran,
    *regsvr32  c:\Program Files\Business Objects\common\3.5\bin\crufltest.dll and it woorked.*
    Thanks.

  • Error when calling a DLL function

    Hi,
    I am using external C++ code with labView. One of the DLL functions I use serves to call files. The directory and the name of the file is is passed as a parameter for this function. When the VI is running and arrives at this function (I use the Calling Library Function Node tool), the following message is displayed:
    ERREUR de type class boost::filesystem::filesystem_error.
    boost::filesystem:ath: invalid name "D:\Documents Johan\Johan\Stitching\Fichiers de mesure\front parfait\13z2" in path: "D:\Documents Johan\Johan\Stitching\Fichiers de mesure\front parfait\13z2"
    I do not know why this message is sent to me.
    Thanks for your answer
    JF

    Hello,
    How are you passing the file path to the DLL -- are you passing it as a
    string?  If you are passing at as a string, I would do some basic
    console output to make sure that your DLL is receiving the file path
    corectly as a string and perform your appropriate C++ function in your
    DLL.  If the error is occuring with passing the file path you
    might want to check out the links below for a little more information
    on this.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/7d6a20fe02edbf318625690700704cf3#4
    http://digital.ni.com/public.nsf/websearch/4E9234BA4C7C4ABE86256E3C0074760F?OpenDocument
    http://digital.ni.com/public.nsf/websearch/3B994675B17C654A86256FDD00754DD2?OpenDocument
    Hope this helps,
    Travis M
    NI
    Travis M
    LabVIEW R&D
    National Instruments

  • Error 0x80040707 - DLL function call crashed QTInstallCode

    Installing QuickTime Stand-Alone QuickTimeInstaller.exe Version 7.0.4.0 I get the following error and QuickTime will not load or function:
    Unhandled Exception
    Error Number: 0x80040707 - DLL function call crashed: QTInstallCode.QuickTimePostInstallProc
    Setup will now terminate.

    I was able to solve this, but I had to uninstall all instances of iTunes, ipod and QuickTime, delete their directories, use http://support.microsoft.com/kb/290301/
    to delete the installations of each and then use msconfig to remove them from the Startup.
    After that I rebooted and did a new install with the QuickTime Stand Alone and it worked!

  • Error: 0X80040707 DLL Function call crashed: QTInstallCode.QuickTimePostIns

    Hi,
    After installing the latest Quicktime on my XP 64-bit OS I get the following error message:
    Error: 0X80040707
    Description: DLL Function call crashed: QTInstallCode.QuickTimePostInstallProc
    Running quicktime and iTunes has not been a problem in the past.
    I done have absolutely everything that is avaliable on the support site. And I still have had no luck. Please help, I really appreciate it.

    That worked. Thanks for your help.
    I hope I dont have to encounter this problem again with Apples next release of iTunes or for that mater Microsofts next update patch.

  • U2lcom.dll Missing?

    I am using the Visual Basic EZQualHousingExpense function to find the Housing Expense from easyLender. 
    It is working fine on my laptop, but when I move the report to the Crystal Reports Server, it fails saying
    Error in formula <housing expense>. 'EZQualHousingExpense ({LOAN_APPLICATION.application_no}) ' UFL 'u2lcom.dll' that implements this function is missing.
    How can I fix this?
    I am using Crystal Reports XI.

    Hi Vicky,
    From your questions it appears to me that you are using a Custom Function, either developed by you or downloaded from some website. If you would like this formula to also work on the enterprise machine, then you will have to install this funtion on the server machine as well.
    How do you know if the function is installed: -
    On your Laptop, when you openb the formula which uses the function, you will find that it is blue in color. The same function will appear in black if it is not installed on the machine.
    Please let us know if this helps.
    Cheers!

  • Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report

    When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
    Error in Crystal Report:  Failed to export the report.
    This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter).  We have other subreports (within this same report) that print a sql image just fine.  But, when this subreport prints, the above error appears.
    I can run the same report on an XP machine without error.
    Exportmodeller.dll and crtsv.dll are both installed and registered to the
    C:\Program Files\Common Files\Business Objects\3.0\bin folder
    I have tried opening the report, removing the image, and then adding it back in again to the subreport.
    Still receive the same error.
    Any suggestions?

    >
    Don Williams wrote:
    > RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
    >
    > Upgrade to the .NET components and post your question to the .NET forums.
    >
    > Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
    Don,
    Can you please clarify?
    Our VB6 app that uses Crystal XI RDC runtime components.  Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer).  We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
    We can print/preview/export to excel, but the pdf creation is failing with this error.
    We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue).  Therefore, we have to rollback our .NET product and revert to the RDC code. 
    Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
    When you say  "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
    Thank you

  • Calling CVI DLL Function from Visual Studio

    HI all ,
    Iv'e created a DLL using CVI and i'm tring to call one of it's function from visual studio 6.0
    I'm getting a general error , is there a specific prototype that i need to set my functions in ordrer to call them ?!  
    Kobi Kalif
    Software Engineer

    You will need to distribute the CVI RTE along with your DLL, since anything you write in CVI is going to use the RTE.
    As far as calling the DLL functions, you can use the CVI defined macros
    <return type> DLLEXPORT DLLSTDCALL <function name> (<param1 type> <param1> ...) {
    to declare your functions in the DLL for access by a VS application.
    for example
    int DLLEXPORT DLLSTDCALL myfunction (int funparam1, double func param2) {
    There are options for identifying which functions to export from your DLL, I use "functions marked for export" but there are other choices available.  I also include a type library so when you type the name of a DLL funciton in VS6 you see a balloon popup with the function signature.  This is a check box in the target settings.  You have to create a ".fp" file (function panel file) to collect the function info for the library.
    From VB6 you can access the DLL a couple of ways, but I usually add the DLL as a reference.

  • LV 8.5 DLL - Windows error on exit

    I created a DLL in a LabVIEW 8.5 project, and found that if I used the 'Call Library Function Node' in a subsequent LabVIEW 8.5 VI, the DLL functions worked perfectly, but after I exited LabVIEW I would get the attached error from Windows.
    I then created a very simple DLL VI, and built separate DLLs from it in LabVIEW versions 6.1, 8.2.1, and 8.5. I created a set of simple VIs to call these DLLs using LabVIEW versions 6.1, 8.2.1, and 8.5.
    The DLL calls worked perfectly in all combinations of VI & DLL versions (for example, calling the 8.5 DLL from a 6.1 VI, or calling the 8.2.1 DLL from an 8.5 VI, etc.). I repeatably get the error message after exiting LabVIEW ONLY after opening an 8.5 VI that called the 8.5 DLL. I have also tried calling DLLs written by others in LabVIEW version 7 from an 8.5 VI, which worked perfectly and there was no error after exit.
    Does anybody know why I might be getting this error message?
    Attachments:
    Error.png ‏68 KB

    BEHajder wrote:
    Hello Yi Y,
    Thank you (and Rolf) for your replies.
    I have not been able to configure the DLL build or Call parameters to avoid the error popup from occurring.
    I have attached a zip file which contains 4 sub-folders:
    The "LV 8.2.1 DLL" folder contains a project to build a simple DLL in LabVIEW version 8.2.1.
    The "LV 8.5 DLL" folder contains a project to build the same simple DLL in LabVIEW version 8.5.
    The "LV 8.2.1 DLL Test VIs" folder contains 2 LabVIEW version 8.2.1 VIs, one calls the version 8.2.1 DLL, the other calls the version 8.5 DLL.
    The "LV 8.5 DLL Test VIs" folder contains 2 LabVIEW version 8.5 VIs, one calls the version 8.2.1 DLL, the other calls the version 8.5 DLL.
    My test procedure consists of opening one of the Test VIs using it's version of LabVIEW, and then exiting LabVIEW.
    If I open the "Test 8.5 call 8.5 DLL.vi", I always get the error after exiting LabVIEW. Opening the other test VIs do not result in an error after exiting LabVIEW. It does not make any difference if the test VI was actually executed or not.
    The projects and VIs are very simple, please let me know if you think there is a configuration somewhere responsible for producing the error. I guess I am very interested to know if the error is reproducible for you, I have tested this on two Windows XP PCs here and both get the error. Also let me know if there is a problem with the attached zip file.
    I can't find any configuration error in these VIs, HOWEVER:
    I've run the 8.2 DLL with 8.2 Test in 8.2 and everything was fine.
    And I've run the 8.5 DLL with the 8.5 Test VI in 8.5 and everything is fine too!! No error dialog independant if I just open the VI and close LabVIEW or if I run the VI before closing.
    So I guess it is more of an environmental problem than a pure LabVIEW problem.
    As to my computer all I can say it is a Sony VAIO, Pentium Mobile 1.5GHz, Windows XP Professional SP2, with latest fixes, Englisch OS version, just about any NI software starting from LabVIEW 5.1 up to and including LabVIEW 8.5, LabVIEW 7.1 and 8.2 with DSC, IMAQ, FPGA and RT software, NI-DAQ 7.4, DAQmx 8.6, MAX 4.3, NI-488, NI-VISA 4.2 and a few other drivers like CAN etc.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Failed to load WMSchApi.dll. Error 1114 All Operation disabled

    We currently have a large number or workstations that have imported fine, we
    can view diag info but are unable to use any remote control functionality.
    Below is an extract from the zen remote log file which shows a failed load
    off wmschapi.dll and a critical error .
    Anybody got a fix that can be automated
    Thanks
    Scott
    We're using the ZFD agent from IR4 patch which is working fine on other PCs,
    all 49 SP2 clients, W2K SP4.
    #(660)# 16:59:50 11/24/04 Normal : Loading : C:\Program
    Files\Novell\ZENworks\ZenLite.dll
    #(660)# 16:59:50 11/24/04 Normal : Loading : C:\Program
    Files\Novell\ZENworks\ZenPol32.dll
    #(660)# 16:59:50 11/24/04 Normal : ZENNDSUtil: Successfully loaded
    dependent modules...
    #(660)# 16:59:50 11/24/04 Normal : LoadZenAutilLibraryAndGetProc:
    Successfully loaded ZenAutil.dll and its dependent DLLs
    #(660)# 16:59:50 11/24/04 Normal : Console version is SP1
    #(660)# 16:59:50 11/24/04 Critical : ZenRmServer: Failed to find
    Console Version #0.6.5.1 in supportability list
    #(660)# 16:59:50 11/24/04 Warning :
    RMAudit::Auditing.cpp:RMSesstionStart() The audit log file is not found.
    #(660)# 16:59:50 11/24/04 Normal : ZENUtil:
    ZENIsWorkstationRegistered: wsDN 'CN#(660)# 16:59:50 11/24/04 Normal :
    Workstation is registered
    #(660)# 16:59:50 11/24/04 Normal : ZENNDSUtil: Attempting to read
    policies...
    #(660)# 16:59:50 11/24/04 Normal : ZENUtil:
    ZENIsWorkstationRegistered: wsDN 'CN#(660)# 16:59:50 11/24/04 Normal :
    Workstation is registered
    #(660)# 16:59:50 11/24/04 Normal : Reading workstation DN and tree
    name...
    #(660)# 16:59:50 11/24/04 Normal : workstation DN -
    CN
    #(660)# 16:59:50 11/24/04 Normal : Loading : C:\Program
    Files\Novell\ZENworks\WMSchApi.dll
    #(660)# 16:59:50 11/24/04 Critical : ZENNDSUtil: Failed to load
    WMSchApi.dll. Error: 1114
    #(660)# 16:59:50 11/24/04 Normal : Reading workstation DN and tree
    name...
    #(660)# 16:59:50 11/24/04 Normal : workstation DN -
    CN
    #(660)# 16:59:50 11/24/04 Normal : Loading : C:\Program
    Files\Novell\ZENworks\WMSchApi.dll
    #(660)# 16:59:50 11/24/04 Critical : ZENNDSUtil: Failed to load
    WMSchApi.dll. Error: 1114
    #(660)# 16:59:50 11/24/04 Normal : Neither policy settings active.
    All operations disabled.

    > We currently have a large number or workstations that have imported fine, we
    > can view diag info but are unable to use any remote control functionality.
    >
    > Below is an extract from the zen remote log file which shows a failed load
    > off wmschapi.dll and a critical error .
    >
    > Anybody got a fix that can be automated
    >
    > Thanks
    >
    > Scott
    >
    > We're using the ZFD agent from IR4 patch which is working fine on other PCs,
    > all 49 SP2 clients, W2K SP4.
    >
    >
    > #(660)# 16:59:50 11/24/04 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\ZenLite.dll
    > #(660)# 16:59:50 11/24/04 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\ZenPol32.dll
    > #(660)# 16:59:50 11/24/04 Normal : ZENNDSUtil: Successfully loaded
    > dependent modules...
    > #(660)# 16:59:50 11/24/04 Normal : LoadZenAutilLibraryAndGetProc:
    > Successfully loaded ZenAutil.dll and its dependent DLLs
    > #(660)# 16:59:50 11/24/04 Normal : Console version is SP1
    > #(660)# 16:59:50 11/24/04 Critical : ZenRmServer: Failed to find
    > Console Version #0.6.5.1 in supportability list
    > #(660)# 16:59:50 11/24/04 Warning :
    > RMAudit::Auditing.cpp:RMSesstionStart() The audit log file is not found.
    > #(660)# 16:59:50 11/24/04 Normal : ZENUtil:
    > ZENIsWorkstationRegistered: wsDN 'CN#(660)# 16:59:50 11/24/04 Normal :
    > Workstation is registered
    > #(660)# 16:59:50 11/24/04 Normal : ZENNDSUtil: Attempting to read
    > policies...
    > #(660)# 16:59:50 11/24/04 Normal : ZENUtil:
    > ZENIsWorkstationRegistered: wsDN 'CN#(660)# 16:59:50 11/24/04 Normal :
    > Workstation is registered
    > #(660)# 16:59:50 11/24/04 Normal : Reading workstation DN and tree
    > name...
    > #(660)# 16:59:50 11/24/04 Normal : workstation DN -
    > CN
    > #(660)# 16:59:50 11/24/04 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\WMSchApi.dll
    > #(660)# 16:59:50 11/24/04 Critical : ZENNDSUtil: Failed to load
    > WMSchApi.dll. Error: 1114
    > #(660)# 16:59:50 11/24/04 Normal : Reading workstation DN and tree
    > name...
    > #(660)# 16:59:50 11/24/04 Normal : workstation DN -
    > CN
    > #(660)# 16:59:50 11/24/04 Normal : Loading : C:\Program
    > Files\Novell\ZENworks\WMSchApi.dll
    > #(660)# 16:59:50 11/24/04 Critical : ZENNDSUtil: Failed to load
    > WMSchApi.dll. Error: 1114
    > #(660)# 16:59:50 11/24/04 Normal : Neither policy settings active.
    > All operations disabled.
    >
    >
    Just to support the previous person who also replied to this question. We
    had the same problem and it was the path. Someone pushed an app that
    replaced the path instead of appending to it and it killed the zen remote
    agent. Replacing the path to "c:\program files\novell\zenworks" path worked.
    Thanks much for the person who first suggested this.
    Neal...

  • How to use functional module in crystal report

    Hi all,
          I have imported my functional module to crystal report,
          but when i am previewing it  i am not getting data in that, according to my functional module.
          how to run my functional module through crystal report.
    thanks in advance

    Post Author: mewdied
    CA Forum: .NET
    'EXPORT to EMAIL        ''' Code for exporting the report to Mapi (.Net Windows application)        ''' *For a Web application you must export to disk as a PDF file first.
            crReportDocument.Load(Application.StartupPath + "\World Sales Report.rpt")        crMicrosoftMailDestinationOptions = New MicrosoftMailDestinationOptions        With crMicrosoftMailDestinationOptions            .MailCCList = "[email protected]"            .MailToList = "[email protected]"            .MailSubject = "Attached exported report"            .UserName = "admin"            .Password = "password"        End With
            crExportOptions = crReportDocument.ExportOptions        With crExportOptions            .DestinationOptions = crMicrosoftMailDestinationOptions            .ExportDestinationType = ExportDestinationType.MicrosoftMail            .ExportFormatType = ExportFormatType.PortableDocFormat        End With
            'Add some error handling        Try            crReportDocument.Export()            MsgBox("Report exported successfully.")        Catch err As Exception            MessageBox.Show(err.ToString())        End Try
    Hope this helps

  • How to pass a struct to a DLL function and accessing it in another VI

    Hi friends,
                       I am new to labview. I need to create a demo program in labview ,for displaying image from our own image capturing system. We have a  DLL ( build in VC++) containing functions for capturing image from our system. Now I need to create a VI library for some of functions in DLL and Create a Demo program using those created subvi library . I used "Call Function node" and created some of subvi's.
     Some of our DLL functions need to pass struct pointers.  Our function prototype will be similar to the following function.
    __declspec(dllexport) int __stdcall Initialize( unsigned char *imagebuffer,struct config *Configuration);
    The passed struct is similar to
    struct config
      double                val1[3];
      unsigned short   val2;
      bool                    val3;
      bool                    val4[3];    
      unsigned char    val5;    
      unsigned char   val6[3];
      bool                    val7[26];
    For passing "unsigned char *imagebuffer"  I initialized array with "Numeric constant " and set the size of the array and send to the function.
    The problem here is, I used this array in one of the subvi. 
    How can I use the returned imagebuffer array  in my main demo program. How to connect the image array to subvi "Connecter Pane"
    And  which control  can I use to display the image. The image data I get is form of 1-D Array .
    The second problem is,
                                 For passing the structure,  I used "Bundle " and filled the bundle with all the datatypes as in my struct and passed to the function. Is it correct ?  How to access this bundle after returned from function  in another Vi. ie.) How to connect this bundle to the connter pane ?
    Thanks for your valuable suggestions.
    aajjf.
    Message Edited by aajjf on 04-19-2007 05:34 AM

    aajjf wrote:
    Hi friends,
                       I am new to labview. I need to create a demo program in labview ,for displaying image from our own image capturing system. We have a  DLL ( build in VC++) containing functions for capturing image from our system. Now I need to create a VI library for some of functions in DLL and Create a Demo program using those created subvi library . I used "Call Function node" and created some of subvi's.
     Some of our DLL functions need to pass struct pointers.  Our function prototype will be similar to the following function.
    __declspec(dllexport) int __stdcall Initialize( unsigned char *imagebuffer,struct config *Configuration);
    The passed struct is similar to
    struct config
      double                val1[3];
      unsigned short   val2;
      bool                    val3;
      bool                    val4[3];    
      unsigned char    val5;    
      unsigned char   val6[3];
      bool                    val7[26];
    For passing "unsigned char *imagebuffer"  I initialized array with "Numeric constant " and set the size of the array and send to the function.
    The problem here is, I used this array in one of the subvi. 
    How can I use the returned imagebuffer array  in my main demo program. How to connect the image array to subvi "Connecter Pane"
    And  which control  can I use to display the image. The image data I get is form of 1-D Array .
    The second problem is,
                                 For passing the structure,  I used "Bundle " and filled the bundle with all the datatypes as in my struct and passed to the function. Is it correct ?  How to access this bundle after returned from function  in another Vi. ie.) How to connect this bundle to the connter pane ?
    Thanks for your valuable suggestions.
    aajjf.
    Message Edited by aajjf on 04-19-2007 05:34 AM
    You say nothing about how your cluster looks but I'm afraid you did the standard error here and placed arrays in it. That is not what the C structure is representing for several reasons.
    First fixed size arrays in C are inlined inside a structure, so are not a pointer but for the case of your val1 element three doubles.
    Second although not relevant here because of above point: LabVIEW arrays are not the same as C arrays. LabVIEW uses a pointer to a pointer and has the size of the array in elements prepended to the array data. C simply uses a pointer and all the rest is the programmers sorrow. The Call Library Node does convert the top level element of variables you pass according to the type configuration of that parameter but does no conversion of internal elements at all. So passing clusters with anything like arrays or strings is always wrong unless the DLL is aware of the specific datatypes LabVIEW uses.
    Last but not least you can end up with alignment issues. Elements in structures are aligned by every C compiler to a certain value. This value can be defined by the programmer in the project settings or for Visual C through #pragma pack() statements in the C code. The alignment rule says that an variable is aligned to the smaller of the two values that are either a multiple of the variable element size or the alignment setting. Most 32bit code nowadays uses 8 bit default alignment but LabVIEW always uses 1 byte. In your case there is nothing to observe since the large variables are at the beginning. Otherwise you might have had to insert filler elements in the LabVIEW cluster.
    One last thing bool is a C++ type only. Its size is 1 byte and incidentially this is the same LabVIEW uses for Booleans.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Error deploying Crystal Report XI R2 to Enterprise - Failed to read paramet

    Error deploying Crystal Report XI R2 to Enterprise - Failed to read parameter object.
    I know this issue has been addressed several times and the solution recommended was to install Service Pack 2. I have done that. It started working for me too; however recently I got some error saying some UDF***.DLL is missing. I re-installed Crystal Reports XI R2 and Service Pack 2. Unfortunately though, this error is back. I have restarted the machine n number of times but keep on getting this error.
    My report file has dynamic parameters defined through command object (SQL Query). My understanding is that once I publish the report to BoE Enterprise, BO will create LOVs and BV's in the repository. Now that is not happening.
    has any one else had this issue before and resolved it?
    Thanks

    Hi,
    do you export your CR report in your BOBJ repository using an account with administrator rights?
    Regards,
    Stratos

  • How to use dll function

    I have written a program which calls dll function from a dll in eclipse platform.But I am getting Unsatisfied Linker Error.How can I solve this problem?Can anyone help me out?

    Have a look at JNA:
    https://jna.dev.java.net/

Maybe you are looking for