Using Dynamic Library

Hi friends,
As a newbie , one more question solution am hunting.
can we make dynamic shared library for java .
If java support dynamic library(i hope it must be) then can you people provide me just how(any link to be read or tutorial) we make and compile and use these library

I need my java program working like that..
when i see that i need to do remote query from USA database than i will invoke USA vendor jar file and load a class within that jar file that provide methode to query USA database.
Same i want to do for UK vendor jar file, or Indian vendor jar file. which jar file i need to invoke it should be decided runtime by looking some trigger like some specific message type.
When i was looking jar files tutorials .. they all say how to make jar file,run jar files from command line and benefities like digitally signatured .. and many others ... But i don't want to run jar files by giving command line options. i need to invoke these within java class file by looking some specific event and then want to use one of methode provided by jar's java file.
There was one more thing i came to know about JCL. So i need you people help me to point out how exactly i can do this.

Similar Messages

  • How to link dynamic library in the Xcode

    Hi all,
    I want to link the dynamic library which is installed in the directory "/usr/local/lib", but I don't know how to set the Xcode to use this library. When I compile the source code by linking the dynamic library, Xcode prints the error information:
    "Checking Dependencies
    Ld /Users/apple/Desktop/test/SPETest/tdstest/build/Release/tdstest normal i386
    cd /Users/apple/Desktop/test/SPETest/tdstest
    /Developer/usr/bin/gcc-4.0 -o /Users/apple/Desktop/test/SPETest/tdstest/build/Release/tdstest -L/Users/apple/Desktop/test/SPETest/tdstest/build/Release -L/Developer/SDKs/MacOSX10.5.sdk/usr/local/lib -L/usr/local/pcsc/lib -F/Users/apple/Desktop/test/SPETest/tdstest/build/Release -filelist /Users/apple/Desktop/test/SPETest/tdstest/build/tdstest.build/Release/tdstest.b uild/Objects-normal/i386/tdstest.LinkFileList -lpcsclite.1.0.0 -arch i386 -dynamiclib -mmacosx-version-min=10.5 /usr/local/lib -isysroot /Developer/SDKs/MacOSX10.5.sdk
    ld: in /Developer/SDKs/MacOSX10.5.sdk/usr/local/lib, can't map file, errno=22
    collect2: ld returned 1 exit status"
    Any suggestion I will appreciate!

    Post to the Developer/SW Development forums under OS X Technologies.

  • Sybase gateway problem - Failed to load dynamic library 'hsdbsyb'

    Having problems getting the Sybase gateway working on XP. Environment in Oracle 9.2.0.6 on Linux, Sybase on AIX 5.1 (moving to linux, gateway currently working well on this box) gateway on XP. I get the following error when trying to use my db link: Help appreciated
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for SYBASE]DRV_InitTdp: DBTYPE.C (473): ; The specified module could not be found.
    ; at FIND_IMAGE_SYMBOL
    DBTYPE.C (7): ; [C079] Failed to load dynamic library 'hsdbsyb'
    tnsnames on linux box has:
    CIT001TSTW =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = lons00106694)(PORT = 1521))
    (CONNECT_DATA =
    (SID = cit001tst)
    (HS = OK)
    on gateway windows box (has oracle client and gateway software and sybase client)
    listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\progra~1\oracle)
    (PROGRAM = extproc)
    (SID_DESC=
    (SID_NAME = cit001tst)
    (ORACLE_HOME = c:\progra~1\oracle)
    (PROGRAM = tg4sybs)
    initcit001tst.ora
    HS_FDS_CONNECT_INFO=CIT1_LON_TST_SQL.cit001tst
    HS_FDS_TRACE_LEVEL=ON
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_FDS_TRACE_LEVEL=4
    HS_FDS_FILE_NAME=trace
    # Environment variables required for Sybase
    set SYBASE=c:\progra~1\sybase\oc1251
    sql.ini
    [CIT1_LON_TST_SQL]
    win3_query=WNLWNSCK,loncmxs0004.uk.net.intra.,5000
    query=NLWNSCK,loncmxs0004.uk.net.intra.,5000

    Yes, this VI is damaged. I can not open it.
    Colin
    LV7.1/8.2/8.2.1/8.5/8.6/9.0/2010/2013; testing system development
    Please Mark the solution as accepted if your problem is solved and donate kudoes
    Home--www.colinzhang.net

  • The icon  for PHOTOSHOP 64-BIT DOESN'T OPEN ANYMORE. I GET A MESSAGE THAT SAYS IT CAN NOT BE FOUND IN THE DYNAMIC LIBRARY.

    THE PHOTOSHOP ICON 64-BIT DOESN'T OPEN ANYMORE THE PROGRAM. I GET A MESSAGE THAT IT CAN NOT BE FOUND IN THE DYNAMIC LIBRARY. WHAT TO DO TO RESTORE IT AND OPEN THE PROGRAM?

    Urazurrutia which operating system are you using?  I would recommend removing and reinstalling Photoshop to restore the application.  What specific version of Photoshop are you facing difficulties with?

  • I just tried updating to iTunes 10.7 on my pc and when I try to launch it I get this error message-The procedure entry point AVCFPlayerSetDirect3DDevice could not be located in the dynamic library AVFoundationCF.dll.  Any Ideas?

    I just tried updating to iTunes 10.7 and when I try to launch it I get this error message-The procedure entry point AVCFPlayerSetDirect3DDevice could not be located in the dynamic library AVFoundationCF.dll.  Them it tells me to re-install iTunes and the same thing happens again.  Any Ideas?

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7, now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (If you've got XP, although the procedure is for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

  • C++ Dynamic Library, iostream: No such file

    Hi, I'm trying to build a dynamic library in Xcode and running into a compilation error finding iostream. The library code is written in C++ and compiles on linux. When compiling in Xcode (2.4.1), I created the project as a C++ Standard Dynamic Library (and later C++ Dynamic Library, same problem) and get the following when building:
    Building target “MC_VICommon” of project “MC_VICommon” with configuration “Debug”
    Checking Dependencies
    ProcessPCH++ /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/MCVICommon_Prefix-dbtpcuqquksioscuujethfosvirt/MC_VICommonPrefix.pch.gch MCVICommonPrefix.pch normal ppc c++ com.apple.compilers.gcc.4_0
    cd /Users/sullivan/Code/Source/VI/MC_VICommon
    /usr/bin/gcc-4.0 -x c++-header -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -fvisibility-inlines-hidden -mfix-and-continue -mmacosx-version-min=10.4 -gdwarf-2 -I/Users/sullivan/Code/Builds/Intermediate/MCVICommon.build/Debug/MC_VICommon.build/libMCVICommon.hmap -F/Users/sullivan/Code/Builds/Debug -I/Users/sullivan/Code/Builds/Debug/include -I/Users/sullivan/Code/Builds/Intermediate/MCVICommon.build/Debug/MCVICommon.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/sullivan/Code/Source/VI/MCVICommon/MC_VICommonPrefix.pch -o /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/MCVICommon_Prefix-dbtpcuqquksioscuujethfosvirt/MC_VICommonPrefix.pch.gch
    ProcessPCH /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/MCVICommon_Prefix-cdgabvnmevghggbxbomensvfvhzy/MC_VICommonPrefix.pch.gch MCVICommonPrefix.pch normal ppc c com.apple.compilers.gcc.4_0
    cd /Users/sullivan/Code/Source/VI/MC_VICommon
    /usr/bin/gcc-4.0 -x c-header -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -mfix-and-continue -mmacosx-version-min=10.4 -gdwarf-2 -I/Users/sullivan/Code/Builds/Intermediate/MCVICommon.build/Debug/MC_VICommon.build/libMCVICommon.hmap -F/Users/sullivan/Code/Builds/Debug -I/Users/sullivan/Code/Builds/Debug/include -I/Users/sullivan/Code/Builds/Intermediate/MCVICommon.build/Debug/MCVICommon.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/sullivan/Code/Source/VI/MCVICommon/MC_VICommonPrefix.pch -o /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/MCVICommon_Prefix-cdgabvnmevghggbxbomensvfvhzy/MC_VICommonPrefix.pch.gch
    /Users/sullivan/Code/Source/VI/MCVICommon/MC_VICommonPrefix.pch:6:20: error: iostream: No such file or directory
    Later I tried starting the project as a Carbon dynamic library and it seems to work fine. Now granted, "if it ain't broke don't fix it", but I am curious and worried this will cause problems later.
    One obviously relevant difference between the working Carbon and non-working C++ is the project_prefix.pch files:
    // Prefix header for all source files of the 'MC_VICommon' target in the 'MC_VICommon' project.
    #include <iostream>
    vs.
    // Prefix header for all source files of the 'CarbonTest' target in the 'CarbonTest' project.
    #include <Carbon/Carbon.h>
    Should I just accept that the carbon one works? Am I doing something wrong? Is there documentation about linking to Carbon vs. not?
    Thanks!

    Thanks for the suggestion. With Xcode though, the build and link parameters are determined automatically. I'm under the impression that it will separate out the .c's and .cpp's to compile with their own parameters. I am wondering now why the prefix.pch file, which is compiled with both -x c++-header and -x c-header, includes iostream. Anyway, I found if I just comment out that line in the prefix file, everything works fine. Even if I clean and re-build, the comment is not over-written and everything builds.
    99% of the time using Xcode is more convenient than makefiles, but on these occasions when an automatically generated file causes problems, I get curious as to what happens behind the scenes when I build a project template like C++ Dynamic Library. I presume there is a way to change my code such that this won't happen, but if I knew why it happened it would help. Anyway, since this work-around is good enough, I should probably just be happy and move on.

  • Sql server 2012 express - tcp/ip connection to named instance using dynamic port not working

    I have a named instance on a SQL 2012 Express server that won't connect via TCP/IP when wanting to connect off of the dynamic port.  I can connect via shared memory locally on the server.   I can connect to the namespace when specifying the
    dynamic port listed in the configuration manager.  
    This is the only named instance on the server and it is not the default.
    TCP/IP is enabled
    Allow Remote connections is enabled
    the server browser service is running
    I can connect via the dynamic port number
    I am testing the connection locally on the server, so I don't believe a firewall is the issue.  I get the same results if I test it from a remote computer.
    When using the sqlcmd (sqlcmd -S tcp:SQLSRVR\NAMEINST -E) I get the message that "the requested protocol isn't supported [xfffffffff]".   The command (sqlcmd -S tcp:SQLSRVR\NAMEINST,59992 -E) works.
    Through SSMS, I get the message "the connection was actively refused".
    On other boxes, I can connect with the named instance without having to specify the port. 
    I have looked through the sql logs and nothing much shows up.  The log does show that is listening on the port # for ipv4 and ipv6.   There is also a line in there talking about the SPN not being registered and not to worry about it if
    you are not using Kerberos.  I logged in through shared memory and it said I was using NTLM.
    Any help would be appreciated.
    thanks.

    Hi clw,
    I’m writing to follow up with you on this post. According to your description, I do a test, if you configure the database engine to listen on a specific TCP port (59992), and
    the port is opened in the firewall. If you want to connect to the SQL Server instance, you 'd better to
    use the port number.
    In my opinion, by default, the default instance of the Database Engine uses port 1433, usually, if you have configured the server to listen on a non-default port number, when an instance of SQL Server uses dynamic port allocation, the connection string that
    is built at the SQL Server client does not specify the destination TCP/IP port unless the user or the programmer explicitly specifies the port. Therefore, the SQL Server client library queries the server on UDP port 1434 to collect the information about the
    destination instance of SQL Server.
    If UDP port 1434 is disabled, the SQL Server client cannot dynamically determine the port of the named instance of SQL Server. Therefore, the SQL Server client may be unable to connect to the named instance of SQL Server. In this situation, the SQL Server
    client must specify the dynamically allocated port where the named instance of SQL Server is listening.
    For more information about configuring an instance of SQL Server to listen on a specific TCP port or dynamic port, you can review the following article.
    https://support.transfrm.com/entries/503111-How-to-configure-an-instance-of-SQL-Server-to-listen-on-a-specific-TCP-port-or-dynamic-port
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How to call Fortran .dll file that using other library files?

    Hi,
    I am trying to do some arkward tasks using LabView, and I am desperately need help....
     A little bit background:
    1. My co-worker has some code written in Fortran, where he called other libraries (many from CERNLAB or PAW). Those stuffs are pretty powerful in mathmatical calculation and simulations.
    2. In some of my LabView code, I need to call his Fortran source code in order to do some complicated calculations. I have no capablility to translate his Fortran code to Labview (or is it even possible??), so we end up with trying to use "Call library function node" where I just provide input/outputs to communicate with his code. The idea sounds simple enough?
    3. We complie the Fortran code into .dll, and then specifiy the dll in "Call library function node". The first try with a very simple Fortran code, something like c = a+b*a, was sucessful. The dll file and Call lib function worked good. It's sort of proved the concept.
    4. Now I am trying more complicated Fortran code (say Test.dll), which calling other library (.lib files) that using typical "call xxx(a,b,c)" line, and my nightmare started....  It seems nothing was excuted when I call Test.dll in LabView.
    Questions:
    1. How do LabView know if the Test.dll code needs functions from other .lib files? Do I need to copy all the .lib files to a specific folder?
    2. When I create .dll file, for LabView to be able to use it, are there any special requirement on the way the .dll is compiled?
    3. Seems there is mismatch btw the data type in Fortran and LabView. For example, LabView's  Signed 8-bit Integer seems different with a integer in Fortran. How can i know the correlation btw data type in different langurage, i.e. LabView vs Fortran?
    4. Are there any good examples that I can take a look?
    I would highly appreicate any suggestions/helps!
    Rgds,
    Harry

    You are aware that Intel Visual Fortran is the successor to Compaq Visual Fortran (I think you made a mistype with the Virtual)? So an upgrade might be at its place.
    Anyhow I'm really not familiar with Fortran at all, but lib files are usually compiled into an EXE or DLL and not loaded dynamically. 1) 
    So there should be no problem with locating those libs. What most likely is a problem are other DLL dependencies such as any Fortran Runtime library or possibly other third party DLLs the more advanced code in your DLL might be using.
    Typically most compilers can be configured to link the runtime library code statically into the DLL, as altenbach reports for the Intel compiler, otherwise you must make sure to install the  redistributable Fortran Runtime Library for your compiler. Besides that you must make sure to find out what other runtime dependencies your code might have and install them.
    1) One exception I know of is LabWindows CVI which allows to also load lib files dynamically. This is supposedly a legacy feature from LabWindows for DOS, which allowed that feature to simulate dynamic module loading in order to swap modules at runtime to work around the 640k memory limitation of DOS.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Building Dynamic library

    I am trying to build a dynamic library with (CC -G) with a bunch of .o files containing object files from .cc as well
    .c files , together with bunch of archived libraries (.a files).
    Some of them are not generated by me.
    . I am getting <unknown> ( name of objecct )
    error throughout. I made sure I made all the .o files that I made
    was made with -kpic option.

    Hi Gilad,
    I have a suggestion concerning the std::vector::__insert_aux error:
    http://forum.java.sun.com/thread.jspa?forumID=850&threadID=5069680
    Some recommended link options are provided in:
    http://forum.java.sun.com/thread.jspa?forumID=850&threadID=5104725
    Hope this is useful.
    Bye.

  • PHP Startup: Unable to load dynamic library './oci8.so' - ./oci8.so:

    I have oracle 11g, php5, and apache2 are running on server(A). One of my php application need to connect Oracle 10g on server(B). so I have to configure PHP5 and OCI8. Here is what I have done.
    #env
    ORACLE_SID=demo
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.1.0/db_1/lib
    TNS_ADMIN=/u01/app/oracle/product/11.1.0/db_1/network/admin
    ## PHP configured
    #./configure prefix=/usr/local/php5 with-apxs2=/usr/local/apache2/bin/apxs --with-oci8=/u01/app/oracle/product/11.1.
    0/db_1 enable-sigchild with-config-file-path=/usr/local/apache2/conf
    ##OCI8
    ./configure -with-oci8=shared,/u01/app/oracle/product/11.1.0/db_1
    Then I add "extension=oci8.so" on the php.ini file (/usr/local/php/conf/php.ini)
    ## Here is a problem
    # php phpinfo.php |grep oci
    PHP Warning: PHP Startup: Unable to load dynamic library './oci8.so' - ./oci8.so: cannot open shared object file: No such file or directory in Unknown on line 0
    oci8
    oci8.default_prefetch => 10 => 10
    oci8.max_persistent => -1 => -1
    oci8.old_oci_close_semantics => 0 => 0
    oci8.persistent_timeout => -1 => -1
    oci8.ping_interval => 60 => 60
    oci8.privileged_connect => Off => Off
    oci8.statement_cache_size => 20 => 20
    OLDPWD => /usr/local/apps/oci8-1.3.4
    _SERVER["OLDPWD"] => /usr/local/apps/oci8-1.3.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    what is your OS?
    Under Fedora 9 I used :
    locate oci8.soI had to use yumex to install a bunch of php files (pecl and phpize) that had the programs to dowload and install oci8.
    Another post has the instructions! Search on phpize or pecl
    in /etc/php.ini put :
    extension=oci8.so

  • Using Dynamic SQL in Forms

    Does anyone know anything about Dynamic SQL not being available in Forms v. 6.0.8.11.3? I trying to use Dynamic SQL for the first time and am having some difficulty. When I try to put my SQL in a function and run it straight into the database through SQLPlus, it works fine, but when trying to compile the code in Forms Builder (in a library), I get compiler errors. Any help would be appreciated...
    Thanks!
    Vanessa

    When I tried to compile the following code in Forms, the compiler error I got was Encountered the symbol "STMT_STR" when expecting one of the following: select. However, when I run it in SQLPlus, it creates the function without any errors.
    FUNCTION my_func
    return number
    is
    TYPE DiaryCurTyp IS REF CURSOR;
    cur DiaryCurTyp;
    stmt_str VARCHAR2(200);
    dmonth NUMBER;
    dday NUMBER;
    BEGIN
    stmt_str := 'SELECT dmonth, dday FROM p2_diary
    WHERE dmonth = :1';
    OPEN cur FOR stmt_str USING '12';
    LOOP
    FETCH cur INTO dmonth, dday;
    EXIT WHEN cur%NOTFOUND;
    -- <process data>
    END LOOP;
    CLOSE cur;
    END;

  • Encore constantly crashes using dynamic link....

    Not sure what's going on here, but I just wanted to see if anyone knew what was going on. For some reason when I use dynamic link from Adobe Premiere to Encore it constantly crashes immediately.
    The project is just over an hour long with loads of edits. 
    Thanks

    DStrange,
    Thanks for reporting that. It can solve some "DL crashes Encore" problems.
    Rookie, a first step (which you may have done) is to see if Encore can be opened on its own, do basic functions (e.g. add a menu from the library etc). If yes, then look at whether it is only the one Premiere sequence, etc.
    And, yes, try DStrange's solution. You don't have to add chapters to see if works. Chapters are one of the thinks that can cause issues, so a no-chapter version is a good troubleshooting step.

  • Help / Configure PHP+IIS+Oracle "Unable to load dynamic library....."

    Hello,
    I am a seasoned Oracle user and PHP developer and for the life of me I cannot get our development server to load the php_oci8.dll file. I have spent hours searching the web, the Oracle forums and reading the FAQs and can still not get the web server to load correctly. Below are some specs about the environment we are running:
    -OS: Win2k Server SP4
    -Web Server: IIS 5.0
    -PHP Version: 5.1.4 PHP
    -Full Oracle Admin 10gr2 client is installed on web server
    When I pull up a page, I get the following warning: "PHP Warning: PHP Startup: Unable to load dynamic library 'D:\temp\php_oci8.dll' - The specified module could not be found. in Unknown on line 0 "
    Here is what I have done to troubleshoot:
    -'everyone' user has full access to the extension directory
    -I have tried moving the php_oci8.dll to other directories and changing the extension_dir in my php.ini
    -I am confident that my extension_dir in the ini file is correct
    -I have tried the Oracle instant client and the full admin OEM client. The machine currently has the full OEM client installed
    -All environment variables appear to be correct
    I rarely post to forums but I am running out of options. If I cannot figure this out soon, we will have to go another route for resolution. Any help is tremendously appreciated.
    Dave.
    [email protected]
    Message was edited by:
    user527623

    Should I explicity create environment variables named: ORACLE_HOME and NLS_LANGYep, you need to create those specific variables.
    Nooooo don't use ODBC!!!!
    Actually, I don't really care either way, I'm pretty much technology agnostic. Different things have different uses and you have to pick the best tool for the job. If I was a zealot I'd say "Don't use IIS" :p
    ~Jer

  • Dynamic library+ Linux + ORACLE 10.2

    Hello !
    I have Linux + ORACLE 10.2
    $ env | grep LAN
    NLS_LANG=AMERICAN_AMERICA.UTF8
    LANG=en_US.UTF-8
    database parameters:
    1 NLS_LANGUAGE AMERICAN
    2 NLS_TERRITORY AMERICA
    3 NLS_CHARACTERSET UTF8
    4 NLS_NCHAR_CHARACTERSET AL16UTF16
    I have a dynamic library and plsql function:
    #include <stdio.h>
    int sysrun(char command, char ying, char *yang)
    FILE *fpointer ;
    fpointer = fopen("out6.txt","wt");
    if (!fpointer)
    printf( "!!! file error \n" );
    return;
    fprintf(fpointer,"ying:%s yang:%s command:%s \n",ying,yang,command);
    fclose(fpointer);
    return 0;
    //return system(command);
    create or replace function sysrun_2 (syscomm in varchar2, ying IN VARCHAR2, yang IN VARCHAR2 )
    return binary_integer
    as language C
    name "sysrun"
    library shell_lib
    parameters(syscomm string, ying string,yang string);
    I send to library russian words(by sqlplus), but it write in a file bad symbols
    'п╡я▀'
    I run query on sqlplus:
    SELECT CONVERT('п╡я▀', VALUE) conv,VALUE FROM
    v$nls_valid_values v
    where parameter = 'CHARACTERSET';
    And see, that the best code page is CL8KOI8R
    why CL8KOI8R? And where's from ?
    And how can I change it ?
    P.S. when I call library from Linux it's ok !!

    Hi,
    I'm not familiar with Russian characters and charsets like CL8KOI8R. Have you tried creating a table in the database and inserting the same characters to verify if that works?
    It might be worth verifying if the environment variables are correct for the extproc process as well. I'm not sure if the environment variables you listed are for the "oracle" user or not.
    Also, are you using the Oracle C++ Call Interface (OCCI) with this?
    Regards,
    Mark

  • WIFI acquisition with WLANAPI.DLL dynamic library

    Hello to everyone,
    I'm a French student currently studying in Germany, for my end studies application.
    I am facing a problem : I need to acquire the MAC adresses and signal strengths of the nearby WIFI networks via the WIFI interface of my laptop.
    I am at the optimization step, and I had the idea to use the wlanapi.dll dynamic library, as you can see it in the attached VI.
    But, my problem is that I really don't know how to configure the "call library function node", wich functions to call, in wich order, etc... I have only a light knowledge in C, but not at all in C++.
    Here the Microsoft documentation I found : 
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms706274%28v=vs.85%29.aspx
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751%28v=vs.85%29.aspx
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms706274%28v=vs.85%29.aspx
    I called the NI support 10 days ago, no answer yet...
    Thank you very much for your help,
    Pierre
    Attachments:
    DLL try.vi ‏8 KB

    Hello pierre-dev,
    In fact, the functions that you need to call as well as the order are information which are specific to the DLL that you would like to use. In the DLL, you will find basic functions and if you want to realize some complex behaviors, you will have to look into the documentation of the DLL (on Microsoft site here) in order to know which ones you will need to associate (put together).
    If you wish, you can try to contact Microsoft to help you but LabVIEW is not related to this first stage.
    Then, once you will have found out which functions to use, you will have to choose the right datatypes to fit with Microsoft's datatypes. And the documents that Junior provided you here will help you to do this.
    Here an additional document which should also be useful :
    Using External Code in LabVIEW
    Regards,
    Jérémy C.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

Maybe you are looking for