Answer Questions
Hexxagonal VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch ...Show All
jonyeh error LNK2019, how do i fix it?
this is the code im using, when i goto build it i works fine then as its about to finish i ge tthe LNK2019 error, why #include <iostream> int main() { using namespace std; int carrot; cout << "how many carrots do you have "; cin >> carrot; cout << endl; carrot = carrot - 2; cout << "cruch crunch, i ate somse of your carrots. you now have " << carrot << " carotts" << endl; ret ...Show All
Jen Smith error C2061: syntax error : identifier '_DebugHeapT
I have VS .NET (7.0) and VS .NET 2003 (7.1) installed side-by-side. In the code that I am porting from 7.0 to 7.1, I am using the std::fstream class. #include <fstream> std::fstream m_stream; When I compile this I get a compiler error: c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\fstream(465) : error C2061: syntax error : identifier '_DebugHeapTag' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\fstream ...Show All
Need_Helpss VS 2005 compile problem with asserts
I just started compiling my C code with VS 2005 (I was using VS 2003) and I ran across a compilation error that I've never seen with any other Microsoft , Intel or GNU (in multiple *nix platforms) compiler. The code calls macros from other macros and more importantly has an assert. When I compiled with -E, I see the following code generated: { if ( (int)((( (void)( (!!(0)) || (_wassert( [ "0", [ "d:\\mywork\\cmochk\\cmop ...Show All
Ali Adnan Is there no official support for VC6.0?
Is there no official support for VC6.0 What the different between VC++ 2005 and VC6.0,the cl compiler The VS2005 cl compilter is supported C99 now The IDE has completely changed. All libraries are new. The compiler is completely new and phantastic. C++ in VS2005 is pure C89! More infos here http://msdn.microsoft.com/visualc/ ...Show All
Rich Preston Memory: App - Driver
How do I declare memory for use in an application and a driver I want declare a pointer in the app, "int *pData", then call some function so that the driver will allocate the necessary memory, pointed to by *pData, which can be accessed by both the driver and the app. I'm trying to port a Linux driver and Linux app. The Linux app is using mmap() function. Is there a Microsoft equivalent Thanks ...Show All
thomson errors while executing vc++ code
Hi I have one opensource of vc++. While executing this code it is giving the following errors. 1)error C2433: 'HWND' : 'inline' not permitted on data declarations 2)error C2143: syntax error : missing ';' before '{' 3)error C2447: '{' : missing function header (old-style formal list ) 4)error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 5)error C2086: 'int CALLBACK' : redefinition If any one got these erro ...Show All
Wipeout55 app wont run in runtime but runs in debug
well this is quite simple. i have an application. it opens up and runs correctly in debug mode F5. but when i double click on application outside visual studio, it crashes. its an MFC application in Visual studio 2005 native c++. i link to that application acouple of other static libraries. what can cause the problem Egypt, you should use your debugger. Asking this forum to make guesses about where the bug ...Show All
gamesplant binaries compiled using VC8 not running on IA64
As VS 2005 is not supported on IA64 platform i had to use cross-compilation on 32bit machine. i did vcvarsall.bat x86_ia64 for setting the build environment. after building the application i tried running it on IA64 machine but it is not running. D:\samples>exercise.exe The system cannot execute the specified program. manifest info is embeded in the application and in its dependency dlls. on checking C:\Windows\WinS ...Show All
Lam Chan OpenMP vcomp.dll problem
Hi everyone, I have just bought and installed Visual Studio 2005 Pro, and I have a problem with its OpenMP support. I have been using the Beta 2 before, and wrote code that uses OpenMP. As you might know, vcomp.dll is required when using OpenMP. The files can be found inside some redist folder of VS 2005. So I copy this file to the executable folder, and try to start the exe. I get an error which says that it tries to load vcomp.dll wrong. Howev ...Show All
Jim Bender Why does VC2005 always rebuild all files??
I am using VC2005 IDE with VC2003's excutables, includes and libraries. Becuase my project( orinally VC6.0 project ) have many library compiled with single thread runtime, I can't use VC2005's excutables, includes and libraries. Anyway I suceeded to compile my project. My problem is the follwing. Let's suppose I am building "MyProject". Whenever I choose "Build Only MyProject", VC2005 always rebuild all files i ...Show All
dataking Error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'
I keep getting the following error message every time I try to run or build a C++ application in Visual Studio 2005: Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. It only comes up with a C++ program. VB seems to be fine. I was working on a "Class Library" when it first started so I tried creating a new project. I tried doing a build before doing anything and the error message still ca ...Show All
phoenixodin Atlthunk.lib
I'm triying since this morning, to compile a GPL app written in C++ with VC6. But I'm using VC++2005 Express. I've download and installed with succes the PSDK. I've fixed some problems in SDK headers . And I've commented in atlbase.h the line //#pragma comment(lib, "atlthunk.lib") . But, when I try to compile, I've linker errors. And I've seen in a post ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=322284&SiteID=1 ) that ...Show All
aztec2_step VC++ 2005 redistributable (vcredist_x86.exe etc.)
Hi there, I noticed that the Beta 2 redistributable is hosted on the Microsoft download library, but the final ones seems not to be. Will it be hosted on microsoft.com (or is it already somewhere ). Also, it has been reported to me that on Windows 2000 the (RTM) redistributal gives an unuseful error message if Windows Installer 3.1 is not installed. The message is error 1723. "A DLL required for this install to complete could not be run." ...Show All
COOPERMAN _CRT_SECURE_NO_DEPRECATE has no effect
MSDN clearly states that if you define _CRT_SECURE_NO_DEPRECATE it "will disable deprecation warnings". I tried adding _CRT_SECURE_NO_DEPRECATE to the Preprocessor Definitions and #define _CRT_SECURE_NO_DEPRECATE to the code. In both cases I still get a C4996 warning from every single strcpy call. The only way to disable the warning, as far as I can tell, is to use #pragma warning (disable:4996) or add the warning to the C/C++ settings (Ad ...Show All
