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

Software Development Network >> Visual C++

Visual C++

New Question

How do I make a stand-alone application in VC++
Problem with /MTd compile option
I receive the Microsoft Visual C++ Runtime Library Runtime Error when using Sony's Click to DVD software
Maximum thread question
Crystal Reports ReportDocument in Beta2
Intellisense updates very slowly, and blocks builds - what can I do?
C++ in VS2005: Enable automatic copy of depentend 3rdparty unmanaged dlls
'/GR-' and '/clr:oldsyntax' command-line options are incompatible
Label text setting in MSVC++.NET
beginner C++

Top Answerers

mobigital
gaofeng
carlos2001mx
Brutes
Serpent
Mark E. Johnson
blue3952
riet
Joe Farah
noremy
Decision Systems
Only Title

Answer Questions

  • Ray.DBA Visual C++ 2005 MFC support

    Hi, When will 2005 C++ be available with MFC support If the answer is never, what are my options to compile a C++ program with MFC now and in the future Please do not tell me Microsoft is now having home developers (like myself) puchase the full blown Visual Studio 2005 just to compile a MFC C++ application. Brian Hi, I am not sure what you mean by the "full product". Visual Studio 2005 Standard Edition will c ...Show All

  • Tejas Shah Error: LNK2019

    Hi I am using MS VC++ .Net (2003) and MS DirectX 9.0 SDK (December 2004). I am getting the following error :- GDPass error LNK2019: unresolved external symbol "public: void __thiscall bullet::gunshot(void)" ( gunshot@bullet@@QAEXXZ ) referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" ( WndProc@@YGJPAUHWND__@@IIJ@Z ) "gunshot()" is a function which is declared in a header file, as a public funct ...Show All

  • wking1994 windows.h macros interfering with .net names

    Hi jedediah! However, the compiler flags it with this error: error C2039: 'GetObjectA' : is not a member of 'System::ComponentModel::ComponentResourceManager' This is by design. See: Macros and the Preprocessor http://msdn.microsoft.com/library/default.asp url=/library/en-us/vcmxspec/html/vcmg_MacrosandthePreprocessor.asp -- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.d ...Show All

  • Hades255 C2825 error ?

    the following code will generate a C2825 error in VS2005Beta2 July: #include "stdafx.h" #include <vector> #include <iostream> int _tmain( int argc, _TCHAR* argv[]) {    int i = 3, j = 6;    std::swap< int >(i, j); //C2825    //but use std::swap<>  <i, j>; will be ok    return 0; }   I don't know why this ,  but who else can explain it to me many th ...Show All

  • ErickGB error occur when develop in Visual C++ 6 and compile in Visual Studio 2005

    The code wrote in VC++ 6 (no error when compile) but now I have to move them to the Visual Studio 2005 version and try to compile it again it give me the error ==> fatal error LNK1104: cannot open file 'LIBC.lib'. Please help I'm still so new with Microsoft Visual Studio 2005. Are they so much differences. Thanks for your help in advance, Akiwa Thanks - So what is the new lib for me to call all the strcat or strcpy.... wh ...Show All

  • Mirko Messori error about"cannot be marshaled as an unmanaged structure"

    i got a struct like: --------------------- public ref struct OutPacket{ int m_replyIndex; List<MainInfo^>^ m_mainInfos; }; --------------------- when i pass it to another process, i have to transfer it to intptr : --------------------- IntPtr pnt = Marshal::AllocCoTaskMem(Marshal::SizeOf(outPacket)); Marshal::StructureToPtr(outPacket,pnt,true); return pnt; --------------------- then i got a message: ********* err = {"Type 'C ...Show All

  • woaksie Passing an array of structs

    I have this struct struct student//Struct layout { char name[30]; char id[11]; float gpa; int age; char gender; }; this is the syntax I have for the function I want to send the array to: void firstmenu(student students[]); student students[5];//Struct Array, this is where I make the array firstmenu(students[]); and that is where I try to call it. I get a compiler error of: error C2059: syntax error : ']' when I try to call the fu ...Show All

  • Ross Luengen - MSFT CWind::Invalidate Problem

    Hi, I have a dialog box that allows you to enter text, when you press 'ok' the window underneath, from which the dialog box came, is updated with the new text.  Fairly straigh forward stuff.  However when you enter into the dialog box the '&' sign followed by anything else, it removes the & sign and underlines the next character in string upon clicking 'ok'.  To my knowledge the string is not actually altered because ...Show All

  • Mohe Initialize const array member

    Hi Does anyone know if / how it is possible to initialize a const array member e.g. class C_MyClass { public: const int m_MyArray[5]; C_MyClass(void);//default constructor ~C_MyClass(void);//default destructor }; C_MyClass::C_MyClass(void) : m_MyArray({1,2,3,4,5}){ } Error says it cannot specify explicit initializer for arrays.  Yes, theoretically I could use 5 const variables in this case, but no this is not actuall ...Show All

  • graey VS.NET 200 Beta 2: BadImageFormatException

    Hi there, I get the BadImageFormatException on a function call in my code. How can this be, the msdn says that this exception is raised when loading invalid unmanaged code. But i am calling a member function from inside that same class. Im using C++.Net 2.0. When i step through the code the exception is raised on the moment the function is called. This is the call: String^ s = GetFileNrList(";"); All the function does is returning a ; seperate ...Show All

  • Vimal@.Net Help Me Fix Error: cannot convert parameter 2 from 'char [30]' to 'LPTSTR'

    char keep[30]; void CCALCULATOR01Dlg::OnBnClickedButton1() { // TODO: Add your control notification handler code here GetDlgItemText(IDC_EDIT1, keep ,10); } error C2664: 'int CWnd::GetDlgItemTextW(int,LPTSTR,int) const' : cannot convert parameter 2 from 'char [30]' to 'LPTSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast i'm try to get data fro ...Show All

  • rtnews0423 Repeated Relink After Build Problem

    I have a complex project with multiple regular dll's and COM dll's. The code is also being built for both the PC and Smart Devices (CE) within the same directory structure. Frequently when I edit the code and rebuild successfully, if I hit build again after it is completed the exact same set of starting dll's are relinked which triggers other files dependant on the relinked dll's to be rebuilt. I've tried to looking at the project and the pro ...Show All

  • eci Invalid .ilk file should be deleted

    VS2005 sometimes gives me a message that my incremental link file (.ilk) is invalid, and then it links non-incrementally.  If this happens once, then it happens every time after that. To recover, I just delete the .ilk file myself, and the next link rebuilds a valid one. This seems like a bug to me.  If the compiler decides the .ilk file is bad, it should delete it, so that incremental linking can work again in the future. Ple ...Show All

  • Eric W. _vfptr is zero in class with virtuals - isn't this wrong??

    I'm using VC8 on XP Pro SP2. My application uses MFC and STL. I have a class with virtual members that inherits from another class with virtual members. I can call the virtual members from within the class's ctor (sometimes ) and I can call the non-virtual members, but when I try to call a virtual member I get an access violation. I see that the the _vfptr member is zero. Isn't that wrong It seems to me that this is my problem, but I don't know ...Show All

  • DjP6 Many linker errors with DirectX 8 libraries (LNK2019)

    Hi, I was compiled the game core and when it had to link all the .obj I got 67 errors, all of them LNK2019. They are all similar to: error LNK2019: unresolved external symbol _D3DXMatrixScaling@16 referenced in function "public: void __thiscall sAnimation::Update(unsigned long,int)" ( Update@sAnimation@@QAEXKH@Z ) (but with other functions) Do you know why it might be Thanks. ...Show All

363738394041424344454647484950515253

©2008 Software Development Network

powered by phorum