Get the list of functions in a DLL

HI,
Is there anyway to get the list of all the functions defined in a particular DLL e.g. I have the following native function
static
System.loadLibrary( "A" );
I load the above dll is there a way to get the name of all the functions defined in that DLL.
thanks

If you have the Microsoft Visual Studio installed you can use the "depends" tool or the "dumpbin /exports" command. I will give you an example for the w2k_lsa_auth.dll DLL that is a part of the J2SDK 1.4.2 and implements the method acquireDefaultNativeCreds in the class sun.security.krb5.Credentials. You can see that you can't determine what parameters you need to pass to the acquireDefaultNativeCreds method using the tool because such information is not present in the DLL, only in the associated Java class. (Sorry, I don't know if there is a GNU tool that does the same thing).
Hint - DLLs that have JNI code usually have a lot of functions whose names start with "_Java_".
C:\j2sdk1.4.2_04\jre\bin>dumpbin /exports w2k_lsa_auth.dll
Microsoft (R) COFF/PE Dumper Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.
Dump of file w2k_lsa_auth.dll
File Type: DLL
  Section contains the following exports for w2k_lsa_auth.dll
    00000000 characteristics
    3A5DE0FE time date stamp Thu Jan 11 14:36:14 2001
        0.00 version
           1 ordinal base
           3 number of functions
           3 number of names
    ordinal hint RVA      name
          1    0 00001000 _JNI_OnLoad@8
          2    1 000012C4 _JNI_OnUnload@8
          3    2 0000137F _Java_sun_security_krb5_Credentials_acquireDefaultNati
veCreds@8
  Summary
        1000 .data
        1000 .rdata
        1000 .reloc
        1000 .text

