How do communicate with COM DLL(microsoft COM object written in VC++)

How do i communicate with a COM DLL(written in VC++ or VB) with a java program. The COM object has a method called dispPrint(String arg).

Or if you are like me, use a product like Jawin which simplifies things like this (no need to a intermediate dll).
http://staff.develop.com/halloway/code/jawin.html

Similar Messages

  • [SSIS.Pipeline] Warning: Warning: Could not open global shared memory to communicate with performance DLL

    Hi All,
    I am running an SSIS solution that runs 5 packages in sequence.  Only one package fails because of the error:
    [SSIS.Pipeline] Warning: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available.  To resolve, run this package as an administrator, or on the system's console.
    I have added myself to the performance counters group. 
    I am running windows 7 with SSIS 2008.
    Any ideas would be appreciated.  I have read that some have disabled the warning, but I cannot figure out how to disable a warning. 
    Thanks.
    Ivan

    Hi Ivan,
    A package would not fail due the warning itself, speaking of which means the account executing it is not privileged to load the Perf counters, and should thus be safely ignored.
    To fix visit: http://support.microsoft.com/kb/2496375/en-us
    So, the package either has an error or it actually runs.
    Arthur My Blog

  • How outlook communicate with exchnage server 2013/2010/2007

    when  i am creating a outlook profile for any user to access the mail box from exchange server. on that time how outlook communicate with exchange server.
    Abp

    Hi paul440,
    Thank you for your question.
    If we have configured autodiscovery correctly, outlook will connect Exchange CAS server by autodiscovery, autodiscovery will direct outlook to connect correct CAS server by user’s mailbox location. For Example, if the user mailbox located on Exchange 2010,
    outlook will connect Exchange 2010 CAS. if the user mailbox located on Exchange 2013, outlook will connect Exchange 2013 CAS.
     We could refer to the following link:
    https://technet.microsoft.com/en-us/library/bb310763(v=exchg.141).aspx
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim

  • SSIS.Pipeline : Warning: Could not open global shared memory to communicate with performance DLL

    I am getting the following warning for my SSIS08 package:
    Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available.  To resolve, run this package as an administrator, or on the system's console.
    I did check Warning in SSIS 2008 , but didn't find any solution.
    The package processes data and executes fine , but why do I see this warning? When I run this package on my machine, I see no such warning, it's only when I deploy it to our DEV SSIS server, I get this warning.
    Thanks,
    Sonal

    I am getting the following warning for my SSIS08 package:
    Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available.  To resolve, run this package as an administrator, or on the system's console.
    I did check
    Warning in SSIS 2008 , but didn't find any solution.
    The package processes data and executes fine , but why do I see this warning? When I run this package on my machine, I see no such warning, it's only when I deploy it to our DEV SSIS server, I get this warning.
    Thanks,
    Sonal
    You have to include the account you use to execute the package in the performance counters group.
    SSIS Tasks Components Scripts Services | http://www.cozyroc.com/
    Could you tell me where is "performance counters" group, I can not find it.
    Thanks !

  • How to communicate with a server ?

    Hello.
    I'm an intern trying to find a RIA client to use with a Java application server. The server provides two ways to access data :
    - a HTTP servlet that deals with XML
    - a web service
    I can't find information about how to communicate with a server using JavaFX 2, so can you try to explain it to me ?
    I'm sorry if what I ask is stupid, but I'm not very familiar with these things, I'm just a student.
    Thank you.

    Hi,
    communicate with a server is not JavaFX speciffic. You can use any "Java way" to access web-services or http requests. Try Axis2, it creates you the client API from the WSDL (the webservices on your server should provide the WSDL), than you can use this created client API to access the web-service in your JavaFX application. (see: http://people.apache.org/~ruchithf/hw-axis2/). You should be aware that by default you are working on one Application Thread (JavaFX as well as Swing and SWT), so when your first poc. is running you should use the javafx concurrent api, to create non blocking requests (http://docs.oracle.com/javafx/2/threads/jfxpub-threads.htm).
    Andy

  • How to communicate with another applet in different frame?

    Hello,evryone
    How to communicate with another applet in different frame?
    Can you give some advices?
    thank you!
    zhongboqing

    i faced this problem one year ago.It would be something like that:
    first you have to get the applet context 'getAppletContext()' (which is the current frame).
    Then get parent of that context 'getParent()' (which is the browser context).
    Then u can access the desired frame by its name. Finally you can access the desired applet located within this frame by

  • Does any one know how to communicate with thunderbolt or J.D.Edwards Oneworld?

    Hi,
    Does any one know how to communicate with thunderbolt or J.D.Edwards Oneworld through LabVIEW ? Do I need to use database connectivity toolkit? Can i do it without it?
    Thanks

    Hi Atul,
    we have made a application which uses Oneworld. We didn't use the database connectivity tool because we used ODBC and SQL.
    We have some VIs to do database connectivity using ODBC functions. So you have to know SQL as language and the ODBC functions. If you do not have this knowledge the database connectivity toolkit will make it easier for you.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • How Bridge communicates with third party applications?

    Hi,
    Is it possible to communicate between Adobe Bridge and a third party application using Bridge SDK?
    I want to learn how Bridge can communicate with other application? Bridge SDK have samples that explain how Bridge communicates with other Adobe applications like Photoshop and Indesign. Can anyone guide me or provide me a sample where Bridge communicates with a third party application?
    Thanks.

    As an example, this shows one way of getting a list of selected files from Bridge via Photoshop using C#
    using System;
    using System.Collections;
    using ps = Photoshop;
    namespace getBridgeFiles
        class Program
            static void Main(string[] args)
                ps.ApplicationClass app = new ps.ApplicationClass();
                String Code = "var fileList;"+
    "if ( BridgeTalk.isRunning( 'bridge' ) ) {"+
    "var bt = new BridgeTalk();"+
    "bt.target = 'bridge';"+
    "bt.body = 'var theFiles = photoshop.getBridgeFileListForAutomateCommand();theFiles.toSource();';"+
    "bt.onResult = function( inBT ) { fileList = eval( inBT.body ); }"+
    "bt.onError = function( inBT ) { fileList = new Array(); }"+
    "bt.send(8);"+
    "bt.pump();"+
    "var timeOutAt = ( new Date() ).getTime() + 5000;"+
    "var currentTime = ( new Date() ).getTime();"+
    "while ( ( currentTime < timeOutAt ) && ( undefined == fileList ) ) {"+
    "bt.pump();"+
    "$.sleep( 100 );"+
    "currentTime = ( new Date() ).getTime();"+
    "}}"+
    "if ( undefined == fileList ) {"+
    "fileList = new Array();}"+
    "fileList = decodeURI(fileList.toString());";
                String RC =  app.DoJavaScript(Code, null, null);
                ArrayList list = new ArrayList();
                list.AddRange(RC.Split(new char[] { ',' }));
                for (int index = 0; index < list.Count; index++){
                    Console.WriteLine(list[index]);
                Console.ReadLine();

  • Problem converting .doc with "display_urn:schemas-microsoft-com:office:office" properties

    PDF Generator cannot convert a simple .doc document when there are properties with a name like "display_urn:schemas-microsoft-com:office:office#Editor". I think this is a property that some versions of MS Word add automatically.
    If you try to convert the attached document, the result is the following:
    Error Code:19060           
    Error Message:
    Error message from the primary converter:
    ALC-PDG-019-060-Encountered error while importing the XMP file.
    Could this be a bug of PDFG?
    Is there a workaround to convert this kind of file?
    Thanks,
    Fabio

    Hi,
    Yes, this could be a bug in LC. I verified that conversion was ok after removing the two properties. Conversion works fine with Acrobat as well. I have still not come across any other word document with these kind of properties embedded, so I am not sure where they come from.
    I'd report this to Technical Support and have them investigate this.
    Regards
    Daniel

  • Error in generating COM DLL via DCOM Object Builder

    Hi,
    Iam creating a COM DLL for a BAPI and I always get the error when generating the DLL. I have Visual C++ 6.0 installed in the same PC.  Pls help.  Thanks.
    C:\vb>CALL "C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat"
    Setting environment for using Microsoft Visual C++ tools.
    Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
         midl.exe /Oicf /h "Flights.h" /iid "Flights_i.c" "Flights.idl"
    Microsoft (R) MIDL Compiler Version 5.01.0164 
    Copyright (c) Microsoft Corp 1991-1997. All rights reserved.
    Processing .\Flights.idl
    Flights.idl
    Processing C:\PROGRA1\MICROS4\VC98\INCLUDE\oaidl.idl
    oaidl.idl
    Processing C:\PROGRA1\MICROS4\VC98\INCLUDE\objidl.idl
    objidl.idl
    Processing C:\PROGRA1\MICROS4\VC98\INCLUDE\unknwn.idl
    unknwn.idl
    Processing C:\PROGRA1\MICROS4\VC98\INCLUDE\wtypes.idl
    wtypes.idl
    Processing C:\PROGRA1\MICROS4\VC98\INCLUDE\ocidl.idl
    ocidl.idl
    Processing C:\PROGRA1\MICROS4\VC98\INCLUDE\oleidl.idl
    oleidl.idl
    Processing C:\PROGRA1\MICROS4\VC98\INCLUDE\servprov.idl
    servprov.idl
    Processing C:\PROGRA1\MICROS4\VC98\INCLUDE\urlmon.idl
    urlmon.idl
    Processing C:\PROGRA1\MICROS4\VC98\INCLUDE\msxml.idl
    msxml.idl
    Processing C:\Program Files\SAPpc\SAPGUI\rfcsdk\include\sapconn.idl
    sapconn.idl
         rc.exe /l 0x407 /fo "Flights.res" /d "NDEBUG" "Flights.rc"
         cl.exe /nologo /GX /MD /W3 /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_ATL_DLL" /FD /c /Fp"Flights.pch" /Yc"FlightsAfx.h" FlightsAfx.cpp
    FlightsAfx.cpp
    bapiret2.h(116) : error C2059: syntax error : 'constant'
    bapiret2.h(117) : error C2146: syntax error : missing ';' before identifier 'rfc_padd_4_1bperC'
    bapiret2.h(117) : error C2059: syntax error : 'constant'
    bapiret2.h(119) : error C2146: syntax error : missing ';' NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
    Stop.
    Regards,
    Kelvin
    [email protected]

    Hi,
    For those who might encounter a similar problem, I manage to solve the problem by installing the DCOM Connector from the same SAP GUI CD (ver 6.2).   I had the impression to download the DCOM Connector from sap.com but they have the 4.6D version which causes a problem if you are using a higher version of SAP Gui.  The rule of thumb is to install the RFC SDK and DCOM Connector from the the same SAP GUI CD.
    Just note that DCOM Connector is reaching End-of-life.
    Cheers,
    Kelvin

  • How to communicate with HID USB device under windows XP with Labview

              I have designed a EZ-USB FX2 device and I need to communicate with LabVIEW. I mean I just want to send and receive data. I don’t know how to achieve this goal.Someone have advised me to design a HID device,then use VISA Driver Development Wizards to generate driver(inf file).SO I defined it to a hid device .However when I connect my hid device to the computer, it will automatically be recognized as HID compliance device. I can’t to install the inf file driver. I wondered whether all HID devices will be acquiescently installed the drivers contained in the windows rather than use the inf file driver generated by VISA Driver Development Wizards? If so,what should I do next to communicate with HID USB device under windows XP with Labview? HOPE TO GET HELP!
              KIVI

    Hi,
    I am working on a project using PIC18F4550 MCU and USB.
    I would need to send and receive data from the MCU thru USB. I have uninstaled the HID and created a new NI-VISA driver for my MCU. this worked fine, and it did showed up in MAX
    Unfortunately I was not able to receive data from the MCU, Just sending!
    I thought to use HID.DLL but the way I need to use the functions inside the HID DLL is simply too much for me, I am not a PC programmer.
    There is any kind of VI that is able to use HID.DLL to comunicate with external devices conected to PC thru USB?
    Please Help
    Andrei

  • How to communicate with third party bluetooth device using LAbVIEW

    Hi
          I am trying to communicate with a third party bluetooth device using LabVIEW, I am using a bluetooth dongle. I am able to discover the device and able to open the connection by specifying the service as serial port. But after that when I am trying to read and write data between LabVIEW and the bluetooth device (using Bluetooth Read & Bluetooth Write functions) its not happening.
    Dose anybody faced same kind of issue if so kindly guide me, this is first time I am using Blutooth protocol.
    Regards
    Visuman 

    Hi,
    I am able to talk with bluetooth / serial devices by using Labview protocol (not Wii dll). These are steps:
          Discover the bluetooth device in range (Bluetooth dicover.vi)
          Get the address of the device
          Pass device address to Bluetooth RFCOMM Service Discovery.vi to get service list
          Pass channel and uuid to Bluetooth open connection
          After that do write and read (Bluetooth Write / Bluetooth read).
      I hope it works for you.
    Take care
    tp
     

  • How to communicate with swf in HTMLLoader

    Hi,
    How to communicate swf loaded through HTMLLoader in non-application sandbox with the application sandbox from where the HTMLLoader is created.
    Regards,
    Ahmed

    > Hello Reo,
    >
    > That's right: You can schedule the syndication by
    > using the auto syndication time (mdss.ini).
    > Furthermore you have the choice not to syndicate
    > records that didn't change. With other words: as long
    > as no records have changed, nothing is syndicated.
    > The settings are done in the "Map Properties" tab in
    > the Syndicator.
    > A third option could be to use the search criteria.
    > By doing so, you e.g can specify just to syndicate,
    > if a special flag (let's say a boolean value in MDM)
    > has a true value.
    >
    > Greets,
    > Andreas
    Hi Andreas
    I am in a situation where I need to schedule a syndication (batch) based on a value of MDM main table( conditional execution of syndication).  Is it possible to automate MDM syndication server based on the search (previously created) and Map?  This helps our project a lot.  Thank you in advance.
    Regards
    Bala Pochareddy

  • How to communicate with different system on different network using WCF service

    Hi,
    I am using a WCF service that is accessed by different systems on same network. But systems on different networks are not able to access my WCF service. I have enabled tcp port also. But i can not resolve this issue. Please give the solution to the issue.
    Regards,
    Shanmugam M

    Hi Vilas,
    How you may communicate with you AIX server may very greatly depending on what is running on your server.  Here is a link to another thread where Java calls and AppletView were discussed.  It contains a link to the company that makes AppletView, so it may have some good information for you. 
    Also, if your customer suggested you use AppletView and they developed it, they would probably be your best bet for explaining it to you.
    Hope this helps!
    Spex
    National Instruments
    To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be...

  • How to Communicate with Programs running on AIX server Using LabVIEW.

    We have an IBM AIX server on which some programs are running  which basically perform some scientific calculations. I am required to send the inputs to the calculation from a VI on windows system and get back the results  on the VI.  I do not have any idea on how to do this.
    But i heard that there is a tool ( not developed in LabVIEW) developed by my customer which can communicate with the AIX server thro Java Classes.
    So i tried exploring APPLETVIEW which supports java and LabVIEW but i am confused.
    Is there any way to achive this interfacing between AIX and LABVIEW?.
    Thanks  
    Vilas G

    Hi Vilas,
    How you may communicate with you AIX server may very greatly depending on what is running on your server.  Here is a link to another thread where Java calls and AppletView were discussed.  It contains a link to the company that makes AppletView, so it may have some good information for you. 
    Also, if your customer suggested you use AppletView and they developed it, they would probably be your best bet for explaining it to you.
    Hope this helps!
    Spex
    National Instruments
    To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be...

Maybe you are looking for

  • Help with Aggregation Summation into DSO

    Hi, I have a question about Key Figure Aggregation Summation in transformation rules into a DSO from 2LIS_11_VAITM. Currently had an old order for Order Qty of 600 pcs.  Recent request came in to change it to 400.  After Delta our Order Qty was -200.

  • How many keys can be pressed at once

    i want to play an online rhythm music game.. which would require the pressing of more than one key at one time.. so I wish to know how many keys can be pressed at once without the computer hanging or the keyboard jamming? I'm using a Macbook, 2.0ghz,

  • Joining two paths... driving me crazy!

    Hi, I'm using Illustrator CS3 and have had to draw a map of the UK to show our companies different sales regions. I have done this by drawing the individual regions (5) and once they are all aligned, they make a perfect UK map. I now need to join the

  • 2.1 update bricked my phone (yes, bricked)

    opened up itunes this morning at 9AM EST to find the 2.1 update ready and waiting to be downloaded. okay, so I got it and tried to install it. set me into the endless restore/DFU loop. so far I've tried: -at least 10+ recovery attempts in DFU AND rec

  • Solution need for multiple xml and Flowlist component

    Hi! I am using multiple xml and AFComponents AS3 Flowlist component. I am having an issue with the thumbnails in the Flowlist component after about 20 or so user clicks, the images no longer appear, yet the threaded data is still there. http://www.li