Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

former_member193202
Participant
0 Kudos

this is not really possible, a dll cannot be uploaded, eg. sap could run in a non windows-environment so this won't work.

what works is using an Active-X Control which is designed liek teh guidelines of e.g. ALV etc., and with Automation Controller Technology you can call routines in there, as this is done with alv and other objects.

2 REPLIES 2

former_member193202
Participant
0 Kudos

this is not really possible, a dll cannot be uploaded, eg. sap could run in a non windows-environment so this won't work.

what works is using an Active-X Control which is designed liek teh guidelines of e.g. ALV etc., and with Automation Controller Technology you can call routines in there, as this is done with alv and other objects.

0 Kudos

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...