I downloaded a third party API from ICQ to consider to integrate ICQ with my CVI application.

There are three main issues standing in my way: 1) the include files have some wierd definitions for example:
BOOL WINAPI ICQAPICall_GetOnlineListPlacement(int &iIsShowOnlineList);
BOOL WINAPI ICQAPICall_GetWindowHandle(HWND &hWindow);
CVI is complaining about the &.
2) the other issues deals with a link error "undefined symbol
_ICQSet_LicKey@12". I suspect that I have an import library issue? They did
claim that the api is in a icqapi.dll which they supplied me. They also
supplied a icqapi.lib file, which I am assuming is the import lib? If not,
can someone remind me of how to build an import lib from the include files?
3) the email list for
CVI doesn't seem to be working.

Rich:
I believe the source of your problem is that you are attempting to use a C++ DLL in LabWindows/CVI--which is an ANSI C compiler and does not support C++. The ampersand "&" used in this context signifies a variable passed by reference, which is not available in ANSI C. Furthermore, C++ DLLs usually use name mangling, which ANSI C does not support. Name mangling probably explains your link errors.
You can use the phrase extern "C" around the prototypes in a header file to disable C++ name mangling so the DLL can be used in ANSI C. However, this change would require you to re-build the DLL from source that you probably don't have. You can ask LabWindows/CVI to build an import library from the DLL and the source code, but LabWindows/CVI will not mangle the names in
the header file and thusly won't be able to find them in the DLL.
This doesn't leave many alternative that I can think of, especially if the API in the DLL uses call by reference. The best people to talk to would be ICQ; ask them if there exists an ANSI C API, and explain why this DLL won't work in ANSI C. You may also want to contact National Instruments technical support at 1-800-IEEE-488 or http://www.ni.com/support for other possible alternatives.
Best Regards,
Chris Wood
Applications Engineer
National Instruments

