J2me DLL Importing

Hi everybody,
I will have to develop an application which could be running on cell phones, PDA and other mobile devices.
I am looking for a mobile technology which allow me to import DLL.
- Does J2me can use external library writting in C or C++ ?
- I have read an article about JNI. Is it the only solution to use native code ? As i will use a library which won't be develop by myself, is it possible to call a .dll file using the System.loadLibrary() method ?
Thanks for your advice,
Bye.

to sum it up, you have the following possibilities if your existing library code is c/c++:
- port the code to java and include it in your midlet jar. the best bet if you want to keep it portable and usable on as many devices as possible.
- port the code to windows ce and accept that it will only run on windows mobile devices. the easiest way if it's already written for windows i guess.
- port the code to symbian and accept that it will only run on symbian based devices. depending on the code, easy, difficult or impossible to do. symbian has many restrictions. j2me too, though.
- port the code to any other smartphone platform, like openmoko, the iphone (using the native api or via a web service), android, maemo, ... maybe more difficult to do than the other possibilites. and the number of devices the applications runs on will be lower than for the other platforms. but you're less restricted in what you can do.

Similar Messages

  • How do I use "LabVIEW dll import wizard" to import NETAPI32.dll

    I am trying to use the LabVIEW dll import wizard for the first time. I am not very familiar in C-coding so this might be a good help instead of configuring CallLibraryFunction nodes myself.
    I want to import NETAPI.dll. I am interested in several functions in that dll, but my main priority is the funtion NetUserGetInfo(). On MSDN I have found that the header file for the mentioned function should be: lmaccess.h (include lm.h).
    My problem is this:
    The shared library contains 317 function(s). But no function is found and recognized in the header file. The following function(s) cannot be wrapped. If you want to import these functions, please review the warning messages next to the functions below. You will need to fix the problems before you can continue with the wizard.
    The function cannot be imported into LabVIEW. This might be caused by one of the following problems:
    The function is not declared in the header file but is exported in the library.
    Check the header file to make sure it contains declarations of the function.
    Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add predefined symbols. Click the Back button to return to the previous page of the wizard to add a predefined symbol (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
    MIDL_PASS;_STDCALL_SUPPORTED;__cplusplus;
    Any suggestions how I can solve my issue?   

    astrid wrote:
    I am trying to use the LabVIEW dll import wizard for the first time. I am not very familiar in C-coding so this might be a good help instead of configuring CallLibraryFunction nodes myself.
    I want to import NETAPI.dll. I am interested in several functions in that dll, but my main priority is the funtion NetUserGetInfo(). On MSDN I have found that the header file for the mentioned function should be: lmaccess.h (include lm.h).
    My problem is this:
    The shared library contains 317 function(s). But no function is found and recognized in the header file. The following function(s) cannot be wrapped. If you want to import these functions, please review the warning messages next to the functions below. You will need to fix the problems before you can continue with the wizard.
    The function cannot be imported into LabVIEW. This might be caused by one of the following problems:
    The function is not declared in the header file but is exported in the library.
    Check the header file to make sure it contains declarations of the function.
    Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add predefined symbols. Click the Back button to return to the previous page of the wizard to add a predefined symbol (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
    MIDL_PASS;_STDCALL_SUPPORTED;__cplusplus;
    Any suggestions how I can solve my issue?   
    Sorry I forgot the attachment, but here it is.
    Attachments:
    NETAPI32.doc ‏103 KB

  • Dll import wizard won't go past "Configure include paths"

    In the LabVIEW 8.5 version of the "Shared Library Import Wizard" I'm unable to proceed past the "Configure include paths" screen. I get a dialog that reads "Parsing header file" butI am returned to the"Configure Include Paths" screen.
    The library imported without error in LabVIEW 8.2.1.
    There is no "Report Generation Toolkit" installed.

    I can confirm that I am able to use the "Call Library Function"
    nodes and that there are no errors indicated when running the wizard. I
    get up to the "configure_paths" screen and when I click Next I am shown
    the "parse_dialog" screen momentarily but am returned to the
    "configure_paths" screen after about 3 seconds.
     I have
    tried an install on another machine with identical results. The .dll I
    am importing was created in MS Visual Studio Express 2008 and imports
    well under LabVIEW 8.2.1's import wizard.
    Attachments:
    configure_paths.JPG ‏37 KB
    parse_dialog.JPG ‏8 KB

  • DLL import and Pointers to a function

    Hi,
    I am currently trying to get the ANT development kit working under LabView. For that i have imported the dllL (with the 8.2 version of LabView because of unknown reasons the import doesnt work under 8.5).
    everything seems to work fine except one thing.
    In the dll there is a function
    void ANT_AssignResponseFunction(RESPONSE_FUNC pfResonse, UCHAR* pucResponseBuffer); // pucResponse buffer should be of size MESG_RESPONSE_EVENT_SIZE)
    that needs a application callback function pointer as defined in the header (all files are attached)
    // Application callback function pointer
    typedef BOOL (*RESPONSE_FUNC)(UCHAR ucANTChannel, UCHAR ucResponseMsgID);
    labview doesnt import the ANT_AssignResponseFunction propperly because it does not recognize RESPONSE_FUNC pfResonse. I have tried several things i have found in the forum and helpsites eg. with mathscript and so on but nothings working, and this and other functions that are built the same way need to work to read data... the example usage from the ant protocol in c looks like this
    // Example Usage
    BOOL ANT_ResponseFunction(UCHAR ucChannel, UCHAR ucResponseMesgID);
    UCHAR aucResponseBuffer[MESG_RESPONSE_EVENT_SIZE];
    ANT_AssignResponseFunction(&ANT_ResponseFunction, aucResponseBuffer);
    but how can i get this working in labview? i have attached all files.
    Please help me.
    thanx a lot
    martin
    Attachments:
    1204731171_ANT DLL 1_1.zip ‏77 KB
    1204662412_ANT Message Protocol and Usage Rev 2.12.pdf ‏620 KB

    martinboecskoer wrote:
    hello,
    thanks for the answeres. that the dll creation doesnt work with labview ist bad for me, cause my prog skills are very littel. has anyone a link to a good tutorial or so that can help me to create the wrapper dll.
    If you don't know C already you would have a very steep learning curve. C in itself is already quite a bit to learn but pointers and expecially function pointers are another step higher in the knowledge ladder when learning C programming.
    What is it for and can you afford to pay someone to do this for you? Because doing it yourself will certainly take you lots and lots of hours of work with an outcome that might appear to work but will quite likely crash under exotic curcumstances such as when you have shipped the entire applciation to the other side of the globe.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Dll import

    dear forum.
    I cant understand a base matter about dl.
    I know how to import dll in VS and use. But in some code, i read programmers need to 
    use in C++ the LoadLibrary and GetProcAddress
    for reference to internal function .
    Why
    Thanks

    On 30/03/2015 16:16, Robiberto wrote:
    I cant understand a base matter about dl.
    I know how to import dll in VS and use. But in some code, i read programmers need to
    use in C++ the LoadLibrary and GetProcAddress for reference to internal function .
    Why
    I'm not sure what you exactly mean by "reference to internal function".
    But I'd like to share a possible scenario with you.
    Suppose that you have an application supporting some form of extensibility architecture via plugins.
    Each plugins can be implemented using a separate DLL.
    And, of course, you don't want to rebuild your application from scratch with every plugin's .lib file.
    Suppose that each plugin requires initialization, and to do so the plugin DLL exports a "PluginInit" function.
    Your application could scan the content of a given directory (e.g. a folder named "plugins" under the application's folder), and, for each plugin DLL found, it could use LoadLibrary() and GetProcAddress() to get access to PluginInit() for each
    DLL, and call it to perform plugin initialization, for each DLL.
    Giovanni

  • Labview 8.20 Crash using vi's created with import dll wizard

    Has anyone had issues with the DLL wizard or DLLs that use the USB port?
    I have used the DLL import wizard to create an instrument driver for a picoscope 3424. When I run the Initaization.vi it exicutes properly, however, if I close the vi I get the Labview must be closed, send an error report to Microsoft blah,blah. If I disconnect the PicoScope (unplug the usb cable) then close the VI no error happens.
    Once I received the Labview invstigate error and sent the data to NI (REF#7134654).
    I had a driver written with LV 7.1.1 that worked with out any issue, I converted the 7.1.1 vi's to 8.20 and I no longer have the issue. This leads me to beleive that there may be a bug in the DLL wizard.
    Andrew Alford
    Production Test Engineering Technologist
    Sustainable Energy Technologies
    www.sustainableenergy.com

    I'll try to answer your questions.
    a) Yes that is correct, the source files are avaliable for download at http://www.picotech.com/software.html.
    b) I have found some issues with the available settings in the DLL Import wizard, one is there is no availble choice for setting the parameter type to array. This is available when you right click on the CLN and select configure. I checked the configurations of the open unit and close unit nodes and they look the same. I have also noticed that the block diagrams created with the DLL Import wizard are very messy with overlaping wires and poor wire routing.
    c) The original wrapper I created was done quickly and I only created the functions I needed at the time, I was attempting to create a proper Insturment Driver project and wanted all of the functions to be created, this is why I was using the import wizard.
    I am still at a loss as to why disconnecting the instrument from the USB port prevents this crash from happening.
    For now I have reverted to the 7.1.1 wrapper converted to 8.20 as I do not have time to continue investigating this issue.
    Thank you for your response.
    Andrew Alford
    Production Test Engineering Technologist
    Sustainable Energy Technologies
    www.sustainableenergy.com

  • Import shared library(dll)

    Salut.
    I want to import the GetVolumeInformationW function from the Windows kernel32.dll.
    Microsoft says:
    Requirements
    Client
    Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.
    Server
    Requires Windows Server "Longhorn", Windows Server 2003, Windows 2000 Server, or Windows NT Server.
    Header
    Declared in Winbase.h; include Windows.h.
    Library
    Use Kernel32.lib.
    DLL
    Requires Kernel32.dll.
    Unicode
    Implemented as GetVolumeInformationW (Unicode) and GetVolumeInformationA (ANSI). Note that Unicode support on Windows Me/98/95 requires Microsoft Layer for Unicode.
    1- I start the wizard, select "Create VIs for a shared library" then click next
    2- Then select C:\WINDOWS\system32\kernel32.dll for the shared library.
    3- Then select C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\WinBase.h for the header file
    4- Click next
    5- Add C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include to the include path (for Windows.h)
    6- Click next...wait
    7- Then NI says :
    The shared library contains 949 function(s), among which the declarations of 0 function(s) are found in the header file and these function(s) will be imported. The remaining 949 function(s) listed below cannot be imported.
    How can i make it work? Is it possible?

    Hello,
    I just downloaded the SDK and attempted the same operations you
    described, with identical results.  I suspect that the problem is
    that the WinBase.h header depends on predefined symbols that are not
    present by default in our implementation of the DLL importer.  I
    haven't spent enough time examining the code to tell you precisely what
    these symbols would need to be, but that is where I would focus my
    efforts.  According to Microsoft, you may want to try defining
    NTDDI_VERSION, as per this document.
    Cheers,
    Matt Pollock
    National Instruments

  • How to get missing classes from J2SE to J2ME?

    Hello,
    I am currently developing a J2ME project. As IDE I use Eclipse with the plugin EclipseME. It works great.
    Now I have the following problem: I need some classes which are present in J2ME (e.g. sorting of Strings, date functions). So I downloaded the source code for the JDK. Now I want to compile the missing classes (the ones that are not in the libs coming with the WTK) from JDK source into my project, so I can use these functions which are missing in standard J2ME. Importing the whole JDK tree is problematic, because then all classes will be compiled from source. This will cause errors with the JVM on the target device.
    Is there a possibility to import the JDK sources and only let compile the classes that are missing in J2ME libs? What is the best way to do this? Or do I have to add the source of each class (and it's dependencies) i need manually? Can I in this case use the original tree of packages and classes (e.g. java.util.ClassName) or do I have to create and new subtree (project.ClassName) in my project and import from there?
    Greetz
    schneidexe

    Generally, this is not possible. The classes have far to many references to other classes, and there are far to many incompatibilities to make it work.
    Best solution is to make your own J2me substitution, or find some j2me api that already does what you want.

  • Python 2.5 / missing msvcp71.dll issue on Windows

    During a new DBXML installation I got stuck for a while installing the Python 2.5 bindings for DB XML 2.4.16 -- I kept getting a DLL import error when importing the dbxml module in the Python code. After a bit of troubleshooting I found that I was missing msvcp71.dll on the new Windows Server 2003 SP2 installation. Copying it over from the \windows\system32 folder of another of our servers (one that's currently running the same OS/Python/DB XML setup) to the system folder of the new server seems to have solved the problem.
    I haven't been able to find useful info on msvcp71.dll and this issue generally. I noticed that the new Windows server does have a msvcr71.dll in the system folder but I don't know if they're related. I'm just going with what worked for me. But I have two questions/suggestions:
    1. If there is a better approach than what I've done, please post it.
    2. The install.txt file in C:\Program Files\Oracle\Berkeley DB XML 2.4.16\python doesn't mention the msvcp71.dll dependency -- if others might encounter the problem I did, how about mentioning it there to save them some trouble?
    Tim

    Tim,
    msvcp71.dll is the runtime for the STL (standard template library) and is obviously required. Assuming you have installed the Windows Binaries, that file is supposed to be included in that distribution. What msvc* files can you see in the C:\Program Files\Oracle\Berkeley DB XML 2.4.16\bin directory (this is where it should be)?
    What you have done is safe but should not have been necessary if your PATH is correct and the library is installed.
    Regards,
    George

  • Import a cube in obiee

    Hi,
    my config:
    windows Vista
    obiee 10.1.3
    sql server 2008
    Followed this [blog |http://www.rittmanmead.com/2008/02/01/obiee-hybrid-olap-reporting-using-ms-analysis-services-oracle/] to be able to import analys services 2008 cube in obiee. But when try to import a cube in obiee i get the following message: nqserror 46100: sax parser failed with error expected whitespaces
    what i exactly did:
    1) download en installed the XML for Analysis SDK
    SSI:
    1) i created a connection pool --> named it xmla and click ok
    2) add a new virtual directory --> alias: xmla , physical path: C:\Program Files\Microsoft XML For Analysis SDK\isapi
    3) right click on my virtual directory --> convert to application : set the application pool to the one i just created.
    4) double click "handler mapping" --> add script map --> request map = *.dll, excutable msxisapi.dll, name = xmla, do you wat to allow this asapi extension --> i clicked yes
    5) authentication --> ananomous is enabled by default
    obiee:
    import --> analys service 2000 --> url i used http://localhost/xmla/msxisapi.dll
    import --> analys service 2005 --> url i used http://localhost/xmla/msxisapi.dll
    When trying things out i also set the physical path credentials: username/pass. But still doesn't work...
    Hope some can guide me throw a good working obiee import or give me some new ideas.... tnx in advanced....
    UPDATE:
    I've got the iis working oke now. The error above has to something, that the URl i reference to could not be found. Now when testing IIS I get the xml back in my browser. When trying in in obiee, it gives me the error:
    nqserror 64203 XML/A eror returned from the server. Fault code: "XMLAnalysisError.80004005"Fault string "an error occured while processing the request. :
    Edited by: user565199 on 18-nov-2009 5:13

    Please, can anaybody help? tnx in advanced...

  • Call native methods from windows dll

    Hello all,
    I want to call BlockInput method from User32.dll. My source code looks something like this:
    public class User32Dll_1 {
         static {
              try {
                   System.loadLibrary("User32");
              catch (Exception ex)
                   ex.printStackTrace();
         public static void main(String[] args) throws UnsatisfiedLinkError {
              BlockInput (true);
         /** @param b
         * @dll.import("USER32")*/
         private static native boolean BlockInput(boolean bBOOL);
    And the problem is that I get the following exception:
    java.lang.UnsatisfiedLinkError: BlockInput
         at User32Dll_1.BlockInput(Native Method)
         at User32Dll_1.main(User32Dll_1.java:27)
    Exception in thread "main"
    Can someone provide me a solution for this?
    Thank you in advance!

    can't do
    use JACOB
    http://danadler.com/jacob/
    or
    http://www.ezjcom.com/

  • How to add dll library to application?

    I start programmed the CVI a few weeks ago and I have a little problem. I must make an application layer for profibus master device. However I total do not know how to add dynamic library to program, because in another way I get the error: undefined symbol. I know that it very trivial, but I cannot find solution. I have a lib file and also I include file about device, but I still get the error – undefined symbol – can you help me?
    Thanks very much for any advice or help

    Dear laszku,
    Are you looking for solutions to connect your CVI application with PLC? Because there are also solutions for that which are easy to use, and to implement with CVI.
    If you want to use your DLLs, there are some on-line help, how to import them in CVI.
    Basicaly there are two different method to import DLLs:
    - static import, when you import the library in your CVI project. The dll will be loaded when the exe starts running. If there is an issue to load the library, you'll be able to get the error at compilation time.
    - dynamic dll import, when you load the library at run-time. With this, you get the flexibility to control, when will be the dll linked to your exe in the memory, while running. The disadvantage is, you'll get errors only at run-time.
    I recommend you some of our on-line tutorial, how to load DLL into your application in CVI:
    CVI Help: Loading Dlls - This says: You cannot import DLLs directly into your project. You need to create DLL Import Library, which can be imported into your project.
    To do so, look at this knowledge base: Creating Import Libraries for a DLL in LabWindows/CVI
    You might get answers for your following questions at this FAQ page:
    FAQ: Using Dynamic Link Libraries with LabWindows/CVI
    Some help sites:
    Rules for Using DLL Files
    Linking to Functions Defined in a DLL From LabWindows/CVI
    If you need dynamic linkink, you can get example code with this site:
    How Can I Access DLL Functions in a LabWindows/CVI Program Without Including the Import Library in t...
    I hope, I could help you to find the way how to import DLL libraries.
    If you still couldn't solve the error after studying the links, please provide me more information, where, which symbol is missing, and also the full error message.
    The error you get, can be caused by the linker or pre-compiler also, which doesn't find the symbol you requested. Please check the path of your library and dll also.
    Best Regards,
    Tamas Szekely
    Applications Engineer
    National Instruments

  • "Unable to load DLL '/system/usr/lib/libidlprinter.so': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}

    I am using intermec printer (directly loading to the printer no system used for printing) for this program and if i run this,i'm getting this below error
    "Unable to load DLL '/system/usr/lib/libidlprinter.so': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}
    any help on this .........
    Thanks in advance.
    using System.Globalization;
    using Intermec.Printer;
    using System;
    using System.IO;
    using System.Threading;
    class TestCommunicationUSBHost
        static UI.Canvas _canvas;
        static UI.Keypad _keypad;
        static UI.Canvas.Text _exitInstruction;
        static UI.Canvas.Text _appliCationTitle;
        // static UI.Canvas.Text _companyname;
        static string _operatorCodeValue;
        static UI.Canvas.Text _operatorCodeDisplayText;
        private const string operatorCodeDisplayHeader = "SCAN Code: ";
        static PrintControl printControl = new PrintControl();
        static Drawing drawing = new Drawing();
        private static bool _isExitKeyPressed = false;
      //  private static Communication.USBHost _usbHost;
        static int Main(string[] args)
            // Init new UI canvas
            _canvas = new UI.Canvas();
            // Set up some colors to use
            Color white = new Color(255, 255, 255, 255);
            Color blue = new Color(50, 100, 150);
            // Add UI black background
            UI.Canvas.Rectangle bg = new UI.Canvas.Rectangle(0, 0, _canvas.Width, _canvas.Height, blue);
            _canvas += bg;
            // Add Line
            UI.Canvas.Line ln = new UI.Canvas.Line(10, 35, 300, 35, white);
            _canvas += ln;
            // _companyname = new UI.Canvas.Text(30, 45, "KEYBORD DEMO", "Univers Bold", 18, white);
            // _canvas += _companyname;
            // Add UI keycode text
            _exitInstruction = new UI.Canvas.Text(20, 200, "Press [F4] to EXIT.", "Univers Bold", 18, white);
            _canvas += _exitInstruction;
            _appliCationTitle = new UI.Canvas.Text(05, 05, " A1 Technologies", "Univers Bold", 23, white);
            _canvas += _appliCationTitle;
            _operatorCodeDisplayText = new UI.Canvas.Text(20, 100, operatorCodeDisplayHeader, "Univers Bold", 20, white);
            _canvas += _operatorCodeDisplayText;
            // Set up keypad event handler
            _keypad = new UI.Keypad();
            _keypad.KeyDown += new UI.Keypad.KeyEventHandler(KeyHandler);
            // Set up timer event handler
            UI.Canvas.Timer timer = new UI.Canvas.Timer();
            timer.Interval = 1000;
            timer.Tick += new UI.Canvas.TimerEventHandler(TimerHandler);
            timer.Start();
            //int USBHost port o or Setup USBHost
            Communication.USBHost _usbHost = new Communication.USBHost("/dev/ttyUSB0");
            _usbHost.Open();
            // Enter UI main loop
            _canvas.Run();
            // Cleanup UI
            _canvas.Dispose();
            _keypad.Dispose();
            return 0;
        public static void KeyHandler(Object o, UI.Keypad.KeyEventArgs eventArgs)
            int keycode;
            keycode = eventArgs.KeyChar;
            if (keycode == 4)
                _isExitKeyPressed = true;
                return;
        public static void TimerHandler(Object obj, UI.Canvas.TimerEventArgs eventArgs)
            if (_isExitKeyPressed)
                UI.Canvas.Timer timer = (UI.Canvas.Timer)obj;
                timer.Stop();
                _canvas.Exit();
            else
                // Open the first USB host device and read any data sent
                Communication.USBHost usbHost = new Communication.USBHost("/dev/ttyUSB0");
                usbHost.Open();
                if (usbHost.IsOpen)
                    Console.WriteLine("Opened /dev/ttyUSB0 ({0})", usbHost.HIDName);
                    FileStream fileStream = usbHost.GetStream();
                    try
                        int timeout = 0;
                        int i;
                        while (timeout < 5)
                            // Console.WriteLine("Exiting in {0} secs", 10 - timeout);
                            Byte[] bytes = new Byte[256];
                            if ((i = fileStream.Read(bytes, 0, bytes.Length)) > 0)
                                // string data = System.Text.Encoding.ASCII.GetString(bytes, 0, bytes.Length);
                                string data = System.Text.Encoding.ASCII.GetString(bytes, 0, i++);
                                _operatorCodeValue = data;
                                // _operatorCodeValue = _operatorCodeValue + data;
                                _operatorCodeDisplayText.Data = operatorCodeDisplayHeader + _operatorCodeValue.Substring(_operatorCodeValue.Length - 7, 7);
                                int leftCordinate = 40;
                                drawing.Clear();
                                Drawing.Text line1Text = new Drawing.Text();
                                line1Text.Point = new Point(leftCordinate + 30, 40);
                                line1Text.Data = _operatorCodeValue.Substring(_operatorCodeValue.Length - 7, 7);
                                line1Text.Height = 18;
                                line1Text.FontName = "CG Times Bold";
                                drawing += line1Text;
                                drawing.PartialRendering = true;
                                printControl.PrintFeed(drawing, 4);
                            else
                                Thread.Sleep(1000);
                                timeout++;
                    catch (Exception ex)
                        Console.WriteLine("Exception reading /dev/ttyUSB0: {0}", ex.Message);
                // Wait a short while
                Thread.Sleep(1000);
                // Clean up 
               // usbHost.Dispose();
            return;

    Hiya,
     The error is because the app tried to import that driver but it was not found. So, you will need
    to recheck your project setup, provide locations for imports, etc. I am not familar with Intermec Printer.
    The code snippet does not show any information about the DLL import, check there too.
    Hope this helps. :)

  • Unable to load DLL ELCOMProxies.dll while creating Enterprise Message Sourc

    Hi All,
    I am getting following error when I try to create Enterprise Message Source of type "Oracle (AS JMS and OJMS)”.
    Oracle.BAM.Common.Exceptions.CommonException: Unable to create Message Receiver Admin COM object: Error=System.DllNotFoundException: Unable to load DLL (ELCOMProxies.dll).
    at Oracle.BAM.Middleware.Persistence.COMProxyGeneral.fnCreateObject(String strCLSIDObject, String strCLSIDInterface, IntPtr& ipInterface, String& rstrErrorCode)
    at Oracle.BAM.Middleware.Persistence.COMProxyGeneral.Create(String strCLSIDObject, String strCLSIDInterface)
    at Oracle.BAM.Middleware.Persistence.EnterpriseMessageSourceTypes.RetrieveCharacteristics()
    at Oracle.BAM.Middleware.Persistence.EnterpriseMessageSourceTypes.InternalLoad(SystemObject soEMST)
    at Oracle.BAM.Middleware.Persistence.EnterpriseMessageSourceTypes.LoadByID(String strID)
    at Oracle.BAM.Architect.Sources.CreateEdit()
    Please let me know if anybody has any idea about it.
    Thanks,
    Netra

    Hiya,
     The error is because the app tried to import that driver but it was not found. So, you will need
    to recheck your project setup, provide locations for imports, etc. I am not familar with Intermec Printer.
    The code snippet does not show any information about the DLL import, check there too.
    Hope this helps. :)

  • How to call labview DLL from C#, passing char, char[], float[], long, short

    Hi,
    I'm having trouble calling labview dll from C# to perform certain function.
    The function supposed to return the values in the float Analysis[] array. However, when I execute it it only returns zero values.
    It seems that some parameters are not properly passed to the dll.
    Below is the function in the header file:
    void __stdcall Optical_Center(char FileDirectory[], long ImagePtr,
        short int Height, short int Width, char ReadFromFile, float Analysis[],
        long lenAnalysis);
    and my corresponding dll import in c#:
    [DllImport(@"SMIA.dll", CharSet = CharSet.Ansi)]
            public static extern void Optical_Center([MarshalAs(UnmanagedType.LPStr)]string FileDirectory, long ImagePtr,
                short Height, short Width,char  ReadFromFile, IntPtr Analysis,
                long lenAnalysis);
    string str = @"C:\SMIA.raw";
    int len = 3;
    long m_lenAnalysis = 3;
    long m_ImagePtr = 0;
    short m_Height = 2464;
    short m_Width = 3280;
    IntPtr m_PtrArray = Marshal.AllocHGlobal(len * Marshal.SizeOf(typeof(float)));
    char m_ReadFromFile = '1';
    Optical_Center(str,m_ImagePtr,m_Height,m_Width,m_ReadFromFile,m_PtrArray,m_lenAnalysis);
    float[] m_Analysis = new float[len];
    Marshal.Copy(m_PtrArray, floatArray,0,len);
    Marshal.FreeHGlobal(m_PtrArray);
    string printstr = "";
    for (int i=0; i<len; i++)
        printstr = printstr + floatArray[i].ToString() + "\n";       
    MessageBox.Show(printstr);
    Appreciate if anyone can help, thanks.
    KL

    I was just about to post the header file of the DLL, when
    I noticed that there's a function called LVDLLStatus.
    This little thingie turned out to be a rather handy tool.
    With that function I found that in the DLL I had a problem
    with another function that prevented the DLL to be correctly
    loaded.
    This other function in the DLL is for generating digital output
    and it worked as it should, when tested from LV.
    Anyway if someone is interested, I got it working by using
    the LoadLibrary and GetProcAddress function, as in the
    source code thatI posted earlier.
    I will investigate what is wrong with that digital output, and
    post into a another thread if I have problems with that.

Maybe you are looking for

  • Ipod frozen trouble with itunes

    my ipod is frozen. the screen is on and says connected eject before disconnecting. but its already unplugged from the computer and i cant turn the ipod off. so you might think just plug it into itunes and press eject. well when i plug it in, itunes w

  • How do I get the prompt in "Step 2" of the download process to provide the icon I need to drag to my applications folder?

    The problem with the help page is that it starts after the browser is downloaded which is great, but I generally have very few questions about the browser once it is downloaded, it is getting it downloaded that generally provides the most difficulty.

  • My PC won't boot up if the hub is already switched...

    My PC won't boot up if the hub is already switched on.  It gets as far as the desktop image and freezes up, [the icons never appear].  The only way I can get it to work is by removing the yellow plug from the hub after powering off the PC, and reinse

  • Keychain: ayeeeeeeeee!

    I recently updated to 10.4.11, and since then my Safari autofill is totally messed up. Messed up, messed up, messed up. I'm hoping that if I can repair the KEYCHAIN, it will get the autofill working again, at least for passwords, if not for the rest

  • How To Add Number Days in jsp

    Hi, I want to add number of days in a date string using jsp. <%--     Document   : try5     Created on : May 20, 2008, 6:00:20 PM     Author     : thamaraiselvan --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3