Re: Compress captured videoframe



> Thank You for Yor answer. I have tried to find any information about
> ICCompress, but nothing :-(

The MSDN is a good place to start:
http://msdn.microsoft.com/library/en-us/multimed/htm/_win32_iccompress.asp

> First of all could You please explain me what is hic?

A HIC is a handle to an image compressor/decompressor, you can create one using ICOpen() and when you're done with it use ICClose()
to clean it up.

> I found in the
> news group that it can be found with help of this functions
<code snipped>
> But when I try to do this my program is going down. Could You please
> help me with this trouble

Your declaration of RtlMoveMemory() is inconsistent with the method you're using it, you're passing it a pointer to both the source
and destination memory locations where as it's expecting a pointer to the destination but the value of the pointer to the source.
Either change your declare to take hpvSource as ByRef, or stick a "ByVal " before VarPtr() in the call itself.
Hope this helps,

Mike


- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/


.



Relevant Pages

  • Re: including cray pointers in fortran modules
    ...  pointer (ipt, x) ... The first layer is with the declaration of ipt and that PROGRAM ... Cray pointer at has 4 bytes of precision; ...   ...
    (comp.lang.fortran)
  • on topic to clc [Was: Banks and economy]
    ... pointer type - which I think is correct for "arrays", ... Since, as a formal parameter, char cptr[]; ... pointer to the 'completing' declaration, ...   tentative definition. ...
    (comp.lang.c)
  • RE: MIDL2039: interface does not conform to [oleautomation] attribute
    ... > compatible BSTR pointer. ... the IDL declaration produces the following warning: ... > component is that this one is passed as a pointer. ...
    (microsoft.public.win32.programmer.ole)
  • Re: const qualifier and VC6.0
    ... > emphasis is on types, while in C the emphasis is on expressions. ... When declaring pointer and reference variables, ... int &p; ... For example, the following declaration ...
    (comp.lang.cpp)
  • Re: Need help calling a function in an unmanaged DLL
    ... problem was that when the function was called, memory would get erased. ... made me suspect the VB declaration of either the structures or the function. ... Since I had the source code for the DLL, I recompiled the DLL with only the ... pointer to a structure. ...
    (microsoft.public.dotnet.framework.interop)

Loading