Answer Questions
Nori_at_Japan Packaging a DirectX Game
Hi, I've recently started programming using DirectX and C#. I created a game and it runs fine on my development machine (.Net 1.1, DX SDK). But when I compile the game for a release, and move it onto a machine that only has the DirectX runtimes, it fails to find any of the neccessary libraries and will not start. I've tried telling to to "include resources" when it compiles, in which case it copies a bunch of .dll's to the release directo ...Show All
Chequer I can not render primiteves. Can anybody help me? (VB.Net 2003)
Hi everyone! I started writing new application using VB.Net (2003) and DirectX 9 (December 2005). It is my first application. I have successfully initiated DirectX, but I can not render anything. The screen is still blue (as after intialisation of DX) and I can not see anything else. Can anybody help me I really don't know what is wrong. Thanks, Karlo PS.Below you can find some parts of my code. Public Sub InitGeometry() vb = New Vertex ...Show All
TerryTalley error C2065: 'MONITORINFOEX' : undeclared identifier
I am trying to port a project from VC++ 6 to Visual Studio 2003, but get this error when trying to compile. The include directory order is: DXSDK (9.0), Platform SDK (latest version) then the standard Visual Studio includes. I can see MONITORINFOEX defined in multimon.h in the DXSDK include path, why does the compiler think it is undeclared ...Show All
onewebclick LoaderLock was Detected?
I'm alittle stumped here... I'm trying to play an MP3 file with directx in vb 2005 express, it worked fine in vs 2003, but seems to not want to work in this version of VB :/ Heres what it says... DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since do ...Show All
AronR Mech Commander 2 Shared Source Release Intall problem
Hey there, I'm using XP professional Korean version with sp2...I've installed XNA Builder without any problems, but when I install the Mech Commander 2 Shared Source Release, a error messege popped up like this: Error 1324. The path Microsoft MechCommander 2 Shared Source Release contains an invalid character. Then the installation finished. Could anyone be pleased to tell me what can I do for this I've download it twice, but th ...Show All
queryfish Engine Architecture
Hello everyone, I am new to these forums here. I am wondering if anyone has any good resources (links, etc..) for designing a 3d engine. I do not need links on how to create one (writing the code), but i am trying to explore some different engine architecture's as i am getting ready to create my own personal engine to be used in a product of mine. To help with answering my question it would help to know my experiance / background. ...Show All
Snyder_PlayMaker Want to make a high end game
Can anyone tell me whats wrong with the free express versions There's nothing "wrong" with them at all. I'm going to assume that you're talking about the C++ version, but this answer applied to all "Express" versions, really. The complete FAQ is here: http://lab.msdn.microsoft.com/express/faq/default.aspx In a nutshell though, the Visual C++ Express Edition product is a perfect tool for those of you developing DirectX applications ...Show All
dbloke Device lost permanently when laptop lid is closed
It appears that when I close the lid on my laptop, my program receives a DeviceLost message, but the program never receives the DeviceReset message after the laptop is re-opened. The same thing seems to happen when the screen saver runs. Any suggestions Thanks, Jeremy P.S. The source code is here: http://gosub.com/OpenSource/DirectXControl/DirectXControl.htm (it's a free DirectX control) ...Show All
Murray Sobol draw sprite doesn't work when inside VS (executable works fine)
This may be a known issue, but I haven't been able to find it anywhere... and I'm a good googler =o)... I have this code (directly taken from Microsoft) to draw a simple sprite: public Device device=null; public Microsoft.DirectX.Direct3D.Spr ite sprite=null; public Texture tex=null; public void InitGraphics() { PresentParameters p=new PresentParameters(); p.SwapEffect=SwapEffect.Discar d; p.Windowed=true; device=new Device(0, DeviceType. ...Show All
mido1971 using pixel shaders with C#
i have a bunch of "old-fashioned" ps files that i don't have the time to convert to HLSL. i have the managed directx book and searched the forums but i cannot find the answer to this simple question: how can i use those old ps files with C# and managed directx i have the latest february sdk and vs 2005 installed but there's nothing in the documentation that is helpful. in fact, the documentation for managed directx is sketchy AT BEST. ...Show All
Andreas Öhlund I can't display a textured model.
Hi! I have written a simple application using Directx9 with VB.Net 2003. All I want to do is to display a very simple model (rectangle) with a texture added to it. Unfortunately I can not do this properly. I can only get a black rectangle as a result (it is displayed at correct coordinates). Can anybody help me What is wrong Below you can find a sample of my code. I think, a bug is somewhere there. Dim BuforWierzcholkow As Ve ...Show All
SaschaK Basic Menu system
Im developing an app using directx (direct 3d). I have to use directx because the interface moves quite a few pictures around, resizing them at the same time, and the GDI just doesnt cut it. I am able to create a simple display with a background picture. Does anybody have any simple, note simple not the sample framework from the sdk, that I could take a look at for buttons and listboxes Im writing the app in VB .net but i can read C# so that wor ...Show All
leoxtc Managed DirectX 2.0 Beta and XInput
I have a general question regarding the Managed DirectX 2.0 Beta: Using Intellisense, I was able to figure out how to get a Direct3D Device up and running dispite the minor (and sometimes major) differences. I also found that XInput, in contrast to programming with XInput in unmanaged C++, this version is lacking a lot, such as all of the core functions that update and get the state of a controller. Forgive me if I am completely off the ma ...Show All
briguy9872 List of all functions
Hello, Where I can find a list of all the functions, procdures and commands of directX, and what each function do thenks a lot, Amit Prigozin. amitPrigozin wrote: Hello, Where I can find a list of all the functions, procdures and commands of directX, and what each function do thenks a lot, Amit Prigozin. the directx sdk help files maybe ...Show All
Dmitri Zimin(e) Floating point strikes back
I'm starting to realy hate this floating point hell. I have another problem with floats, and this time I can't see the solution. I have a simple mesh (just a square with two faces with size 100). The vertice list in the x file is as follows: -50.000000;0.000000;-50.000000; 50.000000;0.000000;-50.000000; -50.000000;0.000000;50.000000; 50.000000;0.000000;50.000000; Now, when I access the vertice buffer after loading the mesh, the values are not t ...Show All
