Software Development Network Logo
  • Microsoft ISV
  • VS Express Editions
  • Visual C++
  • Visual Basic
  • Architecture
  • SQL Server
  • Visual J#
  • VS Team System
  • Smart Device
  • Visual C#
  • Visual Studio
  • Visual FoxPro
  • Windows Live
  • Windows Vista
  • Game Technologies

Software Development Network >> Visual C++

Visual C++

New Question

Progress Bar assistance
.manifest problems
need good string object reccomentdation
c++ compilation strategy
Random behavior of VS2005 RC1 compiler
Unresolved External for FTP code
How to make only one instance of exe file running at a time?
Graphics Issue
Unnecessary calls to copy constructor when creating std::vector
Problem solved

Top Answerers

Will George
Gibril
AMDRIT
Kuan-Chu Hou
singhhome
mike@nrt
ricpue
ThamYT
o6619
senthilkumaran
News Factor Network
Only Title

Answer Questions

  • Patrick Coyne problem with BinaryPredicate functor in VS2005

    The following C++ sample program can be compiled under VS2003 with both debug and release mode, but it can't be compiled under debug mode in 2005 while it can be compiled under release mode in 2005. #include <vector> #include <algorithm> struct FixingDateLessEqual { bool operator ()( const std::pair< int , double >& lhs, int date) const { return lhs.first <= date; } }; typ ...Show All

  • DamageInc Moving from VC 6.0 to VC 2005

    Hi all, I'm current investigating a way to move from Visual studio 6.0 to the lastest VS 2005. My project comprises with MFC, stl, and thirdparty libraries. When I test converting it to VS 2005 beta 2 the compiler generated 6500+ error. Is there a better way to do this Or is there a compiler switch that make the new compiler compatible with VS6.0 compiler Hi supra! I'm current investigating ...Show All

  • Mad&amp;#42; How to write an App with no console window at all

    Hi I haven't written any C++ since VS6 so I'm rusty and please pardon me. I have a need for a very lean application which runs as a native mode executable with no accompanying libraries or manifest file. In other words this program behaves in the manner that a VS6 application would. I seem to recall that I could get a program to run without a console window by deassigning stdin and stdout but that may have been in a detached child proc ...Show All

  • PV17 Compile error C2146 & C4430 when including DShow.h

    Hi all. Here is a description of my problem; I'm using Visual Studio 2005 Beta 2 to compile some C++ code taken from the book i'm working through at the moment, MSPress: Programming DirectShow for Digital Video and TV. I have narrowed the problem to being due to the '#include "DShow.h"' directive. A simple working hello world app fails to compile as soon as DShow.h is included.... The compile time error is the following; Error  &nbs ...Show All

  • Martín Misol stringizing __LINE__ in Visual C++ 2003

    Anyone know how to get around the problem with stringizing __LINE__ in Visual C++ 2003 when /ZI (Program Database for Edit & Continue) is used I'd rather not have to switch to /Zi (Program Database) and lose Edit & Continue. For example: # define _STR2_(x) #x # define _STR1_(x) _STR2_(x) TRACE(_STR1_(__LINE__));   Instead of a numeric value I get " (__LINE__Var+1) ". Hi Again Peter: I read your post more closel ...Show All

  • rev3nant visual c++ 6.0 vs visual c++ 2005

    I am looking forward to upgrade VC++ 6.0 to Visual C++ .NET 2005. But there are things I need to know before I do... 1. What are major changes in the "object class" structure ( if there are changes). 2. Do I need to make changes for the MFC libraries that I used while coding with VC++ 6.0 when I upgrade to VC++ .NET 2005. 3. In VC++ 6.0 I can use openGL and MFC together, and I can run OpenGL in a window with th ...Show All

  • andhowdy Error while testing VS 2005 - MFC appliocation on another PC

    I recently wanted to test an (VC++ MFC) application that was built on VS 2005 on another PC. The MFC application (Release Version) works fine on the PC that it was Compliled on. But when i try to run the exe on another machine, i get the following error. "The Application failed to start beacuse the application configuration is incorrect. Reinstalling the application may fix the problem" This other PC does not have the following installed 1)VS 20 ...Show All

  • sashi34745 Inside SHGetFolderPath

    Hi, I just discovered while running my application with Application Verifier , that a call to SHGetFolderPath causes the application verifier to log an error related to RegCreateKeyExW. That is, a call to SHGetFolderPath , internally calls RegCreateKeyExW for the reg key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders I was wondering why would SHGetFolderPath need to create a registry key All i ...Show All

  • Keith Jones Registry editing

    I'm having trouble creating the code for a button to change a couple of registry keys. I've searched google for hours and hours now, but all the code I can find about registry editing doesn't work in my version (2005 beta 1). I can't even get the code from MSDN to work So my question is simple (I hope): Let's say I want that button to change the value from Username in the map HKEY_CURRENT_USER\Software\Blasoft\3dgame\ to Savarage, how woul ...Show All

  • jrmcdona Parameter incorrect - corrupt mixed mode image?

    After almost two days of linking problems I've managed to make my application link and now when I try to execute it I get a message box with the error "The parameter is incorrect". It looks like Windows doesn't even try to load the exe. What could be causing this It is a mixer mode exe with a few cpp files compiled with /clr ldSyntax. I've linked it with msvcrt.lib, msvcmrt.lib, MSVCPRT.LIB and mscoree.lib. If I remove mscoree.lib I get an unres ...Show All

  • xulijie 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

  • Vip80 (MSVCRT) _iob disappeared?

    What can I do to replace the functionality of _iob Seems to be missing in MSVCR7/8 (using VS2005). I've seen the __iob problem as well... I'm trying to make a mixed managed/native C++ wrapper for a static third party library. Upon linking, I get errors saying various symobls are already defined. E.g. libcmt.lib(mlock.obj) : error LNK2005: __unlock already defined in MSVCRTD.lib(MSVCR80D.dll) I get over 20 erro ...Show All

  • Archana G C DLL using VS2005

    Is there a example code for writing C DLL using VS2005. -mic Yes, we are migrating from codewarrior, since they discontinued. Also, we might need win32/MFC GUI apps in future, so switching to a common IDE. Are you asking about building C\C++ dlls in general Thanks,   Ayman Shoukry   VC++ Team Yes, the application wizards should help you with that. Select "File > New > Project" to launch the application w ...Show All

  • Morpheus72 Linker Error in MFC App ported to VC++ 2005

    When I try to build an MFC project that has been ported to the VC++ 2005 compiler I get the following linker error: ProgramName error LNK2019: unresolved external symbol __imp__FtpCommandA@24 referenced in function "public: class CInternetFile * __thiscall CFtpConnection::Command(char const *,enum CFtpConnection::CmdResponseType,unsigned long,unsigned long)" ( Command@CFtpConnection@@QAEPAVCInternetFile@@PBDW4CmdResponseType@1@KK@Z ) ...Show All

  • Brett Woods C2871 error

    I am getting back to C++ trying to compile my old projects on VS2005 final release platform in WIn2K. In one of them (Winsock stuff) I am getting C2871 error that the namespace System does not exist. I checked, the reference to system.dll v2.0.50727 is included in the project. It is visible plainly in the Tools-->Properties-->References window. No syntactic errors up to the statement in question which is almost on the very top. It is frust ...Show All

515253545556575859606162636465666768

©2008 Software Development Network

powered by phorum