Directx and MSVC++

This is a discussion on Directx and MSVC++ within the Game Programming forums, part of the General Programming Boards category; Hi all, I've recently started to have a look at Direct X and installed the SDK. Everything is fine except ...

  1. #1
    Grammar Police HybridM's Avatar
    Join Date
    Jan 2003
    Posts
    355

    Directx and MSVC++

    Hi all,

    I've recently started to have a look at Direct X and installed the SDK.

    Everything is fine except it never shows me function prototypes and struct members etc. Also unless i use the wizard i have to manually link the d3d library, but using the wizard i don't seem to be able to make an empty project. How can i fix these two things?

    Thanks.
    Thor's self help tip:
    Maybe a neighbor is tossing leaf clippings on your lawn, looking at your woman, or harboring desires regarding your longboat. You enslave his children, set his house on fire. He shall not bother you again.

    OS: Windows XP
    Compiler: MSVC

  2. #2
    Nor
    Nor is offline
    h ֆhr s Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299

    Re: Directx and MSVC++

    Originally posted by HybridM

    1 Everything is fine except it never shows me function prototypes and struct members etc.

    2 Also unless i use the wizard i have to manually link the d3d library,

    3 but using the wizard i don't seem to be able to make an empty project.

    Thanks.
    what version of msvc?
    for c++.net

    1 - you need to search the DirectX sdk for all your prototypes and functions.
    When you use them in your code then they will show up in your source window listing all the pram, and overloaded functions. or varables depending on what your using at the moment

    tools > options > c/c++ > general. i think. might be different.

    2 - Project > Property. Click 'Linker' > Input
    Additional Dependencies to add your lib files

    3 - an empty project.
    File > new > project. click vc++ projects > .NET . look in the list and you'll see 'Empty Project'
    hope this helps
    Last edited by Nor; 06-26-2003 at 10:31 AM.
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please STICKY this- vital to MSVC 6 dev - BASETSD.h
    By VirtualAce in forum Game Programming
    Replies: 11
    Last Post: 03-15-2005, 09:22 AM
  2. DirectX app won't compile on release mode
    By confuted in forum Game Programming
    Replies: 3
    Last Post: 08-02-2003, 12:23 PM
  3. DirectX errors (newb alert)
    By confuted in forum Game Programming
    Replies: 2
    Last Post: 07-19-2003, 10:20 AM
  4. MSVC 6 SP5 template errors
    By jdinger in forum C++ Programming
    Replies: 2
    Last Post: 04-12-2003, 10:59 AM
  5. Various DirectX questions
    By Hunter2 in forum Game Programming
    Replies: 6
    Last Post: 11-28-2002, 09:42 PM

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