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

Software Development Network >> Visual C++

Visual C++

New Question

aspell compilation problems
Debugging in C++
VC++ 6.0 MFC and AMD64
reading binary data using fseek and fread
new to VC++ 2005, have a few problems
New to VC++, can't really get started...
where does the combo box's dropdown property go?
Inherited Project settings
Fatal error when copiling my first program
How to read the last line of a file in Managed C++

Top Answerers

Sai Shyam
Leena S
Yuval124
Eric M
ferhat
DVINH
Quang N
DaveAtDotNetCodeSlingers
Sridhar Madhugiri MSFT
Alexander Stevenson
Topix: Jude Law
Only Title

Answer Questions

  • flynn Comparing files

    I wondered how antivirus programs use the virus definitions, and what is a "virus definition" because as you know a simple antivirus program is about 15MB but it supports thousands of viruses. How is that accomplished ___Michael___ wrote: Thank you. But can you tell me how they define which bytes are unique. And is it that possible to be done with other file types like *.mp3, *.avi etc. Viral signatures are obtained ...Show All

  • Richard Šusta VC++ 8 Show-Stopper?

    Hi, I'm seeing a speed hit of around 2X when switching to VC++ 2005. It's so serious and effects even the most  basic programs that I can only think I must be missing something. Please help! Building the same (trivial) program onVS 2003 and VS 2005 I'm seeing around a 2x decrease in speed. I'm building for release and in 2005 also setting D_SECURE_SCL=0. Can someone explain #include "stdafx.h" #include <windows.h> #include <vec ...Show All

  • onur6n __gc error

    I‥m doing a .net library class in c++ and I have 2 classes, A y B; as follows: public __gc class B; public __gc class A:public baseA {    private:       B *entrada;       B *salida; }; public __gc class B:public baseB {    private:       A **entrantes;       A **salientes; }; And I get the following error: ...Show All

  • OmegaMan Old iostream linking problem in VS 2005

    I am migrating a VS add-in written in C++ from 2003 to 2005.  So I must get it building in '05.  One lib in the solution uses the old style iostream.h.  The VS 6.0 libcimtd.lib is specifically included and linked with that piece.  That piece successfully builds the lib. When other piece (a dll) is linked with that first piece I get many LNK2005 errors unless I specifically ignore LIBCMTD also. (didn't have to i ...Show All

  • Jcastro Visual Studio .NET 2003 Vs. Visual Studio 2005

    Hi all, I am currently working on a c/c++ application which works only on Visual Studio .NET 2003, using the .sln file provided in the package. Currently the following are installed on my system: Microsoft .NET framework 1.1 Microsoft Visual Studio .NET 2003 Professional - English MSDN Library for visual studio .NET 2003. My company now has to buy some more licences for working on the same project but a new version, Visual Studio 2005, is ...Show All

  • Haresh VC++ 2005 AND MFC Dialogs, controls and events

    Hi to All I have visual studio 2005 and I have a project using MFC dialogs developped in Visual C++ 6.0 In visual C++ 6.0 we have the class wizard, when right clic a dialog control we can add member variables and event functions (OnEdit, OnSelchanged,... and so on), when we have a problem with the class wizard, we delete the .clw file, and recreate it by adding all files. In visual C++ 2005 I cannot add a message handler to my controls (automati ...Show All

  • JiriKrov C# to C++

    using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace Map_Maker_Worker {  /// <summary>  /// Dialog for a useless application that runs a checksum on multiple maps.  /// </summary>  public class frmSigner : System.Windows.Forms.Form  {   private System.Windows.Forms.Button btnSelectMaps;   priv ...Show All

  • Valcom Visual C++ 2003 Standard -> how to upgrade

    Hey, I'm really eger to buy Visual 2005. I'm using Standard version now and I want to ask which version should I buy to have the same features I'm afraid that there will be no Visual C++ 2005 Stardard for 150$. Do I have to choose between Visual C++ Express and Visual Studio Standard(including all the languages...) Hey, I know this document but it does not answer my questions. Prices are not most important here. Yes: if you are up ...Show All

  • puy0 Cannot read file

    I'm gettting an access violation error when trying to read a file The code I'm using is: char PeopleFileName[_MAX_PATH]; char buf[256]; strcpy_s(PeopleFileName, fileName); strcpy_s(&PeopleFileName[strlen(PeopleFileName)], MAX_PATH, ".peo"); std::ifstream PeopleFile(PeopleFileName, std::ios::binary); GetStringFromFile(PeopleFile, buf); m_iRecordCount[2] = atoi(buf); m_People = new CPerson[m_iRecordCount[2]]; for (int iPerson ...Show All

  • Colin Meek - Microsoft problems with vc++ express compiling with wsock32.lib

    Hello, I'm trying to learn how to work with winsock, but I'm stuck on day 1. When trying to use the WSADATA struct or the WSAStartup function I get some linker errors: -begin code segment- WSADATA wsaData; if (WSAStartup(MAKEWORD(2,0),&wsaData) != 0) { MessageBox(NULL,(LPCWSTR) "wsa thingy failed" ,(LPCWSTR) "boo hoo" , 0); } -end code segment- ------ Build started: Project: win32p ...Show All

  • Andres Meyer MFC Activex Control - Failed to create control: Unspecified error

    Hello,    I have created an activex control in MFC 8, VS - 2005 Beta 2,    which hosts Windows Forms control in it.  I have created it as per the article by Nicola (MFC 8 (VC++ 2005 and Windows Forms).  When I test using the activex tester I get the message - Failed to create control: Unspecified error.  When I refered this object in a html page using the object tag -  It does not show ...Show All

  • Phil J Pearson error C2065 System::String^ PROBLEM HELP!!

    When i put a string^ object into a String::Concat object and hit compile, VS 2005 Pro .NET(WinForms") gave me this error: ------ Build started: Project: 7, Configuration: Debug Win32 ------ Compiling... 7.cpp c:\documents and settings\jonathan baldwin\my documents\mycpp\projec\7\7\Form1.h(146) : error C2065: 'str1' : undeclared identifier Build log was saved at "file://c:\Documents and Settings\Jonathan Baldwin\My Docume ...Show All

  • NinetyNine We are facing a strange error!

    I am trying to port our code from VS 7.1 to VS 8 (C++ code using VC++ 2005). Code compiles with a lot of Warnings!!! As expected for the depricated functions.  Now when I try to run the code it runs in to a strange problem. While trying to access contents of a array I run in to assertion failure of BAD pointer! I understand that this is because of NULL Pointer that has come in! Now we have initialized this array to a null string earlier an ...Show All

  • manab stl.net: why do I get lnk2005?

    If I include "#include <cliext/vector>" (or map, etc.) to more than one header file in my project I get lnk2005.  Why Creat a test project (CLR console app) Add 2 component (comp1 and com2) Add " #include <cliext/vector>" to t he header comp1.h Add " #include <cliext/vector>" to t he header comp2.h Compile  --> get lnk2005. hdp. Hi, We were not able to get S ...Show All

  • Jenny Lin Calls to Form from outside

    Hi, Could someone please tell me how I would go about setting a value in a windows form from the "outside". For example, if I want to use some function that is outside of the form, do some processing, and then display the result in the form. I do not want to call the function within the form code. Many thanks in advance! Ljubica Hi, if you want to set a property in the form you can do ...Show All

9091929394959697989901234567

©2008 Software Development Network

powered by phorum