Thread: MS Visual C++2003.net

  1. #1
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688

    MS Visual C++2003.net

    I have 2 compilers, both from Microsoft.

    When I use this code on Microsoft 2003.net

    it works ok, but on Microsoft Visual 2005 beta 2 it finds errors.
    I have the Platfrom SDK and all the correct files including Windows.h.

    Any ideas?

    Here is code:

    Code:
    keybd_event(VK_MENU, 0x38, 0, 0);
    	 keybd_event(VK_RETURN, 0x1c, 0, 0);
    	 keybd_event(VK_RETURN, 0x1c, KEYEVENTF_KEYUP, 0);
    	 keybd_event(VK_MENU, 0x38, KEYEVENTF_KEYUP, 0);
    }

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well posting your error messages would be a start.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 08:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM