Using DLL in Oracleform6i

HELLO Dears
I am tring to use a window DLL to my form , but i dont know how to do it .
Do i can do it or not ?.
Thank you

Hello,
You could, firstly, have a look at this paper</p>
In a general way, don't forget that Google is your best friend ;o)
<br>Francois

Similar Messages

  • How can i use dlls for running rtc3?

    how can i use the dll libraries to use for the rtc3 software?

    amolchoudhary wrote:
    can anyone please help me???
    How? You provide almost no useful information.
    What is rtc3?
    Why do you think you have to use DLLs?
    What did you try so far that hasn't worked?
    What is it you want to accomplish?
    You see what you ask here is just about the same as if someone would ask you to tell them what screw he needs to fix his car.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to use dll function in JDeveloper?

    I want to use function in dll to develope my application,but
    I can't find how to do that in the JDeveloper document.
    null

    You have to use the Java Native Interface to use dlls. The JNI
    tutorial at http://java.sun.com/docs/books/tutorial/native1.1/
    walks you through the basics and provides a sample too.
    Hope this helps.
    Regards,
    yinjun (guest) wrote:
    : I want to use function in dll to develope my
    application,but
    : I can't find how to do that in the JDeveloper document.Who can
    : give me an answer? Thanks a lot in advance.
    null

  • How to use dll in Labview ?

    I compile this code to dll file with VC++2010 filename is test_dll.dll .
    #include "stdafx.h"
    #include <iostream>
    #include <Windows.h>
    using namespace std;
    int main(int a){
        cout << "Test dll...............\n";
        return a;
    After that, I put Call Library Function node in editor and double click Call Library Function node. I browse test_dll.dll into Library name or path and set function prototype to int32_t main(int32_t a); but it show error Call Library Function Node 'test_dll.dll:main':function not found in libraly. How to use dll in Labview ?  And I have more question is what is differrent from Tools -> Import -> Shared Library(.dll) and use Call Library Function node.
    Solved!
    Go to Solution.

    The issue you are having is that LabVIEW is not capable of using C++ DLLs directly. It only handles C DLLs. This does not mean that if you you cannot use the DLL if it's compiled with the C++ compiler as opposed to the C compiler. Rather, it means that you must take extra steps in order to use it from LabVIEW. The primary issue is that of name mangling or adornment. This is discussed here: http://zone.ni.com/devzone/cda/tut/p/id/4877. Basically you need to prepend extern "C" in front of your prototypes in your header files. I would also suggest reviewing this article: https://decibel.ni.com/content/docs/DOC-14564.

  • How to use .dll compiled in Delphi in Java?

    Can anyone provide me information how to use .dll compiled in Delphi in Java? The .dll Delphi program may be non-OOP program.

    Hi
    If You want to write anything in PASCAL then simply write JNI code in C++ and call functions from this DELPHI DLL, but remember about changing the order of parameters etc when You call it. I had exactly the same problem, but it is possible, and we succeed.
    You will need exact description of input parameters required by PASCAL functions and of output parameters. Then construct in C++ objects wchich looks in memory exacly the same as they will look if You will be using PASCAL. Then PASCAL function will interprete this area in memory as known structure and will run.
    Maciek

  • How to Use DLL Function in Java Applet

    Hi all,
    I have been assigned a task to develop java applet. The problem is, I need to use DLL functions in my applet to read records. Could you pls anyone guide me how to interface DLL and applet to read records with sample code?
    I'm using JDK 1.5.0_06 and Windows XP OS. thanx..
    best rgds,
    jpdbay

    You will need to use Java Native Interface JNI. Ther are many posts on the subject, please search, and this is the documentation:
    http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/jniTOC.html

  • Using DLL functions created with LabVIEW 6i in CVI 4.0.1

    I want use SQL functions from LabVIEW 6i in LabWindows/CVI 4.0.1. Building DLL with this LabVIEW-functions was succesfull, but after using DLL in CVI project and run, error message was generated: FATAL ERROR : LABVIEW.LIB was not called from a LabVIEW process. Can you help me? In attachment are VIs and build script for this DLL.
    Attachments:
    DLL.ZIP ‏24 KB

    The SQL toolkit appears to be an ActiveX program. Why not call the objects with activeX in CVI directly?
    There are several hits for labview.lib on ni's site. Goto http://search.ni.com/?col=alldocs&layout=TechResources&ql=a
    and search for labview.lib.

  • Structure using dll

    Hello all,
    does anyone know how to operate on the structure in LABVIEW?
    I need to develope the interface in LabVIEW to call the external code WinMCL Plus (developed by GSI Lumonics),
    but I do not know how to operate on the global parameter sets. I try to use DLL to call the function
    "MC_set _ParamSet" (see below), but I cannot point to the parameter sets in the "Call Library Function".
    MC_set_ParamSet
    //         Routine Description:
    //                     Set the global DLL Parameter set at Params[Index] to
    //                     the values stored in *p
    //         Parameters:
    //                        Index - Parameter set index.
    //                        *p             - Pointer to the parameters to set.
    //          Return Value:
    //                        WMCL_OPERATION_OK or WMCL_OPERATION_FAILED.
    //           Comments:
    WINMCL32_SPEC unsigned long_stdcall MC_set_ParamSet(int Index, PSET *p);
    Any help would be greatly appreciated. Thanks in advance for your help.
    Gennady

    Gennady,
    Check out this link to get some more info...
    http://zone.ni.com/reference/en-XX/help/371361B-01/lvexcodeconcepts/configuring_the_clf_node/
    Near the bottom of this link it has the section ;
    Calling Functions That Expect Other Data Types
    It looks like your best solution would be to create a wrapper that splits up this structure into more basic elements for labview.  Hope this helps.

  • Collecting data from hardware using dll

    Firstly I d like to say hello, im the very beginier to labview thus I appeal for some patience.
    There were many threads dealing with that issue, I tried to get information from each one of them.
    and I posted this mesaage in order to make sure if i `d got it well.
    Well I ve got hardware and want to gather data from it, (its not array but 3 (variables?)  and of course it has its own dll. 
    What am i supposed to do is?:
    1.write other dll (VS) and there is asynchronous callback to device to get its position just like in exec aplication.
    2. USe PostLVUserEvent() to make parameters familiar to labview (in dll)? 
    is that correct way of thinking ? 
    I dont have problems with using dll in labview, but I dont know  much about how  asyncrhnous callbacks works with dll
    I hope its all clear.
    I know the all answers are here but I d like to summarize it, especially that I could miss something.

    There is dll (api?) provided by drivers(generally speakin) with all functions needed and documentaion, and second dll written by me with imported this finctions , which actually isnt a wrapper, but only c dll.
    Code was rewritten and divided (compared to previous one)  to 3 functions in order to avoid loop... and there is no callback anymore ,  ......  but called from labview one by one these functions are running very slowly - otherwise  from the exec application that I made to test dll. I hope its understable enough .
     I think documentaion isnt necesary. 
    JakubFrr wrote:
    HDCallbackCode HDCALLBACK GetDeviceStateCallback(void *pUserData)    // - it was getting state before,now code`s changed beacuse of the while loop .. now it  does nothing and I ve just noticed that its not necesarry 
    return HD_CALLBACK_CONTINUE;
    void init()
    HHD hHD = hdInitDevice(HD_DEFAULT_DEVICE);
    gCallbackHandle = hdScheduleAsynchronous(
    GetDeviceStateCallback, position, HD_MAX_SCHEDULER_PRIORITY);
    hdEnable(HD_FORCE_OUTPUT);
    /* Start the haptic rendering loop */
    hdStartScheduler();
    void work(float *a,float *b,float *c){
    hdBeginFrame(hdGetCurrentDevice());
    hdGetDoublev(HD_CURRENT_POSITION,position);
    (*a)=position[0];
    (*b)=position[1];
    (*c)=position[2];
    _sleep(50);
    hdEndFrame(hdGetCurrentDevice());
    void disable()
    hdStopScheduler();
    hdUnschedule(gCallbackHandle);
    hdDisableDevice( hdInitDevice(HD_DEFAULT_DEVICE));
     I used pointers with simple functions dll like adding etc. before and it  worked fine. 
    I admit I dont exactly get  callbacks. Its seems I can manage without them now, but I`m aware that during more complicated 'operations' it would be much harder.  Now it works in labview but very slowly...
    nathand wrote:
     (makes the appropriate call to the original DLL, passing the address of the callback function). 
    Could you give tutorials/example/explanation? 
    With best ragards  

  • How use DLL from PL/SQL

    Dear Mr/Mrs,
    My system is
    1.Oracle Database 10g express edition(with apex 3.2)
    2.Windows 2003 server
    3.GSM Modem(usb cable + Vendor Provided dll for developer)
    4.Mobile SIM card
    Now ,i want to send SMS from Database.
    N.B: email to sms is not my intention
    Thanks
    Engr.M.K Chowdhury

    Hi,
    What's wrong with the last answer Re: Using DLL from apex ?
    Regards
    Peter

  • How to use dll's(Functions) in java ?

    Hi
    I want to use the windows : shell32.dll. The declaration is as follows:
    Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" ( _
         ByVal hwnd As Long, _
         ByVal lpOperation As String, _
         ByVal lpFile As String, _
         ByVal lpParameters As String, _
         ByVal lpDirectory As String, _
         ByVal nShowCmd As Long) As Long
    I load the library via System.loadLibrary("shell32") and define the native methods(in java code):
    public native long ShellExecute(
    long hwnd, String lpOperation, String lpFile,
              String lpParameters, String lpDrectory, long nShowCmd);
    but i get a: java.lang.UnsatisfiedLinkError: ShellExecute. Whats wrong ? For long hwnd i used "0" for the first time, but this shouldn't be the problem. Any idea ?
    hte problem i have is to execute a very difficult programm. this need a system(windows) shell to run. so i try to start it with the shell32.dll. in VisualBasic i found my aim using this topic, but it doesn't run in java.
    thanks for help.
    pain
    pain

    work at this addresses: http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/index.html
    If you understand anything write me, too. because I have the same problem and I worked and I coul not understand
    Good Luck..
    ABDURRAH&#304;M KAPLAN [email protected]

  • How to use DLL files in java?

    hi!
    i am working on hardware based java programming. the drivers which i have are in dll format. the manufacturers dont have a java based driver api's for the hardware. i want to invoke the dll file using a bridge between windows invironment and jvm invironment. more over i am not preferring to use native interface interface and c program to tackle this problem.
    is there a way out?

    Is it a COM dll? You could use JACOB. If it's not COM, there's also JNA which as I understand it, is simpler than JNI, although I've never used it
    Edited by: georgemc on Aug 22, 2008 11:05 AM links not working at moment for some reason
    Edited by: georgemc on Aug 22, 2008 11:10 AM

  • Issue in using DLLs from a VC++ 6.0 MFC application

    Hi,
    I am using Labview 7.1 for creating VIs.I have created DLLs for accessing
    these
    VIs from a VC++ application. The VC++ 6.0 project is created using MFC app
    wizard. When I try to execute the VC++ project in Debug configuration it
    works
    fine. When I try to execute the same in release configuration I get an
    error as
    shown in the attachment.
    Attachments:
    labviewWError.jpg ‏132 KB

    Hi Mukund!
    I found this response on another forum thread that looked like it could help you out:
    ==============================================================
    MSVC++ error (system error 998)
    This is actually a Microsoft issue. It has something to do with static and
    dynamic linking of the MFC DLL. Our R&D engineers have verified this with projects created with no LabVIEW code at all (that is why we believe it to be solely a Microsoft issue). There are three options at this time:
    1. Link with the DLL form of MFC.
    2. Do not link with the .lib from the LV DLL, instead use LoadLibrary and GetProcAddress to dynamically load the DLL and call the function.
    3. Use the VC delayload feature to make the LV DLL not get loaded until the first call is made into it. See VC help on "delayload" for information on setting this up.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask
    ==============================================================
    Hope this helps!
    Travis H.
    National Instruments
    Travis H.
    LabVIEW R&D
    National Instruments

  • Using dll in a procedure

    Hi All !
    Is there some way to use a dll file in the oracle stored procedure?
    Any Oracle supplied Package?
    and can i have a site for the material regarding "Oracle Supplied PL/SQL Packages Reference"

    To phrase it more clearly. To implement such a logic is probably many times more complex then simply reprogramming your vb.net logic in pl/sql. Or changing your logic flow from client to server, instead of from server to client (as you want it to be).
    However here are some documents to start reading.
    Data cartridges: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14289/dciroadmap.htm#sthref146
    Using Websphere Message Queing Gateways: http://download.oracle.com/docs/cd/B19306_01/gateways.102/b16216/intro.htm
    Using Heterogenous Connectivity: http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/toc.htm

  • How to use DLL written in VB in JSP

    I have a .dll written in Visual Basic. I want to use that dll in JSP. can anyone tell me is it possible? if yes than how.
    please rely with a complete example.
    Thanks in advance
    Lalit

    I thought JNI required that it be a C++ DLL.
    Maybe you could wrap that DLL as a COM object and used a COM bridge to talk to it.
    "please rely with a complete example." - I don't have one, but if I did I'd ask you to please reply with a lot of USD. This isn't an on-demand free consultancy, you know.

Maybe you are looking for

  • How to incorporate File name and timestamp automatically into select and save file dialog box?

    Hello, i am trying to incorporate the file name which is inputed by the user along with the timestamp into the selected and save file dialog box. Can you help? Thanks Solved! Go to Solution.

  • How to Generate Information Errors in Generic Extractor Function Module

    Hi, In my Generic Extractor logic I am reaching out to an additional table to get a field.  I would like to produce an informational error or red error in the process monitor if I'm unable to get the field.  Is this possible?  How can I generate thes

  • How can i backup iPad2 ?

    On my MBP i have Time Machine, what is the equivalent on an iPad2, it isnt exactly jumping out at me, is hidden somewhere ?, is there also a Finder equivalent anywhere ? tim

  • Asynchronous webservice

    Hello I have read that in Java EE 6 we can declare a webservice method as asynchronous using @Asynchronous annotation using EJB 3.1 How do we make asynchronous webservices using EJB 3.0 Thanks Vidyadhar

  • Help: Cannot boot Windows with GRUB

    here is the strangest thing i have ever met: I cannot boot my Windows system after I installed Archlinux, which took me a huge amout of time I think the menu.lst file has no problem, the windows lines as follow: # (2) Windows title Windows rootnoveri