Click to See Complete Forum and Search --> : Rapi.lib


steci
September 19th, 2007, 10:41 AM
Hello all,
could anyone can tell me where I can find the file "RAPI.LIB" to add it in my project borland builder C++ 6 ?
I think that this file is in the windows mobile SDK package from microsoft, but it is necessary to install visual studio and service pack 2, and.... So I have not visual studio and I would like to have this library...
Is it possible to tell me where to find it, or to send me the file ?
Thanks in advance...

kirants
September 19th, 2007, 11:34 AM
You will need the windows mobile SDK.
For example, for windows mobile 6, you can find it here (http://www.microsoft.com/downloads/details.aspx?FamilyID=06111a3a-a651-4745-88ef-3d48091a390b&DisplayLang=en)

steci
September 19th, 2007, 12:09 PM
Ok, thanks... But I search only the lib file, not the total SDK... I would like to have the 'rapi.lib' file for Windows CE V5 !
Thanks in advance...

steci
September 19th, 2007, 04:07 PM
In fact, I need a "rapi.lib" file not for the PDA/PPC but for my program which will run on my computer desktop. I want to add this file to my project in borland builder c++ 6, to retrieve files from the pocket pc to copy them to the
PC. I tried to use the RAPI.DLL but I have problems usung CeRapiInitEx function ! So I try to get 'rapi.lib' to add it to my project....
So, if anyone can tell me where I can retrieve "rapi.lib" for builder C++
Thanks in advance....

kirants
September 19th, 2007, 04:12 PM
Why don't you download the SDK , extract the lib file and the uninstall it ?
It is illegal for people to disribute the components provided by Microsoft.

CBasicNet
September 19th, 2007, 11:38 PM
If you use LoadLibrary() and GetProcAddress(), you need not have the rapi.lib and this method is guaranteed to work and is recommended by Microsoft because rapi.dll has many versions, so the functions ordinal numbers may be different.

steci
September 20th, 2007, 02:01 AM
Well, actually I use LoadLibrary() and GetProcAddress(), but it still doesn't work ! So I want to try to do it using the .lib file of rapi instead of the .dll
I try to find the solution since one week and I don't know why my program does not work ! My boss will be not happy !
If anyone have an idea, thanks in advance...
Have a nice day !

Firedevil
September 25th, 2007, 06:07 AM
Hi steci,
do you have found a solution for this problem? Iīm standig in front of the same problem and need this rapi.lib, too. Can you also post how you use LoadLibary() and GetProcAdress(), because I donīt no how to use it. Thank you