Results 1 to 3 of 3

Thread: 'CFile' : undeclared identifier ??

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    Holland
    Posts
    15

    Unhappy 'CFile' : undeclared identifier ??

    Hello, I'm trying to build a DLL in Embedded Visual c++ that uses CFile:: object. I think that I'm missing something. A header file maybe?

    Any sugestions? Plese let me know.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    what's embedded vc++?
    CFile is part of the microsoft foundation classes. If you aren't using MFC you can't use CFile. If you created a MFC dll project, the headers should already be included. I think the header for CFile is <afx.h>, the same file as CObject. So, if you are using anything of MFC and it works, CFile must work too.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    if you program for handhelds, you should not use MFC as it takes much space...
    or do you just use the IDE?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width