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

Software Development Network >> Visual C++

Visual C++

New Question

msvcr80d.dll not found
changing the name of a file
Inheritance loses public function from base class?
Problem deploying a VC++ application
VS.Net 2003 Project Configuration out of date after build solution.
Setting Classpath.
Redrawing View
simple window
Migrate from VC++ .NET to VC++ Express 2005
Version in managed C++ 2005 DLL

Top Answerers

sm000
chiln1208
Mike Royle
Lajash
Sun - By - Night
Kerry Reynolds
Tommy N.
Tacho
mark_05
Rahulkumar Patil
PATROL for Microsoft
Only Title

Answer Questions

  • Peter Moody Link Errors After Upgrading from 2003

    I'm currently tasked with evaluating VS2005 for my company's tools team. The team has been focusing on .NET applications in VS7.1 for the past six months, and we've been doing great. Unfortunately, when I converted one of our 7.1 projects over to 8.0 (2005), I encountered several linking errors I could not clear. The /clr is set to "oldSyntax," because this project is far too large to convert over to the new /clr syntax. We are linking to nat ...Show All

  • Agarwal Should generate C4407 warning in VC++ 2005??

    Consider the following code: #include <iostream> class CVA { public : }; class CVB : virtual public CVA { public : }; class CB0 { public :    CB0() {}    void TestFunc() {       std::cout << _T( "In CB0::TestFunc" ) << std::endl;    } }; class CB1 : public CB0 { public :    CB1() {}    void TestFunc() ...Show All

  • MC Some doubt on WM_PAINT and MemoryDC

      I have some doubt on DC operations in Windows.       1. When we call Invalidate() for any window, does WM_PAINT is sent to all child windows and child of child windows as well       2. I have created a Compatible memory DC for a picture control of a dialog box. I am painting something in the memoryDC and I am using BitBlt() to copy from the MemoryDC to the DC of the pic control in a regul ...Show All

  • Harbinger918 Error C2440: cannot convert from type to type

    Yesterday I got this error in a new C++/CLI project:   Error 1 error C2440: 'return' : cannot convert from 'ZXNewtonCP::LayoutManager' to 'ZXNewtonCP::LayoutManager' d:\proyectos\rfog\zxnewtoncp\zxnewtoncp\Config.h 17 LayoutManager is a managed class, and is instantiated in class config as a stack type, not a reference or pointer. My intention was to return a reference, but I mistake the typing and got that error. I don’t know if system ...Show All

  • SathikKhan Multithreaded libs and compiler settings through pragma comments

    I noticed you can adjust compiler and linker settings in the code using pragma comments rather than having to mess about with the IDE like going to Project  -> <Project Name> Properties  -> Configuration Properties  -> C/C++  -> Code Generation  -> Runtime Library. I had a little problem first trying to figure out how to simulate /MTd though till I found out it was done by defining _DEBUG and _ ...Show All

  • Jack M VC 7.1/8 difference with templates

    VC7.1 fails to compile the code below, with the error "no appropriate default constructor available", when the template qualification in red is omitted.  However, VC8 does compile it.  Which compiler is behaving correctly Thanks, Keith MacDonald template<typename T> class Base { public:  Base(T n)   : val_(n)  {}  T val_; }; template<typename T> class Derived  : public Base<T ...Show All

  • FalconDW C++ name mangling change between 2003 and 2005

    We have a Win32 console DLL that we currently compile with VS C++ 2003, but we need to be able to allow it to be linked to and used by executables compiled with VS C++ 2005. For the most part this works. However, we have a couple of functions that take a std::exception as an argument, and these cannot be used in the 2005 executables because the name mangling is different. In 2003 the mangled name is: foo@@YAXVexception@@@Z and in 2005 ...Show All

  • Gorkem VS2005 B2: System crashes when debug stops

    Hi! When I'm debugging my application, the system crashes when I press the 'stop debugging' button, or click 'terminate all' and reboots. After the reboot, some file that were involved are 'empty' (0 byte). There are no code changes that could be the root of this problem. Since one week the error occurs. Btw: I'm using VS2005 B2 on WinXP Pro x64. Thanks a lot for your help! Hi, Please open a bug on http:// ...Show All

  • Pandaurae Reading Excel files using ODBC

    When i use CDatabase , CRecordset to connect and read Excel file have some problem: 1. If i create a file with Microsoft Office Excel (do not have "Database" struct), have a worksheet, then save and close it. When i run my program, connect to this file, i do not see any table in this file(because Sheet is not a Table) so please help me, how to create a Table(excel) for a Sheet in Microsoft Office Excel . 2. When i create excel file fr ...Show All

  • Ian Bavey - MSFT Problem calling a function as thread

    i get an debug assertion failed (file: wincore.cpp line: 884) when i call the following AfxBeginThread. The function CardThread will do some I/O on a usb device. Then i trace down the problem, it's caused by calling UpdateData(TRUE) as i wanna display what i read from the device to a dialog box. it's a dialog based application with only one main dialog box. if i keep on clicking ignore when the debug assertion comes up whenever it come ...Show All

  • asawaf Boolean Conversion

    <wdhough@discussions.microsoft.com> wrote in message news:d1b20b55-fc8e-4827-80c8-37a552c78681@discussions.microsoft.com > I use the following code to convert an integer into a CString > > int i = 9; > CString s; s.Format(L"%d",i); AfxMessageBox(s); > > I was wondering what changes need to be made to this in order to > convert a boolean   I realise i can just put the boolean in t ...Show All

  • Prerak Internet Speed

    Hi how do i detect Internet Speed, which API should I use for this. Jangid wrote: Hi how do i detect Internet Speed, which API should I use for this. There's no specific API to do this. You could download a file from a known good server, and time the results. To get more accuracy, download files from multiple servers and take the mean. Janguid, this forum is for issues concerning the Visual C++ tools. For questions c ...Show All

  • lgcardona strcpy_s / strcat_s / sprintf_s

    I have found out the hard way that these functions pad the output buffer to its maximum extent with character 0xfd That's great, but could the documentation say something to make it clear this happens Sorry, still don't follow. Why you need to disable those functions Just don't use them. Call memcpy()/memmove()/whatever instead. "anonymous@discussions.microsoft.com" <OneRing@discussions.microsoft.com> wr ...Show All

  • James Coleman ATL project upgrade -> error LNK2005: xxxx already defined in atlmincrt.lib (atlinit.obj)

    I've recently upgraded an ATL project from VS2002 to VS2005. It compiles fine in Debug mode, but when I attempt to compile in Release mode I get link errors. Can anyone help me please Linking... LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(tidtable.obj) : error LNK2005: __encoded_null already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(tidtable.obj) : error LNK2005: _ ...Show All

  • StuartFreeman Project options

    I'm looking to build an application using C++ in Visual Studio 2005 and I see that I have several options for project types. I'm looking to build a forms application and my choices seem to be CLR, ATL, MFC, or Win32. It's nice to have choices and all, but what's the difference My main criteria is that I do not want to require users to have the .NET framework. Beyond that I would prefer that the program runs as a single executable without ...Show All

373839404142434445464748495051525354

©2008 Software Development Network

powered by phorum