Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
kobi
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 10
Join Date: Feb 2006
Default Accessing tapi functions

Hi everybody
I'm using a WinCE Pascal and developing a smartphone application.
My problem is that I can't import the tapi's functions using their names, so
I must use the functions index.
I didn't succeed to find a table of the functions index, and I can't copy tapi.dll to the PC (and use dumpbin to view the exports list).
What can I do?

Thanks
Kobi
 
levenum
Old
#2  
levenum's Avatar
Retired Moderator
Thanks Meter 16
Posts: 1,548
Join Date: Jul 2005
Tapi.dll is part of the ROM so you can't copy it.
There are many tools on this site that let you dump ROM, the simplest to use is mamiach's TestWM5.exe.

Since you only need one file, I will post it, but this is from WM5 device. I'm not sure if the ordinals are the same for all OS versions.

PS: You might want to look in to switching to c++, the transition from Pascal is easy (at least it was for me) and the language opens up more options.:)
Attached Files
File Type: zip tapi.zip - [Click for QR Code] (31.7 KB, 44 views)
 
kobi
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 10
Join Date: Feb 2006
Default Thank you very much

Hi Levenum

Your answer did help me very much
Thanks for the tapi.dll (and WM5 is my target OS).
According to use c++ - If I couldn't solve this problem then I was using eVC++, but I prefer to use FPC (Free Pascal Compiler) for WinCE, altough of all its disadvantages (no debugger/emulator, poor IDE, no complete library of static binding - fit to WinCE because of its multi OS ability.
The language itself is equivavalent in its abilities to c++ (including definition of operators and so on)

Thanks
Kobi
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...