Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 DirectX 7.0 and 8.0 Rect Problem....

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
chain Posted - Jul 27 2004 : 4:09:41 PM
Hey,

I can't remember how to fix this problem so I figured someone here might be able to. I know the answer used to be on Lucky's Forum but they aren't working right now. Anyways, when you have both references for DirectX 7.0 and 8.0 you get an error if you are defining anything as a RECT. Just wondering what it was I have to put in front of it. All I can think of is "dxvidl.Rect" but i know it's wrong cause I tried it...
4   L A T E S T    R E P L I E S    (Newest First)
chain Posted - Jul 27 2004 : 7:31:48 PM
Thanks a lot!
Eric Coleman Posted - Jul 27 2004 : 5:40:29 PM
use the Object Browser in VB, press F2, and you can see which libraries you have refrenced.
VBBR Posted - Jul 27 2004 : 5:20:53 PM
I think you can reference DX7 by DxVBLib and DX8 by DxVBLibA. Like "DxVBLib.RECT" for DX7 and "DxVBLibA.RECT" for DX8.
sdw Posted - Jul 27 2004 : 4:48:31 PM
Ok, I went back to one of my old DirectX7 projects and played around with adding a reference to DirectX8. I messed around with the references and I got some errors with some RECT defined variables. I got the error to go away when getting DirectX7 to come before DirectX8 in the references dialog box. You can switch them by unchecking the DirectX8 reference, hit OK, then go back to the references dialog window and check DirectX8 again. Strange bug... hope this helps.

VBGamer © Go To Top Of Page
This page was generated in 0.06 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.