Delphi - working with dll's for beginners
- by doubleu
Hi there,
I'm a total newbie regarding to DLL. And I don't need to creat them I just need to use one.
I've read some tutorials, but they weren't as helpful as I hoped.
Here's the way I started:
I've downloaded the SDK which I need to use (ESTOS Tapi Server).
I read in the docs and spotted out the DLL which I need to use, which is the ENetSN.dll, and so I registered it.
Next I've used the Dependency Walker to take a look at the DLL - and I was wondering because there are only these functions: DllCanUnloadNow, DllGetClassObject, DllRegisterServer and DllUnregisterServer, and these are not the functions mentioned in the docs.
I think I have to call DllGetClassObject to get an object out of the DLL with which I can start to work. Unfortunately the tutorials I found doesn't mentioned how this is done (or I didn't understood it).
There are also 3 exmaples delivered for VB and C++, but I wasn't able to 'translate' them into delphi.
If somebody knows a tutorial where this is explained or could give me a pointer to the right direcetion, I would be very thankful .