BrianPeek.com

A Compendium of Random Uselessness
in Search

Even More .NET-based Wiimote Applications

I've received a few more emails from folks using my Managed Wiimote Library to do some cool things with the Nintendo Wiimote in Windows.  Here are a few more:

Amazingly fantastic stuff.  I've created a list of projects using the library here.

If anyone out there is using my library for a project, please let me know and send me a link so I can add you to the list!

Published Jul 02 2007, 04:30 AM by Brian Peek
Filed under: , ,

Comments

 

Leif902 said:

Hi, I tried posting somewhere else, but It didn't seem to work, so I'll try again here, my apologies if this is a double post.

I was wondering if you could post a Visual C++ example of using your dll. I have tried several times to recreate the GUI you've made in C++, but unfortunatly I've been getting odd compile and linker errors that I can't seem to reason through. My .NET is a little spotty, so It's probably just some stupid problem with my coding, however, an example would be appreciated (I'm working on a wrapper DLL for another application that will use your DLL as well as a few other Wiimote libraries floating around and some of my own code)

Thanks

- Leif

July 6, 2007 8:30 AM
 

Brian Peek said:

I do not have a VC++ example using my library.  Because this is a fully managed library, it's not easily accessible outside of the managed world in a native C++ app.  One can create a "COM Callable Wrapper" to attempt to use managed objects from .NET, however I have not tried this with the library and don't know if it's even possible with how the library.

I do know someone is working on a native C++ "port" of my library, however it is not yet available.

July 7, 2007 6:41 AM
 

Leif902 said:

Okay, I see... any chance you could just help me then? I've started a managed project which will be a wrapper for your DLL for a program that can use certain DLL's as extensions... the program can only take string and double data types and must have a value returned (therefore I have to create a wrapper DLL to call your DLL and convert data).

The problem I am having is this:

Because I can't create a global instance of class Wiimote I'm unable to find a way to create an instance of Wiimote in my code that, after connecting, can be accessable from all the other functions... and obviously I probably don't want to create the wiimotes and connect them every time the user wants to change some data or read the status of a button... (It will be stricktly polling based)

Do you happen to know any workarounds for this sort of problem?

Thanks

- Leif

July 9, 2007 5:17 PM
 

Brian Peek said:

Leif902,

Send me an email so we can discuss this.  I'm not 100% sure what you're after, but it's probably easier to discuss via email than blog comments.  Either use the contact form above, or you can get me at "my first name@this domain.com".

July 10, 2007 9:26 PM

Leave a Comment

(required)  
(optional)
(required)  
Add

About Brian Peek

Brian is a Microsoft C# MVP who has been actively developing in .NET since its early betas in 2000, and who has been developing solutions using Microsoft technologies and platforms for even longer. Along with .NET, Brian is particularly skilled in the languages of C, C++ and assembly language for a variety of CPUs. He is also well-versed in a wide variety of technologies including web development, document imaging, GIS, graphics, game development, and hardware interfacing. Brian has a strong background in developing applications for the health-care industry, as well as developing solutions for portable devices, such as tablet PCs and PDAs. Additionally, Brian has co-authored the book "Debugging ASP.NET" published by New Riders, and is currently co-authoring a book titled "10 Coding4Fun Projects with .NET for Programmers, Hobbyists, and Game Developers" to be published by O'Reilly in late 2008. Brian also writes for MSDN's Coding4Fun website, contributing articles on a monthly basis.
Copyright (C) 2008 Brian Peek
Powered by Community Server (Commercial Edition), by Telligent Systems