Link to home
Start Free TrialLog in
Avatar of navotv
navotv

asked on

jawin rapi.dll

Hi i want to interface jawin to rapi.dll.
how can i do it where can i find example?
after i interface with it how can i use its functions?
is there anything else i need to know?
(rapi.dll) is a dll that handle to connection betwin the desltop and the pocket pc device.

thanks Navot.
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of navotv
navotv

ASKER

i know how to call to a dll file but how can i know it functions like in rapi.dll
 You need the source code of the dll in order to be able to figure out what functions it has.
Avatar of navotv

ASKER

well do you have some example that could help me?
 What exactly are you trying to do?
Avatar of navotv

ASKER

to copy files from my desktop to my pocket pc throw a java application.
so ive been told i need to use rapi.dll and jawin but what next?
 I am not sure but you probably need to load the dll into memory and then use it by calling the functions in it. If you look at the link I posted it explains how you can do it but in order to find out what functions the dll is using you need to have the source code.
Avatar of navotv

ASKER

let say i have a function in there called CeReadFile how do i call it?
 Not sure, I have never used jawin. Does the link I posted not help?
Avatar of navotv

ASKER

not relley couse i knew about this site
 Sorry I can't help you anymore, maybe someone else knows more.
>>...you need to have the source code.

That's not actually the case, fortunately, although you do need to know some information about the dll and its functions.
There is an example of calling a DLL at
http://www.onjava.com/pub/a/onjava/2001/11/14/jawin.html#callingDll
 That's the link I posted in my first message and according to the user didn't help.
Notice the in-text anchor ;-) If it didn't help, he hasn't read it ;-)
Avatar of navotv

ASKER

sure i need the rapi api or some example how to use rapi with jawin
You won't be able to do this if you no nothing about rapi, but libraries nearly always come with some documentation.

A read-made example of using rapi with jawin is unrealistic unfortunately due to sheer probability