Jump to content

Webcam - How To Use This Dll?


Recommended Posts

This is from gamemaker, this is the object control code, does any one know how to use this,

check out this post

we 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

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

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 trying

Actually something did happen, I got this:

0x003C1000

NULL

NULL

NULL

I switched the last three dllcalls to int and I got:

0x003C1000

3936256

3936256

3936256

But no bmp output. Any idea?

Thanks man

Edited 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

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...