karliky Posted December 9, 2009 Share Posted December 9, 2009 Hello!!I recently bought an Usb missile launcher, exactly this one:http://www.usbgeek.com/prod_detail.php?prod_id=0561i'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.pyAnd 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:Thank you Link to comment Share on other sites More sharing options...
Minikori Posted December 9, 2009 Share Posted December 9, 2009 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: 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 More sharing options...
jvanegmond Posted December 9, 2009 Share Posted December 9, 2009 This has been done a few times before......... Search works on even the most obscure things, it takes no bias in search terms. http://www.autoitscript.com/forum/index.php?showtopic=43239 github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now