Managed AdHoc API? intel laptop gaming tdk...

Managed AdHoc API? intel laptop gaming tdk...

Good morning,

I've used the Intel Laptop Gaming TDK for some c++ little test application...but know I need to use .net framework.
I Know that there isn't a managed version of the library...

I would try to make a c++/cli wrapper to use some of the adhoc api capabilities into the managed world...

How I can make this wrapper?..I've tried to compile a simple wrapper wich only include the AdHoc.h but I got a lot of error..(I've also add "AdHocAPI.lib" into the additional dependencies)

Can you point me out into the right direction?

Thanks

6 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

How are you wrapping the API? Using PInvoke?

Quoting - Lester Memmott (Intel)

How are you wrapping the API? Using PInvoke?

I'm trying to code a simple c++/cli wrapper using C++ interop.

With VS2005 "new project> VisualC++> CLR> Class Library"

I'm writing something like this:

#pragma once
#include "AdHoc.h"

using namespace System;

namespace myWrapper {
public ref class myAdHocWrapper
{
public:
myAdHocWrapper(void){
//initialize private AdHoc pointer
};
private:
//pointer to the native adHoc object -- AdHoc *nativeAdHocPointer;
};
}

I've also add AdHocAPI.lib into properties page (myWrapper properties> Linker> Input> Additional dependencies).

building the code above give me a lot of error into the following file: l2cmn.h, ifdef.h, devpkey.h

I asked around and haven't yet found anyone who has done a .Net binding on top of the C++ api. I'll let you know if I find something out.

FYI, I did find out that there is no .net API supported and no plans to implement a .net API at this time. Hopefully someone else who reads this post may have more information for you.

Quoting - Lester Memmott (Intel)

FYI, I did find out that there is no .net API supported and no plans to implement a .net API at this time.

unfortunatly I know this...

I hope someone can help me to code a .net wrapper for the AdHoc API.
I really need the AdHoc API capabilities...I haven't found any other library to manage adhoc network out there.

If someone knows a .nety library to manage adhoc network let me know..

Thanks

Leave a Comment

Please sign in to add a comment. Not a member? Join today