ConsultingJoe Posted April 21, 2006 Share Posted April 21, 2006 This is from gamemaker, this is the object control code, does any one know how to use this,check out this postwe need help with the dllcall and the gui display{ show_message("GM WebCAM DLL by VitalDragon#Press Space to Capture Frame"); init(); createCam(0,0,250,250); //createCam(x,y,width,height) connect(30); //connect(FPS) } { saveToDIB("test.bmp"); sprite_replace(sprite1,"test.bmp",0,0,0,0,0,0,0) } { disconnect(); }Thanks guys [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] Link to comment Share on other sites More sharing options...
ConsultingJoe Posted April 21, 2006 Author Share Posted April 21, 2006 so no one has any ideas about this? webcam functions would be amazing [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] Link to comment Share on other sites More sharing options...
ConsultingJoe Posted April 27, 2006 Author Share Posted April 27, 2006 (edited) I think the calls would go something like this... but I do not have a webcam...$a = DLLCall("webcam.dll","hwnd","createCam","int",0,"int",0,"int",400,"int",400) MsgBox(4096,"",$a[0]) $a = DLLCall("webcam.dll","str","connect","int",30) MsgBox(4096,"",$a[0]) $a = DLLCall("webcam.dll","str","saveToDIB","str","test.bmp") MsgBox(4096,"",$a[0]) $a = DLLCall("webcam.dll","str","disconnect") MsgBox(4096,"",$a[0])that didnt work, they didn;t return arrays. thanks for organizing it tho I will keep tryingActually something did happen, I got this:0x003C1000NULLNULLNULLI switched the last three dllcalls to int and I got:0x003C1000393625639362563936256But no bmp output. Any idea?Thanks man Edited April 27, 2006 by zerocool60544 [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] 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