473,804 Members | 3,194 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem Compiling Sample DirectX Project

HI, I hope you all can help me, or at least point me in the right
direction. I am not a programmer, I am just trying to help some
students in a programming class with this issue, I am the lab assistant
for their college and they are saying it's a program installation issue
whereas I am thinking it's a programming issue.

I've done an install of .NET 2003 with the October 2005 Directx SDK.
We have a sample project that we are trying to run but we come up with
several issues with it. First off I get errors telling me that it
cannot open files, so I do a search for the file and then add it to the
prject directories list in the corresponding area, aka lib etc.

Once I have finished with all of that, I get an error with DXUT
requiring a unicode build, so I got into the solution explorer,
properties, configuration properties, general, and then change the
character set to unicode.

I then rebuild the project and come up with these errors from the task
list.

c:\Documents and
Settings\admin\ Desktop\sources \VC6\chapter10\ paddle_game\dxu til.cpp(960):
warning C4995: 'lstrcatW': name was marked as #pragma deprecated
c:\Documents and
Settings\admin\ Desktop\sources \VC6\chapter10\ paddle_game\win main.cpp(59):
error C2440: '=' : cannot convert from 'const char [12]' to 'LPCWSTR'
c:\Documents and
Settings\admin\ Desktop\sources \VC6\chapter10\ paddle_game\win main.cpp(98):
error C2664: 'CreateWindowEx W' : cannot convert parameter 2 from 'const
char [12]' to 'LPCWSTR'
c:\Documents and
Settings\admin\ Desktop\sources \VC6\chapter10\ paddle_game\dxu til.cpp(29):
warning C4995: 'lstrcpy': name was marked as #pragma deprecated
c:\Documents and
Settings\admin\ Desktop\sources \VC6\chapter10\ paddle_game\dxu til.cpp(34):
error C3861: '_T': identifier not found, even with argument-dependent
lookup
c:\Documents and
Settings\admin\ Desktop\sources \VC6\chapter10\ paddle_game\dxu til.cpp(51):
warning C4995: '_tcscat': name was marked as #pragma deprecated
c:\Documents and
Settings\admin\ Desktop\sources \VC6\chapter10\ paddle_game\dxu til.cpp

I deleted a lot of these errors, if you need a full list, let me know
and I will email them to you there were 246 of them total. I am
thinking that there needs to be something defined or included to allow
for the conversion process to take place from the multi-btye code to
the unicode, but I have no idea as to whats needed.

Thanks for looking at my post, I hope you can help.

Feb 14 '06 #1
0 1181

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2931
by: Michael Mayer | last post by:
First of all, sorry for the cross-post. Seems like there should be a managed directx newsgroup. I'm trying to open the following sample application that comes with the DirectX SDK. C:\DXSDK\Samples\C#\AudioVideo\Bin\csAVPlayer.exe It will not play some of the samples shipped with the SDK. It either completey hangs the application (and I have to use Windows Task Manager to kill it) or sometimes it displays an error message. Below...
6
7147
by: ammd | last post by:
Hi, I installed Microsoft DirectX 9.0 SDK (Summer 2004) but when I create a project and try to add the necessary references I can't find them. Does anybody know where to look for them? BTW, I have VS 2002. Don't know if there's an incompatibility issue. Thanks.
4
9104
by: Junaid Hussain | last post by:
Hi, I am thinking about developing a 3D pool game in C# using DirectX, however when I compile a C# at the command prompt using; csc PoolGame.cs , I get the following error message; The type or namespace name 'DirectX' does not exist in the class or namespace 'Microsoft' (are you missing an assembly reference?) Im not sure why it says this because I have DirectX 9.0 installed ??
2
6598
by: Pete Davis | last post by:
I've got an app that plays video using the ActiveMovie COM stuff. I'm using the FilgraphManagerClass to play the movie and I'm trying to get an image from the currently displayed scene. The call to do it is FilgraphManagerClass.GetCurrentImage(ref int bufferSize, out int dibImage) Now, I'm aware that my code, as-is, might not free what it's allocating. That's okay for the moment. I just want to get it working first, then I'll
1
3584
by: Sebastian Sosna | last post by:
Hello NG ! Iam developing in C# so my cpp knowledge is limited. Ive downloaded a C++ sample wich is doing some AD Job. U can get it here : http://support.microsoft.com/?id=302515 Ive tried to port into C++ (.Net) and ran into errors wich i have no clue whats this is about. After compiling the linker is throwing those errors :
0
2945
by: Harvey Cohen | last post by:
Hello all, I have some C# code that implements calls to DirectX.DirectSound. It compiles under both VS .NET 2003 and VS 2005 and runs under VS .NET 2003 and VS 2005 on a Compaq laptop (Windows XP Home), a Dell Xeon workstation (Windows XP Pro) and a Gateway GM 825 (Windows XP Media Center). It also runs on the Dell and the Compaq under VS 2005, but when I attempt to run the code under VS 2005 on the Gateway (Windows XP MCE), I get...
1
1560
by: John230873 | last post by:
I am getting this error when I try to compile The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll' and 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll' C:\Documents and Settings\johnw\My Documents\Visual Studio 2005\Projects\example\example\example.cs This a a new application with only a couple of...
5
2008
by: Vibhesh | last post by:
I am facing problem with TimeSpan structure when DirectX is used. Following is the sample code that causes the problem: *************************************************************************************************************** { ........................... PrintTimeSpanProblem(); device = new Device(0, DeviceType.Hardware, this, CreateFlags.SoftwareVertexProcessing, presentParams); PrintTimeSpanProblem();
7
5649
by: Gigs_ | last post by:
im getting this tutorial: http://einfall.blogspot.com/2005/02/using-directx-and-c-sharp-to-create.html and i got some error, i dont know how to fix it. Can someone help? i use visual c# express 2008, latest runtime and latest directx
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10077
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6853
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5522
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3820
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.