Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DirectX Questions

Featured Replies

Hey all--I have a basic question, one that has me pulling my hair out! I am trying to set up DX 9 for use in my gauge. I cannot find any information in the SDK docs about what to include. Use of the app wizard in VC++ doesn't help, as that template is for an actual app, and not a dll. At least I am smart enough to have converted my gauge file(as it is with no DX) into C++ to minimize the problem with incorperating DX into my gauge. :)I am at a loss, what should I do?Thanks guys.

Hey Fred.As far as I know, for DirectX 8, all you needed to do was

#include <d3d8.h>#include <d3dx8.h>

You might wanna give that a try with a 9, or search your HD where you installed the DirectX SDK for similar files, if just switching the 8 by a 9 doesn't do it.

I depends on what part of DirectX you need. E.g. for DirectInput #include and linking of dinput.lib and dxguid.lib is enough, indepenent of the used DirectX version.Arne Bartels

Thanks for the replies guys :)

Well, got the gauge working, it now compiles with DX only data types declared :) I am wondering now if I can approach the DX portion of my gauge like in the Tut01_CreateDevice included with the DX 9 SDK? Or is there something I have to do special in a dll?Thanks :-beerchug

Hey Fred.I am starting to delve into DX myself, so I can't answer that yet. And also, I haven't looked at the Tutorial yet, reading a good book on it first, understanding how WIndows goes about drawing using DirectX.If I discover anything, I'll let you know. And you please do the same ;-).

Fabio --You got a deal :D

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.