- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How are you wrapping the API? Using PInvoke?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page