Thread: Windows System programming Program 2-2 unable to compile

  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    48

    Windows System programming Program 2-2 unable to compile

    Book : Windows System Programming 4th ed
    program number : 2-2
    Program Name : Cat.c

    I compiled solution cat.sln provided with the cd, it runs fine.

    But when I added cat.c support.h environment.h and exclude.h manually to a new solution. And tried to build it I got always get error.
    Error msg: C2662 : Cannot convert LPTSTR [] TO LPCTSTR *.

    Please show me the steps so that I can compile the file manually. (I am using Visual Studio 2010)

    download codes at:
    http://jmhartsoftware.com/
    Last edited by freiza; 10-29-2011 at 11:38 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. libusb: unable to compile
    By nndhawan in forum C Programming
    Replies: 1
    Last Post: 02-17-2011, 10:56 PM
  2. Replies: 7
    Last Post: 03-19-2010, 12:16 AM
  3. Windows 7: Program unable to find glut/glfw dll?
    By Jake.c in forum Game Programming
    Replies: 1
    Last Post: 10-29-2009, 03:59 PM
  4. Dev-c++ + own .h files = unable to compile
    By wixz64 in forum C Programming
    Replies: 5
    Last Post: 05-29-2008, 03:35 PM
  5. I'm programming an opration system like as windows or linux.
    By hadizadeh in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 12-20-2001, 04:35 PM