Using the xsd libraries in borland c++ builder

I am having difficulties using the xsd libraries in my project. I am trying to use the schema validator. I have included the oraxml.hpp and oraxsd.hpp header files, and I have added the provided libraries to the project. The first error was that the library files were erroneous.
I then used the implib tool to create the library files from the dlls in the bin directory. I then add these new library files to the project.
Now the linker cannot find the functions.
[Linker Error] Unresolved external XMLParser::xmlint(......).
I get the same error whenever I try to use any of the functions.
Is there anything I am missing out when trying to link and compile?

Is there any difference between VC++ builder and Boland C++ builder? We have tested the sample using the VC++ builder.
Which XDK version do you use?

Similar Messages

  • Program NI boards using the DAQ Libary and Borland C++ builder 5

    Hi,
    I am programming Lab PC-1200 NI boards using the DAQ Libary and Borland C++ builder 5.
    But I get the following error msg:"[Linker Error] 'C:\NI-DAQ\LIB\NIDEX32.LIB' contains invalid OMF record, type 0x21 (possibly COFF)" although I have linked all DAQ lib files in C builder.
    Anyone who had tried or succeeded in a similar application and solved this problem??
    Thank you in advance for your help!

    Hi w,
    Please check out this related DevZone question/answer:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=5065000000080000007D180000&ECategory=Measurement+Hardware.Real-Time+Data+Acquisition
    The basic reason is that we design our libraries for many environments, but Builder is not one of them. You can use the dll's (they're just dll's), but you will need to make your own library or use run-time linking.
    For more information about run-time linking, you can try http://msdn.microsoft.com and search for "About Dynamic-Link Libraries"
    I hope this gives you a start.
    John N
    Applications Engineer
    National Instruments

  • Using xsd functions in borland c++ builder 5

    I am having difficulties using the xsd libraries in my project. I am trying to use the schema validator. I have included the oraxml.hpp and oraxsd.hpp header files, and I have added the provided libraries to the project. The first error was that the library files were erroneous.
    I then used the implib tool to create the library files from the dlls in the bin directory. I then add these new library files to the project.
    Now the linker cannot find the functions.
    [Linker Error] Unresolved external XMLParser::xmlint(......).
    I get the same error whenever I try to use any of the functions.
    Is there anything I am missing out when trying to link and compile?

    Hi,
    I don't think this is the forum you need. This is the Oracle Reports forum. To be honest, I'm not familiar with what you are doing, otherwise, I would direct to the appropriate forum.
    Toby

  • How to use the Google Android Emulator in Flash Builder on Windows 7?

    I want to try out Flash Builder to create an app, but I cannot find out how to use the Google Android Emulator in Flash Builder. The simulators in Flash Builder work, and the android emulator is installed correctly and can run. I just can't seem to connect them. How do I do that?

    Hi Pahup,
    Thank you for your reply!!
    I adapted an Android App using Flash CC on a Mac. I already published this App for the Apple App Store. When I published the App for Android I chose Air 3.7.xxx for Android. I also created the p12 certificate using Flash CC in the publishing settigns for Android. So my App is theoretically finished and ready for Upload.
    When I went to the Google Play Store Developer Console I had the options to
    1.) Upload APK
    or
    2.) Prepare Store Entry
    ...so I prepared the Store entry first. When I go to "APK"-Tab in the console it looks like this:
    ... it says "Upload APK" and the Button below "Get Licence Key". When I click on the license Key Button it looks like this:
    So I think I should enter this RSA-Key somehow into my App BEFORE uploading it to the Google Play Store. This is recommended when an Ap is set to be paid. My Application is set to paid.
    I did not use any kind of licensing API (until now - cause I don´t know how and what it is for)
    This is all new to me. It is the first App I want to bringt to the Android market. I really hoped it would be as easy as getting an app into the Apple App Store. I found so many step by step instructions for dummies on "How to get an Flash iOS App into the App Store plus creating all the certificates needed", so I thought it would be the same for Android. But there is no help at all at the moment. I am totally confused.
    So any help, hint or instrusction would be great!!
    By the way - this is the App I want to get into the Google Play Store

  • How to use the XSD that is registered in Oracle Service Registry.

    Hi,
    I got a requirement to publish a XSD in Oracle Service Registry and there after use the XSD from Service registry.
    I have done the following.
    --> Published the XSD in Oracle Service Registry.
    But do not know how to access the XSD, that is published in Oracle Service Registry.
    Pls someone throw some light on this.
    Regards
    Jude.

    Hello Shaveta,
    Thanks for the reply.
    I tried to find 'UDDI version 3 format’ tmodel key, but couldn't able to find it. Pls. provide any sample 'UDDI version 3 format’ tmodel key.
    I just tried with the existing tmodel key. Below is the modified WSDL. Here, I have modified schema location with the tmodel key. Pls note me, if I have gone wrong at any place or provide a sample WSDL.
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="AccessingRegistryXSD"
    targetNamespace="http://xmlns.oracle.com/AccessingRegistryXSD"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/AccessingRegistryXSD"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <types>
              <schema xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://xmlns.oracle.com/AccessingRegistryXSD" schemaLocation="uddi:8d6511a0-cd6e-11dc-b81e-0f5150e1b81c" />
              </schema>
         </types>
    In BPEL, when tried to create copy operation for the input variables, it shows an exception "Exception - Bad URL encountered". Understood, gone wrong at some place. pls help.
    Regards
    Jude.

  • Workaround for using the latest nightly SDK 4.0 builds with Flash Builder Beta 2

    The latest builds of SDK 4.0 have been updated in preparation for including playerglobal.swc for Flash Player 10.1. Flash Builder Beta 2 can not find playerglobal.swc due to the addition of the {targetPlayerMinorVersion} variable found in the flex-config.xml file.
    When using recent nightly SDKs with Flash Builder Beta 2, please modify them as follows:
    1) Rename the folder <nightly sdk location>/frameworks/libs/player/10.0 to "10"
    2) Edit the file <nightly sdk location>/frameworks/flex-config.xml and remove ".{targetPlayerMinorVersion}" and save
    When you restart Flash Builder, we will now find a correct location for playerglobal.swc, allowing for code hints and many other features to work properly.
    Jason San Jose
    Quality Engineer, Flash Builder

    Bump.
    As people continue to have problems with the nightly SDK 4 builds and Flash Builder Beta 2, please remember to use the workaround described at the top of this thread. Also see http://blogs.adobe.com/jasonsj/2010/02/workaround_for_using_the_latest_nightly_sdk_40_buil ds_with_flash_builder_beta_2.html.
    Jason San Jose
    Quality Engineer, Flash Builder

  • How should I use the 'COPY' & 'NAME_IN' command in Report Builder

    when I use 'NAME_IN' in report builder
    It always shows 'identifier 'NAME_IN' must be declared'!!
    Help me how to resolve or give me another command to get the same result!!!!!!!!!
    Thank you very much!!

    Please see note 137098.1 in metalink. name_in is a Forms specific built-in. In Reports, use srw.get_value, ie srw.get_value('FIELD').
    Hope that helps,
    Toby

  • Has anyone used the NAG libraries with LabVIEW?

    I try to get the "g08cgc" (chi-square calculation) running, but LabVIEW hangs up everytime I start the VI..
    Some tipps ... ?

    Here is the code (wirtten with LV7.1)
    Let me say that I'm a newbie using statistical functions and calculations.....
    For the calculation of Chi-square I have the followind input variables:
    - measured values
    - calculated values
    - coefficients
    If you/someone can give me some tips how to calculate chi-square with this input variables it would be very helpfull (e.g. maybe MS-Excel can do this,too ?! Using .NET etc?)
    Thanks in advance!
    Message Edited by _avr_ on 01-19-2009 01:43 AM
    Attachments:
    NAG_g08cgc.vi ‏38 KB

  • How to use the examples in IMAQ Vision Builder?

    I tried many times to use the examples brought in IMAQ Vision Builder(or LabView 6i ?) or download the similar examples from website of NI in order to learn some skills(I am really new with it!). But Whenever I click the example I want to run and a new dialog window always opened and ask me to find a VI named ???(??? is like for emample: IMAQ Windraw) and I always failed to find this VI!!! Where are this VI or How to use those emamples??? Thank you advanced!!!
    Swedlin
    [email protected]

    Hello Swedlin,
    IMAQ WindDraw is a VI that is included in the IMAQ Vision toolkit (see http://sine.ni.com/apps/we/nioc.vp?lang=US&pc=mn&cid=1305 for ordering information).
    If you are tring to run examples that include IMAQ WindDraw (or any other functions that are in IMAQ Vision), a dialog message will prompt you locate the VI manually (because the initial search failed).
    - Installing IMAQ Vision for LabVIEW will remove the message, and the examples will run.

  • Pacman uses the wrong shared libraries

    Hi!
    I had had MCR's path in the PATH. Since then pacman uses (or at least it tries to) the shared libraries found in MCR's path. It causes errors like this:
    pacman: /home/labuwx/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libcurl.so.4: no version information available (required by /usr/lib/libalpm.so.8
    The output of 'ldd $(which pacman)':
    /usr/bin/pacman: /home/labuwx/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libcurl.so.4: no version information available (required by /usr/lib/libalpm.so.8)
    linux-vdso.so.1 (0x00007fff709fc000)
    libalpm.so.8 => /usr/lib/libalpm.so.8 (0x00007f56f80ad000)
    libarchive.so.13 => /usr/lib/libarchive.so.13 (0x00007f56f7e0a000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007f56f7a67000)
    libgpgme.so.11 => /usr/lib/libgpgme.so.11 (0x00007f56f782e000)
    libcurl.so.4 => /home/labuwx/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libcurl.so.4 (0x00007f56f75e7000)
    libcrypto.so.1.0.0 => /home/labuwx/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libcrypto.so.1.0.0 (0x00007f56f7205000)
    libacl.so.1 => /usr/lib/libacl.so.1 (0x00007f56f6ffc000)
    libattr.so.1 => /usr/lib/libattr.so.1 (0x00007f56f6df7000)
    libexpat.so.1 => /home/labuwx/Applications/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64/libexpat.so.1 (0x00007f56f6bcf000)
    liblzo2.so.2 => /usr/lib/liblzo2.so.2 (0x00007f56f69ad000)
    liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f56f678a000)
    libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f56f657a000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00007f56f6364000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f56f82dd000)
    libassuan.so.0 => /usr/lib/libassuan.so.0 (0x00007f56f6153000)
    libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f56f5f41000)
    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f56f5d25000)
    libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f56f5b21000)
    How can I get pacman to use the proper libraries?
    Last edited by labuwx (2014-10-06 15:59:47)

    labuwx wrote:
    I had had MCR's path in the PATH. Since then pacman uses (or at least it tries to) the shared libraries found in MCR's path. It causes errors like this:
    How can I get pacman to use the proper libraries?
    presumably, there's your problem remove it from the PATH and your problems will likely vanish.
    you should install it following the wiki page

  • Using the MATRIXx linksim cmd with Visual C+ for UserCode

    Need help. Trying to create a static library in the Microsoft Visual C+ Developement environment (v6.0) and link it to MATRIXx (v62.2) using the "linksim" Xmath command. I build the library in MS Vis C and then add it to the makeucb.mk file in the ../sysbld/bin/ directory. Next, I use the "linksim" command to build my simucb.dll.
    I have not been sucessful trying to make the simucb.dll file by hand using the "nmake -f makeucb.mk" DOS command. I keep running into a "fatal error U1083" where a macro is not defined. I assume that linksim is taking care of this for me.
    I'm open to any suggestions. Basically what I am needing is a better way to incorporate large and complex UserCode algorithms into my MATRIXx
    models.

    You need to define the platform (#define PC 1), which should be done before #include "matsrc.h". You should use the linksim command to link the file, but use MSVC to build the library. If you link outside of MATRIXx then you would need to include the necessary libraries (sysbld\lib\libdllutil.lib for stdwrt).
    Also build the library using a c file rather than a cpp file, to avoid name mangling.
    Attached is a set of files that can be used as a starting point. The files were created in MSVC 6.0 and MATRIXx 6.3.
    It is a MSVC static library project. Add.c was added to the project and it was built into a library (.\debug\mxlib.lib)
    Then the path and name of the lib file was added to the makeucb.mk and a UCB c file that calls the function in the library was c
    reated. (usr01.c). This file is being called from the UCB in test.dat.
    Carl L
    National Instruments
    www.ni.com/matrixx
    Attachments:
    mxlib.zip ‏49 KB

  • Problem in the XSD generation

    Hi people,
    In our project we are working a POC to integrate MDM. For it, the MDM people request the XSD that generated XI.
    We send this XSD:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
         <xsd:complexType name="NombreDT">
              <xsd:sequence>
                   <xsd:element name="campo1" type="xsd:string"></xsd:element>
                   <xsd:element name="campo2" type="xsd:string"></xsd:element>
                   <xsd:element name="campo3" type="xsd:string"></xsd:element>
                   <xsd:element name="campo4" type="xsd:string"></xsd:element>
                   <xsd:element name="campo5" type="xsd:string"></xsd:element>
                   <xsd:element name="campo6" type="xsd:string"></xsd:element>
              </xsd:sequence>
         </xsd:complexType>
    </xsd:schema>
    The XML that we sent through scenario created in XI is:
    <?xml version="1.0" encoding="UTF-8"?>
    <NombreDT>
         <campo1>data1</campo1>
         <campo2>data2</campo2>
         <campo3>data3</campo3>
         <campo4>data4</campo4>
         <campo5>data5</campo5>
         <campo6>data6</campo6>
    </NombreDT>
    When MDM wants to import the XML to MDM's repository using the XSD as Schema, it shows the following error:
    Logon Error: Failed to Parse XML file.
    Error:
    COM error: 80004005 Unspecified error
    Source =      Description =
    SAX2Error: errCode=80004005, PublicId =,
    Error Message= The element "NombreDT" is used but not declared in DTD/Schema.
    They have provided us a XSD and a XML that works to them correctly:
    XSD:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <xs:element name="DataSuper">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="MiniData" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="MiniData">
    <xs:complexType>
    <xs:attribute name="code1" use="required" type="xs:integer"/>
    <xs:attribute name="code2" use="required" type="xs:NCName"/>
    <xs:attribute name="code3" use="required" type="xs:NMTOKEN"/>
    <xs:attribute name="code4" use="required" type="xs:NMTOKEN"/>
    <xs:attribute name="code5" use="required" type="xs:NCName"/>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    XML:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <DataSuper>
    <MiniData code1="22550" code2="ppp" code3="150" code4="30" code5="dat1"/>
    <MiniData code1="22551" code2="out" code3="400" code4="30" code5="dat2"/>
    <MiniData code1="22552" code2="out" code3="350" code4="30" code5="dat3"/>
    <MiniData code1="22553" code2="ppp" code3="1505" code4="30" code5="dat1"/>
    </DataSuper>
    Is it the problem of the XSD generated in XI?
    What is the difference between xsd:element and xs:element?
    Can we generate in XI a XSD of the type xs:element?
    King Regards

    Hi,
    I think the problem is, that the xsd you posted contains only a type definition but no element definition. I would recommend trying:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
    <xsd:complexType name="NombreDT">
    <xsd:sequence>
    <xsd:element name="campo1" type="xsd:string"></xsd:element>
    <xsd:element name="campo2" type="xsd:string"></xsd:element>
    <xsd:element name="campo3" type="xsd:string"></xsd:element>
    <xsd:element name="campo4" type="xsd:string"></xsd:element>
    <xsd:element name="campo5" type="xsd:string"></xsd:element>
    <xsd:element name="campo6" type="xsd:string"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="NombreDT" type="NombreDT" />
    </xsd:schema>
    The reason why the original xsd you got from the Message TYpe contained this import statement is, that you decided to spread the definition of your Message Type over two namespaces. I assume that you changed the content of the field XML namespace in the Message Type to BLANK (by default it equals the technical namespace you define your Message Type in, in your case probably "myNamespace").
    Greetings
    Stephan

  • Using Reason Sound Libraries

    Hi there,
    I've just switched over to Mac and am just getting to know it all.
    I was wondering of there is any way I am able to use the sound libraries I have which are part of my Reason software, through GarageBand i.e. when I create a Software Instrument, can I use a patch from Reason for my sound?

    Hi Jules,
    I am probably too late for you, but I recently had the same problem and thought I would share my solution for future people that come across this post.
    I found out that to fix the audio dropout issue with Reason 4, all you have to do is turn off your airport!
    I know it sounds crazy, but it fixed the problem for me. It's also a little annoying that in order to use Reason 4 you have to disconnect your internet connection... but it's the only cure I could come up with.

  • Using BEA tag libraries for XML/XSL translation

    Hi, I am new to using XML within Weblogic and have been struggling with using the
    built in JSP tags to transform XML into HTML. When I try to display the jsp page,
    I get the following error message in the browser:
    Only one top level element is allowed in an XML document. Error processing resource
    'http://localhost:7001/plims/testXML.jsp'. Line 20, Position 12
    </style> script tag removed <!--- script language="javascript1.2"> -----------^
    Here is the jsp code :
    <%@ taglib uri="xmlx.tld" prefix="x"%>
    <%
    String myMedia = "html";
    String content = new String();
    %>
    <x:xslt media="<%=myMedia%>">
    <x:xml>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <tree> </tree>
    </x:xml>
    <x:stylesheet media="html" uri="qjTree.xsl"/>
    </x:xslt>
    I used the instructions on BEA's help docs to configure the app to use the tag
    libraries, but it didnt work.
    http://e-docs.bea.com/wls/docs70/xml/xml_apps.html#1082507
    I am using a very simple xml tree for now to keep things simple. Any helping in
    finding a solution would be much appreciated

    Make sure you have the tld files and all the related tag libraries
    available.
    SP
    "Rachel McCarthy" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hi, I am new to using XML within Weblogic and have been struggling withusing the
    built in JSP tags to transform XML into HTML. When I try to display thejsp page,
    I get the following error message in the browser:
    Only one top level element is allowed in an XML document. Error processingresource
    'http://localhost:7001/plims/testXML.jsp'. Line 20, Position 12
    </style> script tag removed <!--- scriptlanguage="javascript1.2"> -----------^
    >
    >
    >
    >
    Here is the jsp code :
    <%@ taglib uri="xmlx.tld" prefix="x"%>
    <%
    String myMedia = "html";
    String content = new String();
    %>
    <x:xslt media="<%=myMedia%>">
    <x:xml>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <tree> </tree>
    </x:xml>
    <x:stylesheet media="html" uri="qjTree.xsl"/>
    </x:xslt>
    I used the instructions on BEA's help docs to configure the app to use thetag
    libraries, but it didnt work.
    http://e-docs.bea.com/wls/docs70/xml/xml_apps.html#1082507
    I am using a very simple xml tree for now to keep things simple. Anyhelping in
    finding a solution would be much appreciated

  • Run-Time errors using DAQmx and Borland C++ Builder 5.0

    I've written a simple program on MS Visual C++ 6.0 to test my PCI-6014 board and it works fine.
    I copied the code to Borland C++ builder 5.0 and had some linker problems with the .lib files that where solved with borland's "coff2omf".
    Now I've been getting run-time errors when I use the function DAQmxCreateAIVoltageChan()... The error code is -50251: "The specified software component is not available. The component was not loaded".
    But I'm sure that the code is right, since it works fine on MS Visual C++ 6.0!
    That the part of the code where I'm getting the error:
    iErro = DAQmxCreateTask("", &thTask);
    iErro = DAQmxCreateAIVoltageChan(thTask, "Dev1/ai0", "", DAQmx_Val_Diff, -10.0, 10.0, DAQmx_Val_Volts, NU
    LL);
    Thanks for the help,
    Marcelo

    Hello
    Borland enables certain types of exceptions by default which are initially disable in MSVC. You will need to refer to the documentation for Borland Builder on how to disable floating point exceptions. I believe you can do it by adding the following statement to your initialization code, but you should double check this:
    _control87(MCW_EM, MCW_EM);
    These exceptions get thrown because we are doing some floating point initialization underneath. This is not an indication of a bug or a problem of any sort. Apparently you have to this for alot of libraries to work correctly with Borland (OpenGL etc...)
    Hope this helps
    Bilal Durrani
    NI
    Bilal Durrani
    NI

Maybe you are looking for

  • Screen goes dim

    Lately, about once every two days, the light on my laptop screen slowly but surely becomes dimmer for about 10-20 seconds until it is near black. Then it suddenly lights up back to normal. Any idea what is causing this? Thanks, J

  • Inventory Revaluation

    I need detail information about inventory revaluation, like Tutorial process , import data from DWT , and also how we can do it, and also solution for following matter :Now we have some problem in balance of inventory account, some of them has negati

  • Minumum hardware requirement for Siebel Document server?

    what is the minimum hardware requirement for Siebel document server?

  • HT201210 While restoring it shows unknown error and exits. Now the ipad does not starts

    I tried updating OS from 4.3.1 to 6.1 After downloading it shows preapering for restore then it quits saying Unknown error Now the ipad does not starts. It show only an Apple sign and a status bar. Noting happens when i press power button What to do?

  • Restore not working and stuck

    Long story, but this morning after downloading the latest iTunes update, I tried to synch my iPod and the whole computer locked up. Finally had to shut the whole computer down forcibly and disconnect the iPod eventhough the screen still said not to.