Flash to C++ communications (On-Topic)

Hello:

We are developing a Joystick were the driver will be written in C (of
course) but the application will be written using Flash. We know we need to
write some C code that will allow the Flash App to (indirectly) issue IOCTLs
to the driver - we are just not sure how to package it.

So the question is: Does anyone know of a way(s) to access C code from a
flash application.

Thanks,
Jimmy

Jimmy James wrote:

We are developing a Joystick were the driver will be written in C (of
course) but the application will be written using Flash. We know we need to
write some C code that will allow the Flash App to (indirectly) issue IOCTLs
to the driver - we are just not sure how to package it.

So the question is: Does anyone know of a way(s) to access C code from a
flash application.

There are some pretty serious security implications here. Scripts
aren’t even allowed to access files on disk, much less launch native
applications. You may need to use an ActiveX control for this.

Can’t you just make the joystick a stock HID device and treat it like a
mouse?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.