How can i use function from microsoft DLL in an ABAP program?

Hi
Is there a way to use a function from a standard DLL file in an ABAP progrm ????
The dll is stored in c:\winnt\sttem32.
Do i need to upload the dirver to the ECC server? do i need to put it some Tcode before i use it in my program?
i tried to fined some clear exaple but without any success .
Hope to get some help here ,
thanks ,
E.

this is not really possible, a dll cannot be uploaded, eg. sap could run in a non windows-environment so this won't work
Why not?  You can query the local operating system for type/version, you can detect the presence of a file if you have the access, and you can run local executables using GUI_EXECUTE.  However, if you've got any level of decent security in place, you're not going to be allowed to run a DLL in that location...

Similar Messages

  • How can I using functions implicit in dll file in java code ?

    How can I using functions implicit in dll file in java code ?
    I'm developing a program that interfacing with fingerprint hardware.
    I have the finger print already, and I have to the SDK that have all functions for managing this fingerprint.
    These SDK functions are represented in dll files.
    I want to know how can I use these functions in java code .
    I looked on this link of sun forums :
    http://forum.java.sun.com/thread.jspa?threadID=305171&messageID=1215613
    but I don't Understand the meaning of native code.
    Thanks for help.

    please please please please please please please please help me:
    After reading a lot of articles, tutorials, and overviews about JNI (Java Native Interface)
    I found that these steps
    1.     Develop the Java code
    2.     Compile the Java code to a class file
    3.     Generate the header file
    4.     Implement the native method
    5.     Create the shared library or DLL
    6.     Run the Java program
    Is the common steps in JNI development
    The most powerful link was
    http://java.sun.com/docs/books/jni/html/start.html
    and
    http://www.netbeans.org/kb/55/beginning-jni-part2.html
    and the pdf oh this link
    http://www.ibm.com/developerworks/edu/j-dw-javajni-i.html requiring IBM registration to download it.
    But I have already the DLL, and want to the stright forward way to use its functions by java code only.
    I don not to write any C++ code .
    Is this possible???????????????????????????????
    The name of these dll is �zkemsdk.dll�
    It developed by ZKSOFTWARE company for managing a finger print �NP1500A�of
    http://www.napcogulfsecurity.com/finger_print.asp
    thanks for help

  • I want to hook up a mac mini and us my tv as a monitor. how can I use airplay from my phone on the mac mini like i can with an apple tv (without having to buy an apple tv!). the airplay capabilities i want to use are mirroring and streaming from my iphone

    i want to hook up a mac mini and us my tv as a monitor. how can I use airplay from my phone on the mac mini like i can with an apple tv (without having to buy an apple tv!). the airplay capabilities i want to use are mirroring and streaming from my iphone!

    Download AirPlayer for Mac - Transforms your Mac into an AirPlay-compatible display. MacUpdate.com

  • HOW CAN I IMPORT TEXT FROM MICROSOFT WORD TO THE WEB PAGE?

    HOW CAN I IMPORT TEXT FROM MICROSOFT WORD TO THE WEB PAGE?

    Another method is tosave your Word document as an a web page.  Then open the htm file, copy the text and paste into an HTML snippet on your web page.  Resize to show all the document and publish. It will retain the style, font and alignment of the original Word document.
    OT

  • How can I use music from two different iTunes accounts?

    how can I use music from two different iTunes accounts?

    If you mean iTunes Store accounts, there's really nothing for you to do. Just add the tracks to the iTunes library and play them. Music purchased prior to late-2009 will been to be authorized, though. Pull down Store > Authorize... and type the credentials of the Apple ID used to buy the tracks.
    If you mean something else, please describe in more detail.

  • Hi how can i use imessage from my mac

    hi how can i use imessage from my mac , i tried to text message to one of my contact name but it said the number is not registered with imessage so how can i registered all my contacts to the imessage . thanks

    The person you try to contact has to register his number/his appleID with iMessage.

  • How can I export songs from my iTunes to a mail program or laptop?

    How can I export songs from my iTunes to a mail program/computer? The songs in question are originals composed by my boyfriend in Garage Band. We have full rights to them, but they import into iTunes like all the other artists songs. His hard drive crashed and I have the only copies. I have no access to my iMac for 2 months while we tour our show and we need them on the tour. We are in dire straights if we can not access these songs and the iPad will not hook up to our equipment. Plus we need to add a track to a promotional video. So how can we access our own music?
    Thanks.

    If they are in the iPad's Music app then the only way to get them out of it is by connecting the iPad to a computer. As they aren't iTunes purchases you won't be able to copy them back to a computer's iTunes via File > Devices > Transfer Purchases, instead you will need a third-party program on the computer to copy them off - there are some listed half-way down this page which should work: https://discussions.apple.com/docs/DOC-3991

  • Using function from windows dll in abap program

    Hi
    How can i use a function from a standard  DLL that in c:\winnt\system32.?.
    Ami

    Hello ami,
    here is the solution to your question - I know, a little bit late, but I hope not to late.
    Cheers
    Stefan
    "-Begin-----------------------------------------------------------------
      Report  ZLOGON.
      "-Variables-----------------------------------------------------------
        Data Win32 Type OLE2_OBJECT.
        Data Token Type String Value '0000'.
        Data hToken Type Integer.
        Data phToken Type Integer.
        Data ret Type Integer.
      "-Main----------------------------------------------------------------
        Create Object Win32 'DynamicWrapperX'.
        If Win32-Handle > 0.
          "-Define external functions---------------------------------------
            Call Method Of Win32 'Register' Exporting
              #1 = 'advapi32.dll' #2 = 'LogonUserA'
              #3 = 'i=sssuup' #4 = 'r=l'.
            Call Method Of Win32 'Register' Exporting
              #1 = 'kernel32.dll' #2 = 'CloseHandle'
              #3 = 'i=h' #4 = 'r=l'.
            Call Method Of Win32 'Register' Exporting
              #1 = 'kernel32.dll' #2 = 'GetLastError'
              #3 = 'r=u'.
          Call Method Of Win32 'StrPtr' = phToken Exporting
            #1 = Token #2 = 's'.
          Call Method Of Win32 'LogonUserA' = ret Exporting
            #1 = 'bambi' #2 = '.' #3 = 'hugo' #4 = 2 #5 = 0 #6 = phToken.
          If ret <> 0.
            "-Logon successful----------------------------------------------
              Write: 'Logon as bambi user'.
            Call Method Of Win32 'NumGet' = hToken Exporting
              #1 = phToken.
            Call Method Of Win32 'CloseHandle' = ret Exporting
              #1 = hToken.
            If ret = 0.
              Call Method Of Win32 'GetLastError' = ret.
              Write: / ret.
            EndIf.
          Else.
            Call Method Of Win32 'GetLastError' = ret.
            Write: / ret.
          EndIf.
          Free Object Win32.
        EndIf.
    "-End-------------------------------------------------------------------
    Edited by: Stefan Schnell on Sep 6, 2011 7:07 AM

  • How can i use plugins from main stage like space designer in logic express 9.1.6

    I'm using logic express 9.1.6. today I bought Mainstage 2 in the appstore. there are a lot of powerfull plugins. some of them, like e.g. space designer, are not included in logic express.
    how can I use the in logic express? they are not listed automatically with all the others...
    thanx

    Hi
    No can do.... these plugs etc are part of the code for Logic Pro and MainStage (and not for Express)
    CCT

  • How can I modify data from a Transparent Table without ABAP code.

    Hi,All
    How can I modify data from a Transparent Table (like TCURR),  and important thing is I want do all that with no ABAP code here. It is like that we always do that in a Oracle database use TOAD or PLSQL third party tools, with no script code here.
    I had fond that there is a way can do that:
    1, type 'se11',and Display Database table 'TCURR', click Contents, then click Execute to display all data
    2, type '/h' and let debugging on
    3, select one of this data then click 'Display',enter in debugging system.
    4, then make a breakpoint in the code. But... display a dialog let I type a 'ABAP Cmnds', I want to know what can be type in for that?
    and, My system is ECC6.
    thank you all
    Edited by: xuehui li on Aug 20, 2008 6:30 PM

    Hello,
    Your approach (with Vijay's suggestion) MAY work.  However, depending on how tight security is at the company that you are working at you may or may not be able to acutaly change the value of the SHOW field to EDIT.  This will be especially true if you are working in a Production environment.  Vijay's other comment is true as well.  This is not a recommended approach to change data (especially data with a financial impact like TCURR) in a production environment.  The auditors will not be impressed.
    Explore the option of a maintenace view or look at tcode TBDM to upload a file which includes daily rates from providers like Reuters or try tcode s_bce_68000174 which is a maintenance view on TCURR.
    Regards
    Greg Kern

  • How can I use fonts found in iDVD 08 in other programs?

    I created a DVD using 6.0 Themes, Pass Through in particular, by exporting a slideshow movie from iMovie 06 and it looks great. Thank you's to forum members for the help I needed to resolve issues. Deleting the plist files and burning at 2 times speed did the trick to problems I encountered. But here's one I've been spending lots of time on: I used the font, Humana Serif Md ITC TT, on the DVD and I would like to use it on the printed cover, however, I can't access it from any other program. I've used Spotlight to no avail and it does not present itself on the list of available fonts on any other program I have. How can I use that font in Pages to use on my printed DVD cover?

    Kool! I just learned something new myself. (thanx Niel)
    It's essential that you do exactly as stated above while holding down the option key in the instructions that were kindly provided above. The option key serves to copy these files to an alternate location if I'm not mistaken. Holding down any other key but Option may have an unintended effect on the application itself.
    So please do exercise caution while working within the Resources folder / showing package contents.

  • How can i pass string from C++ DLL to Java via JNI?

    Hi everybody. I made a DLL with Borland C++. I must pass a string from this dll to Java via JNI.Namely i define a string variable in C++ DLL and i send this variable's value to Java via JNI.
    I can pass integers but i couldnt Strings. . How can i do this? is there any sample?

    Hi,
    So your function should be private static native String get_text();
    (It's often a good idea to make native methods private since when you change signatures you generally have to change java wrapper methods only).
    I know nothing about C++ strings but I'm pretty sure that you can convert it to char*, so
    do :
    char* szMyString = myString.toChar*();
    Then return from native with JNU_NewStringPlatform(env, szMyString)
    (see my 1st answer for JNU_NewStringPlatform() description).
    --Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can I use software from mac os 8.6

    I have old mac 4400/160 with os 8.6. Can I use program files from that os on os x and how?

    Hi, Boopsy. Welcome to the Discussions.
    By "program files" I presume you mean "applications." If you mean data files, that's a different question.
    It really depends on the applications (apps).
    First, they will only run in Classic mode, if they run at all. Classic mode is a "hardware compatibility layer." Basically, this allows you to run Mac OS 9 and Mac OS X simultaneously, meaning you can use Mac OS 9 apps and Mac OS X apps simultaneously. Both Mac OS X and Mac OS 9.2.2 must be installed on the computer in question.
    Some Mac OS 8.x apps have been known to run in Classic, but it's really suited to Mac OS 9 apps.
    Second, any apps that require direct access to the hardware — a common issue with games developed in Mac OS 9 and earlier — won't run in Classic mode.
    Finally, if you buy a new Intel-based Mac, Classic is not even an option: Classic mode is not available on Intel-based Macs, signaling the true death of Mac OS 9. So, if you're planning on getting a new, Intel-based Mac, none of the OS 8.6 apps you have can be used on such. You would need a Mac that employs PowerPC architecture, which are the last Macs that can run Classic.
    If you had a PowerPC-based Mac with Mac OS X and Mac OS 9.2.2 installed, you could then try installing your old apps using the original installation disks using the instructions in "Mac OS X 10.4 Help: Installing applications made for Mac OS 9." You'd probably also need an external USB floppy drive, assuming the apps are distributed on the usual 3.5" floppy disks.
    However, given the items noted above, there's no guarantee they would either install or work.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • How can i use calculation from one sheet into another sheet in discoverer

    I have a function which has to be used for several calcualtions in discoverer report.For each row the function is called 8 times, Is there any way that i can create a caculation based on the function in one tab and use this value returned by the function in the other tabs in the discoverer so that i can eliminte the function being called 8 times for each row.
    Please help.

    Hi Lloyd ,
    Thanks for the reply. See below for the detail explanation of what i am Talking about.
    I am Developing a Operational Expense Report based on a Custom Table.
    I get the following columns from the custom Table - Account, Amount Manual, Amount Local, Amount Overseas.
    Then I have two Functions which Calculates two different Ratios Based on the other Custom Table.
    1st function - Qualifying Sales Ratio
    CREATE OR REPLACE FUNCTION xxwfs_avi_q_sales_ratio (p_period VARCHAR2)
    RETURN NUMBER
    IS
    v_q_ratio NUMBER := NULL;
    BEGIN
    SELECT ROUND ((a.nonqualified_ar_amount / b.nq_nq_ar_amount), 4) qualifying_sales_ratio
    INTO v_q_ratio
    FROM (SELECT SUM(NVL(gp.total,0)) qualified_ar_amount
    FROM xxwfs_gp_table gp
    WHERE gp.company = 24101
    AND gp.gtp_qualified = 'Q'
    AND gp.org_id = 126
    AND gp.gl_date >= p_from_date
    ANDgp.gl_date <= p_to_period) a,
    (SELECT SUM(NVL(gp.total,0)) nq_nq_ar_amount
    FROM xxwfs_gp_table gp
    WHERE gp.company = 24101
    AND gp.gtp_qualified in( 'Q','NQ')
    AND gp.org_id = 126
    AND gp.gl_date >= p_from_date
    ANDgp.gl_date <= p_to_period) b;
    RETURN v_q_ratio;
    EXCEPTION
    WHEN OTHERS
    THEN
    v_q_ratio := 0;
    RETURN v_q_ratio;
    END xxwfs_avi_q_sales_ratio;
    2nd Function - Nonqualifying Sales Ratio
    CREATE OR REPLACE FUNCTION xxwfs_avi_nq_sales_ratio (p_period VARCHAR2)
    RETURN NUMBER
    IS
    v_q_ratio NUMBER := NULL;
    BEGIN
    SELECT ROUND ((a.nonqualified_ar_amount / b.nq_nq_ar_amount), 4) nonqualifying_sales_ratio
    INTO v_q_ratio
    FROM (SELECT SUM(NVL(gp.total,0)) nonqualified_ar_amount
    FROM xxwfs_gp_table gp
    WHERE gp.company = 24101
    AND gp.gtp_qualified = 'NQ'
    AND gp.org_id = 126
    AND gp.gl_date >= p_from_date
    ANDgp.gl_date <= p_to_period) a,
    (SELECT SUM(NVL(gp.total,0)) nq_nq_ar_amount
    FROM xxwfs_gp_table gp
    WHERE gp.company = 24101
    AND gp.gtp_qualified is not null
    AND gp.org_id = 126
    AND gp.gl_date >= p_from_date
    AND gp.gl_date <= p_to_date) b;
    RETURN v_q_ratio;
    EXCEPTION
    WHEN OTHERS
    THEN
    v_q_ratio := 0;
    RETURN v_q_ratio;
    END xxwfs_avi_nq_sales_ratio;
    The report is Run based on the parameter for the Range of gl_date.
    I registered these functions in discoverer and passing the parameter values to calculate the ratios. The 2 ratios are just one time calculations for the range of gl_date the report is run.
    The i mulitiply Qualifying Sales Ratio with the columns Amount Manual, Amount Local and Amount Overseas to get Qualifyied Amount Manual, Qualified Amount Local , Qualifyied Amount Overseas and the Nonqualifing Sales Ratio with the same Amount Manual, Amount Local and Amount Overseas columns to get NonQualifyied Amount Manual, NonQualified Amount Local , NonQualifyied Amount Overseas.
    This is the design i am approching now. For each record the function is called 8 times to calculates the qualifying and Non qualifying Sales ratios Ato caculate the other 6 columns based on these Ratio Calculations.
    So i was thinking if there is any way that i can get the Ratios for a specific date range in the First tab and usethe Value of the ratios in the other tab so that the function call is minimized.
    Waiting for your replies.

  • How can I call functions from a SWF loaded in to another SWF?

    Hi there,
    Please excuse my ignorance, I am very new to actionscript and flash.
    I have 2 SWF's - a.swf and b.swf.
    I load b.swf into a.swf with the following code:
    var swfLoader:MovieClipLoader = new MovieClipLoader();
    swfLoader.loadClip("b.swf", container_mc);
    Now in b.swf, I have a function as follows:
    public function sendData(){
      trace("I ran the function!");
    So I have done a lot of reading, from what I can tell I should be able to run the sendData() function from the code in a.swf, by typing:
    container_mc.sendData();
    but its not working. What am I doing wrong?
    Thanks in advance,
    Adam

    Thanks heaps mate, after a bit of trial and error it works! Here is the code that I added:
    var loadingListener:Object = new Object();
    swfLoader.addListener(loadingListener);
    loadingListener.onLoadStart = function(container:MovieClip):Void  {
        trace("The MovieClip "+container+" started loading");
    loadingListener.onLoadInit = function(container:MovieClip):Void
        trace("The MovieClip " + container + " has been initialized");
      container_mc.test();
    Marked your answer as correct :-)
    Thanks again, I really appreciate your help.
    Cheers
    Adam

Maybe you are looking for

  • How do I replace a bad RAM chip on my Mac Pro?

    When I start up my Mac, I keep getting a window that tells me to restart my computer. I've run Disk Warrior and saved my files to an external hard drive, but I still get the little black window telling me to restart my computer. No matter what I do.

  • Error while Activating Tech Content in SPRO

    Hi All, I am trying to install Tech Content & Admin Cockpit. I am following the recommended steps(OSS 934848). When I run the RSTCC_ACTIVATE_ADMIN_COCKPIT, it errors out & gives following message: E:RS:062 0TCTBWOBJCT_TEXT BWU-010 A We are on SP12 &

  • Final Cut Pro X export troubles: exports video with only half the audio.

    Ever since I updated Final Cut Pro X, I've been having problems exporting. I either get error messages or the audio doesn't fully export. When I tried exporting a master file to my desktop, I got a message saying "error occurred when creating frame"

  • Multi-value join

    Hi, There's something I need to do with the search APIs, and I'm not sure if it's possible. I need to join a table on itself. My problem is, the two columns I need to use for the join are not of the same data type. One of them is a String and the oth

  • IDOC Message type for EDI 947- 'Warehouse Inventory Adjustment Advice'

    Dear Guru's I am in a EDI-IDOC project for my Client. Where a customer is treating my client as 3rd party warehouse. we have a scenario where I wanted to Trigger OutBond EDI 947 (Warehouse Inventory Adjustment Advice) from MIGO/MB1A/MB1B and MB1C. Ca