Similar Messages

  • To Get the list of sales orders for a Business partner in CRM.

    Hi all
    Is there any Function module or BAPI to get the Sales orders for a Business partner in CRM. I know there is a BAPI to get the list of sales orders for a customer in ECC, but I donu2019t know how to get the list of sales orders for a Business Partner in CRM.
    Can anybody tell me if there is an inbuilt function module or BAPI available?
    If not how can I pick the sales orders of a business partner in CRM? Between which tables should I apply a join and write SELECT statement to get list of sales orders for a business partner in CRM.

    Hi Jessica,
    Try CRM function module CRM_BUPA_READ_ORDER_OBJECTS.
    You'll get a table with the documents associated to that partner, where you can work on.
    Kind regards.

  • How can i get the list of all users present in the LDAP

    Hi Experts,
    How can i get the list of all users present in the LDAP ?
    Is there any API or function Code to get all user list??
    Please help me out!!!
    Help will be rewarded

    Well it will depend on exactly where your UME configuration points to in the LDAP tree but yes, it is possible to get all users.  Something like the following should do it:
    import com.sap.security.api.*;
    import com.sapportals.portal.prt.component.*;
    IUserFactory iuf;
    ISearchResult isr;
    IUser user
    String userid;
    iuf = UMFactory.getUserFactory();
    isr = iuf.getUniqueIDs();
    you will need to iterate the ISearchResult object but you can get IUser objects by
    userid = (String)isr.next();
    user = iuf.getUser(userid);
    then you can imanipulate / identify / or whatever you need with the user object
    Haydn

  • How can i get the list of all users present in the UME ?

    Hi Experts,
    How can i get the list of all users present in the UME ?
    Is there any API or function Code to get all user list??
    Please help me out!!!
    Help will be rewarded
    -pankaj chouhan

    Hi Pankaj,
    find the official NetWeaver security javadocs (including access to UME) <a href="http://help.sap.com/javadocs/NW04S/current/se/index.html">here</a>. Look for classs UMFactory and proceed from there.
    Best regards,
    Martin

  • Need to get the list of all procedures called in an object

    Hi,
    I am trying to find the list of all proceudres called in an object. I can get the list of packages and individual procedures/functions using dba_dependencies, all_dependencies or user_dependencies. However this would not give me the list of procedures of a package that are used in my object.
    How to find the procedures of a package (and not just the package name) being called in another object?
    Thanks in advance
    Upendra

    You can take the package name from user_depencies and query the USER_SOURCE table for the object name where the package name exists.
    Eg code, here PKemp is the package name.
    SELECT SUBSTR(TEXT,INSTR(TEXT,'PKEMP'))
    FROM USER_SOURCE
    WHERE NAME = 'PROCEMP'
    AND INSTR(TEXT,'PKEMP') >=1
    SUBSTR(TEXT,INSTR(TEXT,'PKEMP'))
    PKEMP.SALUP;

  • How to get the list of all formtypes in SBO?

    Hello,
    How can i get the list of all available formtype in SBO?
    Each SAP Business One form has a unique type to support multiple instances of the same form. For example, the type of the Purchase Order form is 142, Form=139 for Sales Order.
    Is this information stored anywhere?
    Thanks and Regards,
    Sheetal

    Hi Juha / Sheetal,
    Activating the menus will only help to get the forms which are "directly" accessible...
    ...but there are forms that come up only when clicking some button - or double-clicking - or activating a menu item in the (dynamic!) "Goto" menu etc.
    In 2005 SP01 a new function was introduced (and documented in the SDK Helpcenter) that can be used to iterate over all integer IDs (note there are a lot of gaps) up to 65535 and get information about the form and items on it (specifically the databinding!).
    Please take a look at the ResourceData property of the Application object in UI API!
    Gaps (in A version today - to my best knowledge): 10.000 - 20.000; 21.000 - 40.000; 41.000 - 50.000; 51.000 - 60.000...
    Regards,
    Frank
    <i>Visit the WiKi-FAQ at: https://wiki.sdn.sap.com/wiki/display/HOME/BusinessOneFAQ</i>
    BTW: What do you need that information on "all forms" for?
    Message was edited by:
            Frank Moebius

  • How to get the list of file from application server

    Hi Expert.
    I want to get the file list from dicrectory in application server
    best regards.
    Alex

    Hi.
    Yes, You are right, i can get the file list by AL11.
    But i need get the list in ABAP program.
    So i need a function modul to get the list. If you has some sample code, it should be very nice.
    Best.
    Alex

  • How to get the list of organization unit assigned to user

    hello All,
    i have to get the list of organization unit which is assigned to user. i mean if user ABC is assigned to 10 Org unit then how would i get those 10 sales Org? is there Any function module?
    Regards.

    hello Bruno,
    Thanks for reply...i got the Org unit with position...now i need to get territory Id / Areas related to those position's. can u help me in this regard?
    Regards

  • How can I get the list of columns (fieldcatalog) for particular variant

    Hello,
    i have option chose variant on selection screen (REUSE_ALV_VARIANT_F4) and i need to get which fields (columns) are included in this variant - i need to get this restricted fieldcatalog according variant using FM. I need to save file only with columns included in particular variant.
    Thx.

    Hi Zdenek,
    You can get the list of user variant by FM
      call function 'LVC_VARIANT_F4'
    You can get the details of the selected variant using FM
       call function 'LVC_VARIANT_SELECT'
    Please check the SAP example BCALV_GRID_11 program for the code.
    Hope this helps.
    Franc

  • How can i get the list of DB02's Table spaces-overview?

    Dear Experts,
           Could you help me about how can i get the list of DB02's Table spaces-overview? which function module can do it?
    Thanks a lot

    Hi,
    Execute this FM DB02_ORA_FILL_TD110
    U will get all the details of table spaces in the importing parameter TD110 of that FM.
    Reward if helpful
    Regards
    Vodka.

  • By API action, how can I get the list of user IDs within a specific group  (which is created by API) ?

    By API action, how can I get the list of user IDs within a
    specific group (which is created by API) ?
    or How can I get the group (which is I create by API) ID to
    which a specific user belong by API action?
    Thanks
    Alex

    The poster already posted at the Acrobat Users Community, Interactive Forms that sums up a client order from catalog. The sample form posted to Acrobat.com was a revision of the sample form that came with Acrobat 4.0. There are some fairly advance scripts, templates, and document level functions involved with this form.

  • How to get the list data in MM01/MM02 Classification view

    Hi,
    Anyone know the FM that we use for getting the list in Clasification View of MM01/MM02?
    Thanks,
    Alfred

    hii,
    U can use the below fm to get the classification view in MM02..
    CLFM_OBJECT_CLASSIFICATION
    CLFM_OBJECTS_CLASSIFICATION
    BAPI_OBJCL_CREATE_KEY
    CLFM_CLASS_CLASSIFICATION
    or if u want data from classificaton view then use this function module.
    CLAF_CLASSIFICATION_OF_OBJECTS
    Regards,
    Anil N.

  • How to get the list of archeived documents

    Dear Experts,
    How we can get the list of archeived documents ? Infact I am not able to some documents,which are already generated as per the number range interval FBN1.I am not able see these documents in parking/held document lists as well.
    Regards
    Partha
    Edited by: Partha_Mumbai on Feb 24, 2010 2:39 PM

    Hi
    Displaying the Archived List
    To display the archived list, proceed as follows:
           1.      In the SAP System initial screen, choose Office -> Business documents ->Lists.
           2.      Enter the appropriate search information on the selection screen (in our example, the name of the report).
           3.      Choose Execute. The system displays all the of archived lists that meet your selection criteria.
           4.      Select a list and choose, for example, Display from archive system. The system displays the archived list.
           5.      If the list contains index lines, you can search for them using Edit -> Search by attribute. In this example, the list contains an index line every 100 lines, with the following entries:
    Name
    Value
    Index
    IDX
    Number
    Sequence number of index lines
    You can use the Search by attribute function to navigate to line 100, 200, 300, and so on. The index lines themselves are not displayed. You can only use Search by attribute if the list was sent to the spool system while the program was running. Search by attribute is not available if the list was displayed first, then archived afterwards.
    Regards,
    ramanuja chary

  • How to get the list of files of floder

    hello,
    I am using Forms 6i , i want to get the list of file of the directory
    which function i have to use,
    thx.

    In this demo you will find an example
    http://www.oracle.com/technology/sample_code/products/forms/6idemos.html
    Regards

  • How to get the list of values for a dynamic parameter using Web Services SDK?

    <p>I am struggling to get the list of values for a dynamic parameter of a report.</p><p>I am using Java Web Services SDK ... I tried to use PromptInfo.getLOV().getValues() method but it does not work.</p><p>First of all ... is this possible (to get the list of values for a dynamic param) using Web Services?</p><p>Second of all, if this is possible, how should I do it ... it seems it works fine when running the report from CMC. It asks for DB logon info and after that it provides a list of values.</p><p>Thx </p>

    <p>Your assumption is correct. We are trying to get the LOVs from the Crystal Report. I was not aware that this is not supported by Web Services SDK.</p><p>We used Web Services SDK to integrated the Crystal Reports in our web application. We implemented some basic actions for reports: schedule, view instances, run ad-hoc reports.</p><p>We encountered this problem when trying to run/schedule reports with dynamic parameters (a list of values from DB). We were unable to get the LOVs.</p><p>Please let me know if you can think of an alternative to look at.</p><p>Thanks a lot,</p><p>Catalin </p>

Maybe you are looking for

  • External DVD Burner Problem

    Hello, I just purchased an LG GSA-E10L and it works fine in Windows. However, when I try to use it in itunes to import music something strange happens. For instance, I will try to import a Nirvana CD. itunes regongizs the CD applies titles and then I

  • Changing onRollOver etc

    Hi there, My application has some different states and depending upon the state i want the onRollOver, onRelease and onRollOut of my movie clips to either be doing something or doing nothing. The doing something part is fine, but if I switch to want

  • Autmatic Outgoing Bank Interface

    HI All, I got new project and assigned a task to develop functional specs for Automatic Outgoing Bank Interface. Can any body tells me how to to mapping for fields and how to send the file to the bank and in which format? It would be great help from

  • I installed Yealt and after unistalling it and removing ti from my computer, I still have a search bar tab in mozialla and I can't get rid of it.

    The yealt website said I could remove it from the add-ons manager, but it is not showing up in the add-ons manager, even when I run a search for it.

  • Download OneNote full package for Windows

    When I download OneNote 2013 for Windows, I only get a installer which in turn downloads the whole package and then installs it. Since I would like to install OneNote on several computers, its a bit silly to download it again and again. So I wonder i