Posted by: Jeff Luther
You have to do a little detective work to figure this out:
--
TeaTalk past issues for 2003 are here:
TeaTalk archive - ?year=2003
-- the zip of files for issue 2003-02 is down the page.
-- include lib. in that zip, comfrm30.apl lists this:
Code: Select all
Library name: cdlli30.dll
ThreadSafe: No
Function: GetEnvPtr
Description:
Export Ordinal: 1403
Returns
Number: DWORD
Parameters
** NOTE the export ordinal, because #1403 (0x57b) is really this function
in cdlli30.dll:
==================================================
Code: Select all
Function Name : ?ServerGetREB@@YGPAVServerREB@@XZ
Address : 0x100399d0
Relative Address : 0x000399d0
Ordinal : 1403 (0x57b)
Filename : cdlli30.dll
Full Path : C:\GuptaTD30\cdlli30.dll
==================================================
So, the solution is to use the pseudo-name for the function, but you must
specify the exp. ordinal -- and be aware that that # is TD version dependent!
In TD v4 cdlli40.dll looks like that function has ord. #1443 (0x5a3).
(I'm using DLL Export Viewer from Nirsoft:
http://www.nirsoft.net/utils/dll_export_viewer.html
to look at the DLLs' contents.)
Best Regards,
Jeff Luther/PC Design
info: www.pulpcards.com/gupta/