MS Visual C++2003.net

This is a discussion on MS Visual C++2003.net within the C++ Programming forums, part of the General Programming Boards category; I have 2 compilers, both from Microsoft. When I use this code on Microsoft 2003.net it works ok, but on ...

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

    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    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, 04: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, 09:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 07:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21