Hi,
How do I find the right DLL to use? (Sorry if this sounds stupid, I'm new to DLL calls)
For instance if I wanted to control the webcam to take a photo. How would I go about finding a library with the functions I need? I tried using resource monitor on the default camera app, but that yields way too many DLL's. ( https://i.imgur.com/1XKNudl.png ). I looked at another thread and saw calls to avicap32 (the script was able to turn on my camera, but not produce an image). ( viewtopic.php?t=38852 ). Yet, avicap32 doesn't show in the resource monitor for the default camera app.
I don't really care whether I can take pictures or not, but am more interested in how to approach a problem like this.
Finding DLL's to use
-
- Posts: 20
- Joined: 22 Oct 2022, 10:03
Re: Finding DLL's to use
To reword what I was asking before:
How did they know the functions they needed were in avicap32?
What kind of search query or website could I use to find the right DLL for the task?
But...
I think? I kind of found the answer myself
https://learn.microsoft.com/en-us/windows/win32/api/
I saw this vvvv DLL call which led me to ^^^^
So just putting this out there if that helps someone
How did they know the functions they needed were in avicap32?
What kind of search query or website could I use to find the right DLL for the task?
But...
I think? I kind of found the answer myself
https://learn.microsoft.com/en-us/windows/win32/api/
I saw this vvvv DLL call which led me to ^^^^
Code: Select all
DllCall("PowrProf\SetSuspendState", "Int", 0, "Int", 0, "Int", 0)