Answer Questions
ozking Duplicate Item "Resources" parameter error
I have a partial class in two files that inherit from a form. I changed a property on the form in both Form Designer Files and now keep getting this error message: The item "obj\Debug\Game.App.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter. Can anyone help I only changed the FormBorderStyle and already changed it back, but ke ...Show All
Mahoura Floating Point arithmetic difference between VB and C#
I am in a bit of state at the moment, I am really surprised at what I have found, please see the two code samples below. The first is Visual Basic and yields a result of: 100040624.0 the second C# and yields a result of: 100040629.0, which is correct. This error is causing my Line Circle intersection function to fail!! Oh my God have just spent the last two years writing my app in VB and now have to convert to C#. Dim a, b, c ...Show All
rwgreene Problem in debugging MC2Dbg.exe
While debuging the MC2Dbg.exe there exist the following error please tell me where should i keep this dll to remove the error STOP : Could not find 'mc2res.dll' Address : 0x006374D8 Location : MC2DBG! (+0x2364D8) Thanks in advance Meenal How to check that the working directory for the debug configuration is correctly set to the FinalBuild folder. Thanks Meenal This is done by right clicking on the project and ...Show All
AndyBrunton How to create a multihead device?
hi, i would likt to know how to create a multihead device. an short example would be nice as i dont get it! i tryed this, but its throwing an error: Dim PresentParams(1) As PresentParameters 'set presentation parameters PresentParams(0) = New PresentParameters PresentParams(0).Windowed = False PresentParams(0).SwapEffect = SwapEffect.Discard PresentParams(1) = New PresentParameters PresentParams(1).Windowed = False PresentParams(1).SwapEffect = ...Show All
dundask (C++) DXUT & ID3DXMesh not rendering. Also crash in dxutenum.
Hi, I was reading over the DX documentation for C++ and came across the DXUT framework. Thus, I gave it a try and whipped up an example using their VS.NET project installer. The example is basically the mesh tutorial. The problem is that the mesh does not render on screen. I have played with many parameters such as the view matrix and far clipping plane, however, nothing has prevailed. Also, the solution compiles with no errors/wa ...Show All
Christopher Fleming Direct X
How to create Mesh - object, if the coordinates of verteks, coordinate of normals are known, and there is a list what verteks belong to what faces You might also take a look at the MeshFromOBJ sample on how to create D3DX meshes when you have the mesh data already. (i.e. not loading from X files). As always, you should search the SDK documentation that is installed first. In there you will find (under "Refere ...Show All
JamaSaru Problems compiling C++
Hello, I'm trying to create a directx app in c++ (i've got problems distrubuting a c# one) but when i try to compile the dx9 sdk samples, i tried tut1 en 3, it gives an error.. Command Lines Creating temporary file "c:\Documents and Settings\Eising\My Documents\Visual Studio 2005\Projects\CreateDevice\Debug\RSP00000121603788.rsp" with contents [ /Od /I "Common" /D "WIN32" /D &q ...Show All
PrashantT What the heck has happened to utility.timer and directxtimer?
I've been working through an introductory Managed DirectX book and there is some code that refers to a thing called "utility.timer" and a call to "DirectXTimer.GetElapsedTime". Neither of these things compile for me in VS.NET 2003 with DirectX 9. I can't seem to find anything at all on the utility function, and damn little on DirectXTimer. Obviously these things have become defunct, but what has taken their place Where should I be looking ...Show All
Kurre A Creating custom data structures for HID devices via DirectInput
Hi all, I'm working on accessing generic HID devices on Win32 via DirectInput. It's generally going well, but I've hit a snag. The devices I want to send and receive data to are non-standard devices - that is, they are not keyboards, mice or joysticks. So, I think I need to use SetDataFormat with a custom DIDATAFORMAT structure to define a custom structure for these non-standard devices. I'd expect to itera ...Show All
RBecker HELP ME PLEASE
I've download the new DirectX (october2005)SDK uppdate, but i'm having problems create a Direct X application. It doesn't show-up in the new projects menu under Visual C++ or any of the other Languages. What would anyone recommend as the solution for this problem. Which almost certainly means that what I said is true - you need to set up the include and lib directories in Visual Studio, so tha ...Show All
Rey Ramos what is the use of D3DXVec3Unproject() function
can any body answer what is the use of D3DxVec3Unproject () function how can i use this function to get mouse coordinate in 3d world Hi, D3DXVec3Unproject simply projects a point (vector) from screen coordinates (screen space) to world coordinates (object space). To get your mouse in a world coordinate: D3DXVECTOR3 * D3DXVec3Unproject( D3DXVECTOR3 * pOut , CONST D3DXVECTOR3 * pV , CONST D3DVIEWPO ...Show All
lcan Unmanaged directX and .net windows form
I have written (with a pointer from you lot here - thanks) a visualisation program in unmanaged C++ DirectX. Everything works fine, however I need to be able to change and edit parameters of the model with the usual text input boxes and track bar, as well as haveing a menu with different options. I have written a little windows form program that does this but wihout the directx stuff. I would like to add my DirectX work into a window in the f ...Show All
Marconi AS Junior can i coding the rumble pack by using directX
hi, i wish to use the 'rumble pack' to give the force feedback effect for the player..... i just wondering the 'rumble pack' is it can program by DirectX..... The link below are some rumble pack..... can anyone told me which rumble pack can program by DirectX... http://games.idealo.com/2048R148K4-Game-Hardware-Nintendo-64-Rumble-Packs.html Thank you :P but if i don't want use joystick, wheel, mouse, gamepad this kind of devices.... ...Show All
The Crash Mesh.Save
using Mesh.Save from the feb2006 sdk. this function needs a MaterialList as the 3rd parameter, MaterialList matList = new MaterialList(); how do i add my materials and texture filenames to this collection/list theres no .Add(...) When you load a mesh, you retrieve a bunch of information from it. One of the members I want you to take note about is in the Mesh.FromFile(...) which you are using the load the mes ...Show All
nothingbutdotnet Mesh.Save
using Mesh.Save from the feb2006 sdk. this function needs a MaterialList as the 3rd parameter, MaterialList matList = new MaterialList(); how do i add my materials and texture filenames to this collection/list theres no .Add(...) Mesh.Save takes ExtendedMaterial[] as parameter 3. Its not a collection class, hence no .Add method. You just need to new an array with the relevant number of members and then ...Show All