Similar Messages

  • How to Launch a downloaded third party app from my own app on the iPad using objective c

      How to Launch a downloaded third party app from my own app on the iPad using objective c

      How to identify whether the third party app has registered URL scheme or not. I also send a request mail to the third party app developers regarding URL scheme, but there is no reply from them.

  • How can i download third party Softwares from Support tab in Apple site?

    Hi,
    Previously i downloaded third party softwares for mac like Browsers, Anti- Virus softwares from Apple site but now i can download only Apple products (softwares) not third party softwares from download links so any one please let me know the status.
    Thanks in advance,
    Suresh Balakrishnan.

    Apple no longer hosts a website for 3rd party software.  Instead it runs the Mac App Store, which offers a good range of software.
    If you are very keen for the apps and other things that are not in the Mac App Store, a good app to download is "Bodega" - which provides another app store experience.
    Cheers,
    Rodney

  • Warning, third party software from Lenogo

    Hi,
    I just wanted to warn others about purchasing third party software from "Lenogo" www.lenogo.com
    I saw this company mentioned here on the apple forum, and I then purchased the ipod to mac transfer software so I could transfer my music from my ipod (all paid for, no copyright issues here) back to my computer's itunes after an unsuccessful sync.
    The software wouldn't download or install and the company did not reply to any of my emails or support tickets, or provide telephone contact details.
    They did not provide support or a 30 day money back guarantee refund, as advertised.
    I've been ripped off, basically!
    Just wanted to let you guys know so it doesn't happen to you!
    Kate.

    Hello and Welcome to Apple Discussions. 
    Thanks for this and bump!
    cheers
    mrtotes

  • Deploying a third party API in a J2EE application.

    Hi there
    I have a small J2EE applicaion made up of EJBs, servlets and JSPs
    packaged and deployed as an EAR file in WebLogic 6.1.
    I'd like to make use of a third-party API (that is packaged as a JAR
    file) from the servlet and EJB components within the application, but
    am a little confused as to where to place the JAR file.
    I've tried placing it in the WEB-INF/lib directory of the WAR file,
    the servlets found the library successfully but the EJB components
    threw ClassNotFoundExceptions.
    I've tried placing it in the EAR file at the same level as the WAR and
    EJB JAR file, ie:
    App.EAR
    /application.xml
    /EJB.JAR
    /WEB.WAR
    /LIB.JAR
    but then the servlets were unable to find it.
    Finally, I tried placing one copy in the WEB-INF\lib and one copy as
    described above in the EAR file, but still - the EJBs were unable to
    find the library.
    Unfortunately, the API needs to be configured on a per-application
    basis, so placing a reference to the JAR file in the CLASSPATH when
    starting WebLogic is not an option.
    Any one encountered or solved this kind of problem before ?
    Kind regards
    Eea

    Hi Eea,
    There are many articles in the Internet talking about
    packaging of j2ee compenents, for example:
    http://www.onjava.com/pub/a/onjava/2001/06/26/ejb.html
    And, you may try to put your 3rd party API into weblogic
    classpath in your startserver command file...
    Regards,
    Slava Imeshev
    "Eea" <[email protected]> wrote in message
    news:[email protected]..
    Hi there
    I have a small J2EE applicaion made up of EJBs, servlets and JSPs
    packaged and deployed as an EAR file in WebLogic 6.1.
    I'd like to make use of a third-party API (that is packaged as a JAR
    file) from the servlet and EJB components within the application, but
    am a little confused as to where to place the JAR file.
    I've tried placing it in the WEB-INF/lib directory of the WAR file,
    the servlets found the library successfully but the EJB components
    threw ClassNotFoundExceptions.
    I've tried placing it in the EAR file at the same level as the WAR and
    EJB JAR file, ie:
    App.EAR
    /application.xml
    /EJB.JAR
    /WEB.WAR
    /LIB.JAR
    but then the servlets were unable to find it.
    Finally, I tried placing one copy in the WEB-INF\lib and one copy as
    described above in the EAR file, but still - the EJBs were unable to
    find the library.
    Unfortunately, the API needs to be configured on a per-application
    basis, so placing a reference to the JAR file in the CLASSPATH when
    starting WebLogic is not an option.
    Any one encountered or solved this kind of problem before ?
    Kind regards
    Eea

  • Sending query to third party portal from TREX Search Engine

    HI Experts,
    we need to implement normal search option in SAP portal.
    when we search any thing from portal ,
    It has to search in EP & KM and also it has to search
    windows sharepoint portal and bring the data back to SAP Portal.
    For this purpose one solution is
    1) implementing  enterpise search,
       but my client dont want to go for enterprise search(federated search).
    2) The other way
    Sending query to third party portal from TREX Search Engine
    In this way what i want is ,
    how TREX can send query to third party portal SEARCH ENGINE
    (in my case share point portal search ENGINE).
    There is no problem to search in EP & KM becuse it is default.
    To search in Micro soft Share point portal,
    TREX should pass the query to share point portal search ENGINE.
    Is there any API TO send a query to third party portal like sharepoint?
    I searched in SDN and Other sites also but i am not getting exactly what I require.
    If any one has ideas or implemented already please guide me.
    My client require searching option like this,
    we need to provide drop down box in SAP Portal with 3 options like
    1) search in Share point portal
    2) search in SAP EP & KM
    3) Search in both the portals
    please provide any code samples in case if you have.
    please help me , its urgent
    Thanks in advance.
    Regards
    Bala

    Hi Bala,
    please check the information on the KM IMS (Index Management Service) in KMC's developer guide. A connection to a 3rd party search is done from KM, then calling TREX and XY in parallel, not serially from TREX.
    Here's a paper describing this for an older KM release:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5e514b57-0701-0010-3796-deb3636835fa
    Regards, Karsten

  • Third party API within DC project

    Hi,
    We are using a JSF web project for online account management for CRM.
    We need to use a payment gateway API for which I have created a new external library DC project and a corresponding EAR.
    I am able to build the project successfully.
    It also recognizes the API classes however it fails at one particular call where the API internally calls a class from an embedding jar/package XMlLabel ?
    If I comment out that call it does not result in any exceptions.
    This API works just fine in a Java application.
    I came across this forum and it looks like a similar issue. But I am unable to figure out how to fix this in a DC project.
    Please let me know if anyone has any idea.
    Thanks,
    Veena.

    I was referring to this forum
    Unable to call third party API within Spring- Spring Forum

  • Precompiled third party API usage

    Hi,
    I have a question related to the compile and run time behavior of the java objects.
    I have written a class which is using third party API classes. The third party API is compiled using the older version (say JDK1.2) version of java. Now I compile my developed class with JDK 1.6.
    When we compile a java file which is using the third party API classes, does the byte code hence generated contains the references of the API classes used or somehow it include the byte code of these classes in the newly compiled classes' bytecode? If the byte code of the API classes gets inserted into the newly generated class, does the third party class will also be compiled with the JDK1.6.
    Actually I am trying to migrate my application from weblogic 8.1 to weblogic 10.0. The higher version of weblogic require the java files compiled using JDK 1.5 or higher versions. Since the third party APIs are compiled using the previous versions of JDK so I am getting a bit skeptical whether this will work or not. If at all, this will work (with the old API classes) than how?
    Thanks in advance,
    Amit Singhal

    I would say to (at least attempt) to get new versions of the librarires.
    In any case, the only byte code that shows up in a classfile is created from the code in that class definition (excpet for some references to static final variables, but that can be overlooked for now). Nothing from those "libraries" will be inserted into your newly compiled classes.
    Now, as far as those libraries functioning under a new JVM (with such a large version disparity) is questionable. Technically they should, but I would neither count on this, nor expect them to be effecient even if they do function.

  • OATS OTM Third-Party API/Interface?

    Hello,
    I am an Oracle employee and an automation tools developer in a large testing group and we are investigating if OATS OTM has the internal/public interfaces that allow us to update/create test cases and/or update/create test results for test execution that are not wui/gui type applications. Essentially, testing outside of OATS OTM and the OATS integrated testing facilities. I have scoured the available documentation but there is no indication or it is not clear that any such third-party API/Interface exists to perform such tasks.
    We are VERY interested in using the OATS OTM as a central testing repository but nearly all of our testing do not include wui/gui application testing, mostly cli/custom/firmware/non-OS/cross-platform testing. We are interested in transitioning from our existing test repository software, which is not an Oracle product, and moving to OATS.
    Any help in this area would be greatly appreciated.
    Thank you in advance,
    Robert

    Hello everyone,
    I'm also looking for a API that is exposed from the OATS.
    Thanks,

  • How to raise customer invoice in case of third party sale from PS

    Dear All,
               In case of third party sale from project systems module, PR is raised which is further converted to PO and once the material reaches at client place GRN is done.Based upon the GRN the actual cost is booked to the project.How should I raise the customer invoice against the materials received by the customer?
    I went through the Forum and based upon the threads there, I came to know that one option is to  create sales order for the same items and do order based billings.But for this I have to enter the same materials items again in the Sales order which is nothing but duplicacy of data.
    Is there any alternative to this? Or some other way by which the PO line items be copied to sales order so that I can save time while creating sales order.
    Regards,
    B P Singh

    Hi Virendra,
                       Business scenario is like this.
    I have created project and activities.Have assigned materials as 3rd party sale in NWA. I have released the project.PR are getting followed by PO.On doing the GR the actual costs are getting booked on NWA.
    My concern is how to bill the Items(the same material components) which are assigned to activity.
    As per your input I need to do Resource Related billing.Thanks for the input.It is no longer required to assign materials in DIP to Carry out RRB. 
    To carry out RRB do I need to create Sales Order first ? If  No then how to do RRB? If Yes  I need to create a Sales Order with all the material components which I have assigned at activity level. So I was looking for some alternative so that SO creation becomes less tedious.
    Regards,
    B P Singh

  • Third party returns from customer to vendor (Urgent)

    Hi,
    We have an urgent requirement regarding an issue with third party returns from customer.
    The scenario required is as follows :
    When the customer returns the goods in Third party proccess the goods should be directly returned to the vendor instead of receiving into our plant .
    How can we map this bussiness proccess?
    Currently the returns are handled as per the standard SAP proccess ie.,
    Customer returns the goods> Return order is created>Return delivery created (PGR)>Credit memo created.
    In this case we are receiving goods into our plant .

    Hi Shrikant
    1. If delivery of goods is the only issue then you can ask customer to make invoice with Invoice to your company address and Delivery address as the vendor address. Practically it is possible.
    2. Then you can make corresponding entries in SAP and regularise it.
    Thnx
    Nilesh

  • Third Party APIs in Java Language which doesnot use JavaMail APIs

    Hi Pals,
    Is there any third party java mail APIs available which doesnot using Sun JavaMail APIs? The third party would have its own APIs which does not use javax.mail. I have to code in Java Platform so if the APIs are java based its nice and useful to me.....
    Thanks & Regards,
    Prakash

    ksp wrote:
    Hi,
    I am using Javamail APIs to send mails. Sometimes Mcafee blocks the mails and its not allowing javax.mail package. Thats why i would like to go for some other third pary which uses their own APIs......What makes you think a third party API would be less prone to interference by McAfee?
    Edited by: sabre150 on Jun 18, 2009 10:39 AM
    :-)

  • Third Party API with Tomcat and Axis

    I'm experimenting with creating web services in Java. I'm using tomcat and axis for this. I have successfully created and deployed some basic web services and now I want to create one using a 3rd party API. I follow the same exact procedure and when I deploy the service I check my list of deployed services through the axis page, but all my services have disappearred. Commenting out all 3rd party related methods does successfully deploy the service. Is there anything special/extra I have to do to get 3rd Party classes to function correctly in a web service?
    Thanks in advance

    what kind of third party API are using ?

  • Design Approach For Integrating Third Party API's

    Our application requires a lot of third party API's to be integrated with the application.
    What would be a good design approach for the same
    Ritesh.

    I think maybe you should post a little bit more info: What kind of APIs? C++? java?

  • How to use third party APIs with Sun J2ME Toolkit

    I've installed Sun J2ME Toolkit 2.1. If I intend to use other third party APIs with my existing toolkit, how do I do that. I can manage to get the jar file of the associated API classes, but how to integrate the same with the toolkit. Thanks in advance to all who support.

    if I remember right, it is enough, if you put the .jar of the api in the lib/ directory of your project (<WTK>/apps/<yourProject>/lib/ )
    hth
    Kay

