Jump to content

USB Missile Launche / USBHID


karliky
 Share

Recommended Posts

Hello!!

I recently bought an Usb missile launcher, exactly this one:

http://www.usbgeek.com/prod_detail.php?prod_id=0561

i'm trying to write an application that can control my USBLauncher.

Here is a example code written in phyton

http://dvlabs.tippingpoint.com/pub/pamini/ped_missile.py

And here is my attempt to open the communication:

$dll = DllOpen("C:\Program Files\USb Missile Launcher\USBHID.dll")
;eax74 = OpenHID(0x0A81, 0x0701, 1);
MsgBox("","",@error)
$result = DllCall($dll, "ptr",0x10001005,"ptr",0x0A81,"ptr",0x0701)
MsgBox("","",@error)
DllClose($dll)

I never worked with Dll, so i don't know what i'm doing wrong.

Here is the DLL information that i'm using:

Posted Image

Thank you

Link to comment
Share on other sites

Hello!!

I recently bought an Usb missile launcher, exactly this one:

http://www.usbgeek.com/prod_detail.php?prod_id=0561

i'm trying to write an application that can control my USBLauncher.

Here is a example code written in phyton

http://dvlabs.tippingpoint.com/pub/pamini/ped_missile.py

And here is my attempt to open the communication:

$dll = DllOpen("C:\Program Files\USb Missile Launcher\USBHID.dll")
;eax74 = OpenHID(0x0A81, 0x0701, 1);
MsgBox("","",@error)
$result = DllCall($dll, "ptr",0x10001005,"ptr",0x0A81,"ptr",0x0701)
MsgBox("","",@error)
DllClose($dll)

I never worked with Dll, so i don't know what i'm doing wrong.

Here is the DLL information that i'm using:

Posted Image

Thank you

I'm just gonna let you go look at the DLL functions in the help file, if you can't figure out what you're doing wrong then you shouldn't be working on something like this.

For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...