|
-
Apr 16th, 2002, 10:36 PM
#1
Thread Starter
PowerPoster
making VC++ show the tooltip
I just installed Directx 8.1 SDK and now, for example, when I declared a variable like:
LPDIRECT3D lpD3d;
and when I type
lpD3d->
it should display a tooltip with all the function paramters and stuff but it's not showing up on mine. What's going wrong with this?
BTW, the program compiles fine so there is no error including the header file(s) or lib(s).
-
Apr 17th, 2002, 04:45 AM
#2
Hyperactive Member
Shouldn't this be in a Visual C++ forum?
-Show me on the doll where the music touched you.
-
Apr 17th, 2002, 08:07 AM
#3
It fits in both =).
You have to add the D3D headers to your project.
Z.
-
Apr 17th, 2002, 01:51 PM
#4
Thread Starter
PowerPoster
I have already added <d3d8.h> or <d3dx8.h> but it still doesn't show the tooltip and also doesn't give me any error when I declare a variable of some type from Directx library. Will I have to add some other headers and if so which ones are they?
-
Apr 17th, 2002, 01:55 PM
#5
When you build your project, you should end up with a folder called "External Dependencies". Drag all of those files that have to do with DX into one of the project folders (the one called "Headers" is best). Save your project, then do a "Rebuild All" from the Build menu. It SHOULD work, but it may not. If not, you need to memorize the most common functions' parameters.
Z.
-
Apr 17th, 2002, 02:00 PM
#6
Thread Starter
PowerPoster
Thanks bro,
works great now.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|