Maybe you are looking for

  • How to read xml elements in Bpel

    Hi, I had created an empty Bpel Process and configured file adapter to a directory, In my text file i have 3 records with four columns, each column seperated by ',' and each record seperated by "EOL(end of line)", Below is the xsd file generated by t

  • Messaging Server can't find local accounts

    I recently upgraded to Messaging Server 3.5, and it is bouncing all local mail. I checked the Users & Groups and all accounts still exist.<P> Try telnetting to the SMTP port on the mail server and confirming the user's address; it may be unknown to t

  • If I go back to Lion from Mountain Lion, Can I go back to ML after?

    So, I got my 2012 Air with Lion, did a back up and upgraded to ML. I've had it since release and my laptop runs a LOT hotter now and the battery life is much worse. As I have an Android phone and not an iPhone, half the new feature in ML are made red

  • Signature field

    Hi, I´m new working with liveCycle, and I would like to know how it works at technical level. I have read documentation but I can not understand the procedure to generate the digital signature, I think that i need to put a signature field in my form

  • Cmd+M open online help instead of minimize in dock

    Hi, At work we just change computers and now, for and unknown reason, when I do "command+M" in Acrobat 9 Pro with an open document, it opens the online help instead of minimizing the document in the dock. I don't know if it changes something, but we