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

Software Development Network >> Visual C++

Visual C++

New Question

Hex-to-RGB Conversion
VS .Net 2005, how to disable intellisense...
how to load pass and get info from (System::Object^ sender, System::EventArgs^ e) C++/CLI
slow tools menu
Embedding an edit control into a tab control
BSOD when using debugging features of Visual C++ 2005 Express Beta 2
Linking: libcimtd.lib requested
Making a simple template and getting link errors
Error: LNK2019
Error on delete [] v

Top Answerers

waltc
T. J. Bussler
carda
SonalMS
J.Meier
SLIDER 82
blomm
Ralf_Vienna
Andy Cutler
derekslager
Burns, J. Randall
Only Title

Answer Questions

  • csekhar Crash in destructor

    I'm using gtkmm 2.8.2 with Visual C++ 2005 Express to port a program from Linux to Windows. I'm using the win32 binaries from http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ , which were apparently compiled with MSVC 2003, therefore I have to use the option /vd2 ( http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ mentions this). Perhaps this causes my problem, but I don't know enough about the details of the C++ object layout that is used by MSVC. ...Show All

  • auhe error C2220: warning treated as error

    Hi, I am moving an application from VS2003 to VS 2005 and I got the following error: error C2220: warning treated as error - no 'object' file generated C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\atlfile.h Any ideas on how to correct this Thanks in advance, Are you still getting the "warning C4127: conditional expression is constant" errors   If not, then there's no real issue here. The remaining warnings: c ...Show All

  • Phyoe Visual Studio 2005 professional: mspdbsrv failure -> Sporadic fatal error C1033: cannot open program database

    I keep getting the following compiler errors, albeit sporadically: fatal error C1033: cannot open program database "D:\somepath\ps_extrude.pdb" It appears as though mspdbsrv.exe is keeping file handles between builds open, causing sharing violations with itself. The compiler is using the /Fd option to specify the pdb file, on a multiprocessor machine using 2 invocations of the compiler at a time. The file access during the ...Show All

  • Buggs Bunny Getting Error - Regarding stdafx.h

    I'm trying to fool around with the new Visual studio version (2005 Beta 2) and for some reason it keeps telling me: \Practice.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory A long time ago someone told me to go into the properties of the project and change the default to CLR support. I did this time but it doesn't seem to build.  Can someone tell me what to do   Here is my code: #includ ...Show All

  • Tomáš Pajonk Link Error /w VS05 b2 (managed C++)

    . I am trying to create a class, I have the class called Rational.cpp and the header called Rational.h. I dont have any main functions in yet. Is that the problem Heres example of what I have so far. #include "Rational.h" Rational::Rational(void) { } Rational::~Rational(void) { } ==================================================== #pragma once class Rat ...Show All

  • movertom How to check whether an file is read only or not using C Language

    All, How to check whether an file is read only or not using C Language Shirish Check this code snipper to use with C.. hope this helps.. #include <stdio.h> #include <io.h> int main() { int mode; /*check a files attributes*/ mode = access("c:/samples.txt",0); if(mode) printf("File does not exist.\n"); else /*check if the file can be written to*/ mode = access(" ...Show All

  • barneyk getting a HBITMAP provided I have a BITMAP

    Is there anyway to easily get a handle to a bitmap (ie an HBITMAP) from a BITMAP structure when using the Win32 API with unmanaged C++ I thought that an HBITMAP might just be a pointer to a BITMAP but that was not the case. I do not want to create a new BITMAP so CreateBitmapIndirect( BITMAP * ) is not what I want. I think I am looking for some function that does the opposite of GetObject( HGDIOBJ, int, LPVOID ). ...Show All

  • Mike75 Issues with static variables in static libraries

    Hi all! I've been running into a really bizarre issue for a while now, and I'm not sure whether my logic is faulty, I'm missing something, or it's a bug.  Right now I'm using VS2005, but the same was true in VS2003.  Alright, here's the problem: I have a static library that contains a class with a static variable that's intialized via a function like this: int myClass::myStaticVar = myClass::initializeStaticVar();   Now if ...Show All

  • D. Swicegood trackBar bug? Visual C++ 2005 Express Beta 2

    Hello, I have set the trackBar to max   10 min   -10 These figures are accepted, the build goes OK and the app runs and I can select trackBar values between -10 and +10. But! On three occasions when making unconnected code changes, I have found that when I ran the app it was not possible to move the trackBar pointer. Have now seen on one of thjose occasions that the -10 figure had changed to 10 ! This seems odd. An ...Show All

  • nicpn Creating pointer causes illigal memory access

    Hello I need to wrap some functions from the Insigth Toolkit in my own DLL. This is generally no problem. I create a class whith some methods that uses the toolkits functions. Then I create some functions that will interact with the objets of my class; and only this few functions I export with dllexport. (Some kind of wrapping...) This all works fine. But I need some pointer to use in every method. So my idea was following: when you call ident ...Show All

  • Pix help me again please with the error code C2659

    Build Log     Build started: Project: The Zone, Configuration: Debug|Win32 Command Lines     Creating temporary file "c:\Documents and Settings\<REMOVED>\My Documents\Visual Studio 2005\Projects\The Zone\The Zone\Debug\RSP00000525683660.rsp" with contents [ /Od /D "WIN32" /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /FD /EHa /MDd /Yu"stdafx.h" /Fp"Debug\The ...Show All

  • David L1 Is there a simple way....

    Is there a simple way to target native Win32 when compiling C++ code in VS2005 Beta 2 Basically the situation is that I have my own C++ code, which uses functions from the Irrlicht graphics library and the RakNet networking library. Irrlicht uses a DLL and a static lib, RakNet just a static lib, all of which were provided with the downloads: I haven't recompiled anything. There is absolutely no code in there that SHOULD require the .N ...Show All

  • Conrad Lang Command line builds and file changes

    Hello, we are using VS2005. This question pertains to VC++ and command like builds. I am trying to use vcbuild (or msbuild) to build from scripts a solution with about 40 projects. What I find is that after doing a full build (win32 and debug, for instance) if I change a header file for instance and run the vcbuild command again passing the solution file, it says that everything is up to date. If I do the same thing from the IDE, right click ...Show All

  • redwyre i need to complete my assignments!!urgent help needed!! HELP!

    why do i get an error like this i cant even do my school assignments.... :( Error 1 fatal error LNK1181: cannot open input file 'user32.lib' Prac5Pg1Q9 Situation... i did a project in sch usin .NET 2003 and im now on my laptop which runs e new c++ 2005 express..it gives me problems like.. 1) datasets cant be added to native object (i want to add a .dat filetype but only datasets available..) 2) after converting my files i did ...Show All

  • Paul Siermann Add member variable wizard takes long to display

    Adding a member variable in a Dialog class may take a long time in Visual Studio .NET 2003. Does anybody has a suggestion for the cause of this problem and how to resolve it Erwin Please use the public newsgroups (microsoft.public.dotnet.languages.vc and microsoft.public.vc.*) for non VS2005 questions. You will get access to a much broader community there and will likely get better responses to your question. ...Show All

151617181920212223242526272829303132

©2008 Software Development Network

powered by phorum