Topic: Begin with libnfc under visual studio 2008

Hello everyone.

I'd like to develop an application in C # leveraging libnfc.

Is anybody can help me to integrate libnfc under the Visual Studio 2008?

I would need some explanation of what can be done with this library and how it can integrate and operate.

I already managed to extract and compile the libnfc (mingw and win sdk V7.1).

I have a module with an NFC PN533.

Thank you in advance

Re: Begin with libnfc under visual studio 2008

Hi,

To be able to use libnfc from .NET you need to use platform invoke.
I don't know if someone every did this already for libnfc.
If not, there are many resources available online and on MSDN explaining how to this in .NET .

regards,
Glenn

Re: Begin with libnfc under visual studio 2008

Hello,

thank you for your reply Glenn.

So if I understand it to use libnfc I have to work with platform invoke.

I'll watch that.

I think I need to create a DLL. But I am not.

If someone using libnfc under visual studio, I'm happy he comes to explain how he did too

smile

Last edited by GGelec (2011-02-01 13:56:35)

Re: Begin with libnfc under visual studio 2008

When I used win sdk 7.1 and mingw, it generated me a file:

"libnfc.dll"

is what I need to include this in my project?

Sorry but I do not know much about Visual Studio 2008 yet so I inform myself up.

Re: Begin with libnfc under visual studio 2008

I have a PN533.

I installed the XP drivers from NXP. my pc recognizes the circuit.

This will not be a problem with libnfc?

do I recreate a drivers for the PN533?

thank you

Last edited by GGelec (2011-02-04 20:39:15)

Re: Begin with libnfc under visual studio 2008

Okay, I managed to install on my pc my PN533.

someone to help me design an api in c # using libnfc?

Last edited by GGelec (2011-02-07 18:21:09)

Re: Begin with libnfc under visual studio 2008

With reference to Managed Hosting Providers
Some steps need to be followed are :
Download the latest version of libnfc  and extract its contents. For PN533 and UART configure libnfc.
Then build and install libnfc. And finally try to read your 13.56MHz card.

Last edited by brayansabatt (2011-11-17 13:34:12)