Page 2 of 2 <12
Topic Options
#167510 - 2006-09-20 03:35 PM Re: use of a dll
guenni Offline
Fresh Scripter

Registered: 2006-09-12
Posts: 9
Correct it isn't my dll...
Sorry my English is bad and i didn't think about the word my *g*

I know also the links. I looked for help in the Internet but I didn't find anything about the use of ehllapi and kix and it would be great if this will work together.

Top
#167511 - 2006-09-20 03:52 PM Re: use of a dll
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Did you read all of the thread Howard linked to. His DLL has the ability to expose API calls in other DLLs that do not have COM automation. KiX only supports DLLs that use COM.

Who's HLLAPI.DLL are you trying to use and have you verified that it does not support COM?

Top
#167512 - 2006-09-21 08:25 AM Re: use of a dll
guenni Offline
Fresh Scripter

Registered: 2006-09-12
Posts: 9
How can i verified this?
I use the dll from Attachmate Extra. I tried all of them

Regards

Top
#167513 - 2006-09-22 01:25 PM Re: use of a dll
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
The possibility exists that if the API call syntax exists for a DLL that is not exposed via COM that my HABobjects DLL method can call your DLL's API. But first you need to know how to call the specific API.

If the DLL you have is a COM library then you can use CreateObject like my example shows. But if your DLL is not exposed vias COM then you need to use my example code and substitute your DLL's API call.

My code call an API (GetCurrentProcessId) from the Kernel32.dll

$HABObject.Win32API ("kernel32", "GetCurrentProcessId", "", "I" )

You code will need to call whatever your API is...

$HABObject.Win32API ("ehllapi", "YourAPIname", "", "I" ) with the proper input and output flags.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
Page 2 of 2 <12


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2141 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.116 seconds in which 0.09 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org