OpenNETCF

Cableguy

Expert
Licensed User
Longtime User
Hi Guys

Has anyone tryed the DLL's in OpenNETCF?
Can they be used staight from B4PPc with or without the Door.DLL?
It seems to be a nice addincion to the Microsoft Compact Famework...

I'de like your comment's, PLEASE!!!
 

agraham

Expert
Licensed User
Longtime User
Seeing as no-one else has replied I will. I don't think it is possible. Events certainly wouldn't work. I tried loading a couple of the libraries and the IDE raised an error. I've looked at them with Reflector and can't see what the problem is, although the structure of some of the libraries may be incompatible with B4PPC. It may be they are compiled for the device only.
 

Cableguy

Expert
Licensed User
Longtime User
Thanks,Agraham, for taking the time to try it out...
I think youare rigth, they seem to be device only..
And is the device related properties that I am tryng to use them to....

In the next week i'm in vacation, so I will have more time to do some tryouts...
 

Cableguy

Expert
Licensed User
Longtime User
Need a simple demo wrapper

Hi agian, guys...
I need a simple sample wrapper to an externall dll....
I'm trying to wrap the OpenNETCF.Net.DLL...to gain access to the devices network hrdware MAC Addresses...
 

Cableguy

Expert
Licensed User
Longtime User
This gets a MAC address on desktop, should also work on the device using both .NET 1.0/1.1 and 2.0.

As I understand from This page on MSDN, the MAC Adrees cannot be reach on WM....

So did you target the OPenNETCF?

P.S.: Thanks for the work...but still I would like to leran to fish, instead of being given the fish.....
 

agraham

Expert
Licensed User
Longtime User
As I understand from This page on MSDN, the MAC Adrees cannot be reach on WM....
That is .NET, I used P/Invoke - look at the web link in the demo.

B4X:
[DllImport("iphlpapi.dll")]
private static extern int GetAdaptersInfo(byte[] pAdapterInfo, ref uint pOutBufLen);



So did you target the OPenNETCF?
No, like I said inthe PM it got too complicated.

but still I would like to leran to fish, instead of being given the fish.....
I suggest you start with something simpler!
 

Cableguy

Expert
Licensed User
Longtime User
That is .NET, I used P/Invoke - look at the web link in the demo.

B4X:
[DllImport("iphlpapi.dll")]
private static extern int GetAdaptersInfo(byte[] pAdapterInfo, ref uint pOutBufLen);



No, like I said inthe PM it got too complicated.

I suggest you start with something simpler!

I now hunblely ask for your forgiveness, as posted the previous post, before reading your PM...
As I said before, your work is simply supperb...

Thanks again Agraham...
 

Cableguy

Expert
Licensed User
Longtime User
What is AdaptorsInfo.pdb file for?
Is it necessary or can be discarted?
 

agraham

Expert
Licensed User
Longtime User
What is AdaptorsInfo.pdb file for?
Is it necessary or can be discarted?
It contains the debug information for the Visual Studio debugger. You only need the dll in the Release folder. I gave you the whole project as I thought you had SharpDevelop and I understood that it might be able to open VS projects. The actual source code is in Adaptors.cs.
 

Cableguy

Expert
Licensed User
Longtime User
Thanks, I do have Sharp Develop...
but your first post with only the DLL, also contained this file along with the demo.spb....That was what puzzled me.
 
Top