OpenNet problems

Lasse

Member
Licensed User
Hi again :)

I am trying to connect a device to the computer and use the RAPI library.

When I add the components Rapi.dll and OpenNETCF.Desktop.Communication.dll the error is taht I do not have permissions for the OpenNETCF.Desktop.Communication.dll.

I start with the code:
rapi.New1

I assume it shoul work if the PDA is connected via Active Sync.

Thanks!
 

Lasse

Member
Licensed User
Yes I'm working from the Desktop.

If I don't add it I can compile an .EXE file but theres an error:
Required Permissions cannot be acquiered.
 

Lasse

Member
Licensed User
It seems there are some different versions of the OpenNetCF.Desktop dll file.

Now I can use it when running the debugger, but when compiled the OpenNetCF is in a invalid format ?
 

Lasse

Member
Licensed User
Yes the compiled program is in the same folder as sbp file and the OpenNet, and rapi files are there as well.
 

Lasse

Member
Licensed User
Works again

Thank you for your help.

Just to inform those who (like my self) didn't know, the problem was the security in the .NET setup.

From the controlpanel you can set the security to the right level.

Then it work like a charm !

Thanks again for all your support!
 
Top