Find Jobs
Hire Freelancers

DLL application to bind a webcam to a Mirc Dialog window

$30-250 USD

In Progress
Posted over 14 years ago

$30-250 USD

Paid on delivery
I need a DLL file coded in C (Original Code will be required on completion of project) that allows to embed a Webcam window and the ability to send a command to the DLL to make it "Take a Picture" and saves it to wherever the command line asks Nothing mega fancy, shouldnt be too long to code for someone who knows what they are doing! If you need an example of the interface I can provide. If you're new to programming a DLL for this interface maybe this will help:- Technical notes This section contains technical information for programmers who want to create DLLs for use with mIRC. The routine in the DLL being called must be of the form: int __stdcall procname(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause) mWnd is the handle to the main mIRC window. aWnd is the handle of the window in which the command is being issued, this might not be the currently active window if the command is being called by a remote script. data is the information that you wish to send to the DLL. On return, the DLL can fill this variable with the command it wants mIRC to perform if any. parms is filled by the DLL on return with parameters that it wants mIRC to use when performing the command that it returns in the data variable. Note: The data and parms variables can each hold 900 chars maximum. show is FALSE if the . prefix was specified to make the command quiet, or TRUE otherwise. nopause is TRUE if mIRC is in a critical routine and the DLL must not do anything that pauses processing in mIRC, eg. the DLL should not pop up a dialog. The DLL can return an integer to indicate what it wants mIRC to do: 0 means that mIRC should /halt processing 1 means that mIRC should continue processing 2 means that it has filled the data variable with a command which it wants mIRC to perform, and has filled parms with the parameters to use, if any, when performing the command. 3 means that the DLL has filled the data variable with the result that $dll() as an identifier should return. Note: You may need to create a .def file with the procedure names exported when compiling your DLL. Keeping a DLL Loaded after a call By default a DLL is unloaded immediately after you make the /dll or $dll() call. You can keep a DLL loaded by including a LoadDll() routine in your DLL, which mIRC calls the first time you load the DLL: void __stdcall LoadDll(LOADINFO*); typedef struct { DWORD mVersion; HWND mHwnd; BOOL mKeep; } LOADINFO; mVersion contains the mIRC version number in the low and high words. mHwnd contains the window handle to the main mIRC window. mKeep is set to TRUE by default, indicating that mIRC will keep the DLL loaded after the call. You can set mKeep to FALSE to make mIRC unload the DLL after the call (which is how previous mIRCs worked). Unloading a DLL You can unload a loaded DLL by using the -u switch: /dll -u <filename> You can browse the list of loaded DLLs by using: $dll(N/filename) returns the Nth loaded DLL mIRC will automatically unload a DLL if it is not used for ten minutes, or when mIRC exits. You can also define an UnloadDll() routine in your DLL which mIRC will call when unloading a DLL to allow it to clean up. int __stdcall UnloadDll(int mTimeout); The mTimeout value can be: 0 UnloadDll() is being called due to a DLL being unloaded when mIRC exits, or unloaded with /dll -u. 1 UnloadDll() is being called due to a DLL not being used for ten minutes. The UnloadDll() routine can return 0 to keep the DLL loaded, or 1 to allow it to be unloaded.
Project ID: 565759

About the project

5 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $102 USD for this job
User Avatar
Hi...i think i can help you.
$50 USD in 5 days
4.9 (14 reviews)
4.8
4.8
User Avatar
Hello Sir, I am interested in doing this project. Please check the PM for more information. Thanks and Regards RKJ
$150 USD in 10 days
5.0 (2 reviews)
2.9
2.9
User Avatar
check PMB. thanks.
$150 USD in 6 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi. I can do this project
$130 USD in 10 days
0.0 (1 review)
0.0
0.0
User Avatar
We can do this pjt for you. Please Ping us with more details.
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Weston-super-Mare, United Kingdom
4.9
9
Payment method verified
Member since Mar 14, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.