Greetings all,

I am writing app that allows me to control my canon SLR with my wiimote. I am trying to figure out how to call a function in main that generats a handle then returns the handle to main


Concept:

connect(){ connect to wiimote and return handle foo}

main(){ call connect(), get handle, perform actions on that handle}


James Finstrom