Application Development and Automation 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: 
Read only

DLL call

0 Likes
580

Hi everybody!

I am just trying to ruun a dll under ABAP. For that the coding looks like this:

<i>TYPE-POOLS ole2.

data: mydll type ole2_object,

str type string.

create object mydll 'Z_KEYGEN'.

call method of mydll 'GetApplicationKey' = str

exporting

#p1 = '745598'

#p2 = '123456'.</i>

I installed the Z_KEYGEN with the SOLE transaction and entered there the registry entries.

The thing what makes it additional more complicated is that the DLL is physically installed on another server. Within the windows network we just make a registry entry with the correct class id and it works.

Can it work with this coding? If not are there other ways to solve the problem?

Thanks in advance...

Markus

Hi everybody!

I am just trying to ruun a dll under ABAP. For that the coding looks like this:

<i>TYPE-POOLS ole2.

data: mydll type ole2_object,

str type string.

create object mydll 'Z_KEYGEN'.

call method of mydll 'GetApplicationKey' = str

exporting

#p1 = '745598'

#p2 = '123456'.</i>

I installed the Z_KEYGEN with the SOLE transaction and entered there the registry entries.

The thing what makes it additional more complicated is that the DLL is physically installed on another server. Within the windows network we just make a registry entry with the correct class id and it works.

Can it work with this coding? If not are there other ways to solve the problem?

Thanks in advance...

Markus

1 REPLY 1
Read only

Former Member
0 Likes
533

Hi markus,

1. I don't think DLLs will work this way.

2. We should have Active X Exe (OLE)

and not Active X DLL.

regards,

amit m.