Thread: Trying to write CReadAviclass

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    68

    Trying to write CReadAviclass

    Hi EveryOne,

    I am having a unusal problem....My program use to complie write but now surdenly it strop compling and it is give me an are saying. I looked up the error info and it said, this error can be caused by specifying an incorrect file as a header file

    [code]
    fatal error C1010: unexpected end of file while looking for precompiled header directive
    [code]
    Last edited by simly01; 07-31-2002 at 07:55 PM.

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    What are the files that you are including?

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    68

    I finally resolved the problem

    Hi U,

    I have resolved the problem of unexpected end of file while looking for precompiled header directive, but now the problem i am having is that i am get the memory address form the frame but i don't know how to copy it from that memory location. Is there any function that let u copy the stuff in from one memory location to another.

    Thanks

  4. #4
    Registered User
    Join Date
    Jun 2002
    Posts
    267
    depends on what the mem address contains

  5. #5
    Registered User
    Join Date
    Oct 2001
    Posts
    68
    It contant a Video Frame.....

    Code:
    LPBITMAPINFOHEADER *ppbi;
    
    PGETFRAME &pgf = m_pVideoPGF[nStreamNum];
    	*ppbi = (LPBITMAPINFOHEADER)AVIStreamGetFrame(pgf, lFrame);//lframe is frame number
    Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 03-18-2006, 11:25 AM
  2. program to make a floppy write protected
    By shrijeetp in forum C Programming
    Replies: 1
    Last Post: 10-03-2005, 06:00 AM
  3. Reroute where programs write to
    By willc0de4food in forum C Programming
    Replies: 7
    Last Post: 09-21-2005, 04:48 PM
  4. Function to write string 3 times
    By Giggs in forum C++ Programming
    Replies: 15
    Last Post: 12-24-2002, 04:00 PM
  5. write in c
    By PutoAmo in forum C Programming
    Replies: 6
    Last Post: 04-03-2002, 07:53 PM