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....
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

chain
Neophyte

2 Posts

Posted - Jul 27 2004 :  4:09:41 PM  Show Profile  Reply with Quote
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...

sdw
Warrior

USA
160 Posts

Posted - Jul 27 2004 :  4:48:31 PM  Show Profile  Visit sdw's Homepage  Click to see sdw's MSN Messenger address  Reply with Quote
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.

Go to Top of Page

VBBR
Moderator

Brazil
617 Posts

Posted - Jul 27 2004 :  5:20:53 PM  Show Profile  Reply with Quote
I think you can reference DX7 by DxVBLib and DX8 by DxVBLibA. Like "DxVBLib.RECT" for DX7 and "DxVBLibA.RECT" for DX8.

Whatever. Who knows...
Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Jul 27 2004 :  5:40:29 PM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
use the Object Browser in VB, press F2, and you can see which libraries you have refrenced.
Go to Top of Page

chain
Neophyte

2 Posts

Posted - Jul 27 2004 :  7:31:48 PM  Show Profile  Reply with Quote
Thanks a lot!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000

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