I encountered an application linking to AVICAP32.DLL but regrettably HX doesn't provide such so brewed my own:
; *** AVICRAP.ASM ***
; Faked / dummy AVICRAP.DLL / AVICAP32.DLL | Based on DeLL HELL example
; (CL) Copyleft 2008 by DOS386 , Public Domain - ABUSE AT YOUR OWN RISK !!!
; Compile with FASM -> AVICRAP.DLL (1.5 KiB) -> AVICAP32.DLL to activate
; Requires "EXPORT.INC" from FASMW package
; Imports and fixups/relox are deleted for obvious reason
; http://board.flatassembler.net/topic.php?t=7123
include "EXPORT.INC"
format PE GUI 4.0 DLL on "AVISTUB.BIN" as "DLL"
entry llentry
section '.code' code readable executable
llentry: xor eax,eax ; &
inc eax ; & MOVNTQ EAX,1
ret 12 ; Throw away 3 arguments
CrapWin: xor eax,eax ; Return handle 0 -> if you don't like it, just F*** OFF
ret 32 ; Throw away 8 arguments
section '.edata' export data readable
export 'AVICAP32.DLL',CrapWin,'capCreateCaptureWindowA'
;END.
Yeah ... just 10 lines of code and one compiler needed to get the DLL
My version is 100 times less bloated, times more free and 99% compatible to the original ... the only marginal difference is, that it doesn't "open the capture window"
Maybe good idea to add to HX ?
DL (3.73 KiB) --- This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft *** |