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

Software Development Network >> Visual C++

Visual C++

New Question

How do I distribute Visual Studio 2005 apps?
Non-recompile Save
Binding Navagation Like buttons
a reference problem
CFrameWnd::OnSetPreviewMode ASSERTs in VC 2005 but not VC 6.0
Unlinking the CRT...
Error C2552
Unresolved external symbol _main referenced in function _mainCRTStartup
Porting MFC application from VC++ 6.0 to VS8
WinAPI Question

Top Answerers

Dynamical Dog
Maxime LABELLE
b.hesse
emman101
Gaurav Jain
baolsen
RRAALLVV
alienseiya
Luis E
KumarSingh
Bay Area Association of Database Developers (BAADD)
Only Title

Answer Questions

  • Chris Niggel console from form

    Hi! How can I call a Console window from a form application the handler for the button-click not execute or the console doesn't appear. Thanks Jonathan!! It's perfect!! Yes, I want to write to the console. Below, a code that doesn't work: #pragma once   namespace form_console { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace S ...Show All

  • otgoo Print Preview Issue

    Hey, Heres the problem.  I use the OnFilePrintPreview and OnEndPrintPreview methods of the various views.  I have overridden these methods just for some appilication specific calls, but at the end of that i still call the base class for these methods.  That all works well but when I preview a document and then open another document it fails,  basically i want to be able to call the OnEndPrintPreview method when i op ...Show All

  • dxfoo Getting rid of the need for .manifests?

    Background: We are attempting to build a DLL with VC8 to be used by applications that were built with VC6 and linked against a VC6 version of the DLL. Problem: In order to get the application to start, we have to copy the .manifest generated by building the DLL and rename it app .exe.manifest (in the same directory as app ). This is going to be a headache for our customers. Is there any way to not require the .manifest ...Show All

  • tthulin A simple CPP source file change caused entire solution to relink

    My group is new to VS05 and previously used VS 6.0. Several people in our group have had an ongoing battle with the compiler. It seems that when you make a simple change to a CPP source file that it will cause the entire solution to have to relink. We do have dependencies set between several projects within the solution, but if I am not changing a common header file or a method signature then I would not expect all of the project to need to be r ...Show All

  • lbsjs error C3861: 'snprintf': identifier not found

    Hello everyone, When I tried to compile a C++ files in Visual Studio 2005, I got this error: C3861: 'snprintf': identifier not found.  I suspect some standard C lib are missing but not sure what they are. Can someone please give a pointer thanks a lot for your help.   Hi, I'm trying to create a dll file by compiling some *.cpp files. But the error i get is: 1>.\intelbth.cpp(836) : e ...Show All

  • Dmitriy.Vasyura C++ Build Failure

    I get stuck on the easiest of codes, the "Hello World!" code. What I do, is start a Visual C++ Win32 Console Application, Empty Project... And Application Type Console Application. Then, I add a file to the Source Files called HelloWorld.cpp. This is my code I type: #include <iostream> main() { std::cout << "Hello World!" << std::endl; } Then I try to build, compile, anything, but I keep getting this err ...Show All

  • Gary7 STDMETHODIMP

    I am trying to compile some VC++ 6.0 code on VC++2005, and I get the following error: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int The line of code is simple:  STDMETHODIMP Func(WORD Index); Knowing that STDMETHODIMP boils down to " LONG __stdcall ", what's the problem here The same compiler error is generated for STDMETHOD. Any clue Thanks, Mo ...Show All

  • Virendra Nath Pandey How to check the dll files that my program in use???

    Hi, I like to make MSI package for the program, but I don't know how to find out what dll files my program is using in order to make all files are packaged together. I heard there is a tool that comes with Visual Studio, that help find the dll files in use for a program. Do you know what that tool is Thanks, vcboy You can always get latest version from www.DependencyWalker.com . ...Show All

  • Victor F Rodriguez vc++8.0 bug: access violation upon call of any CImageList methods

    I have sucessfully imported and compiled a complex MFC 6.0 project from vc++6.0  into vc++ 8.0 (MFC 8.0). It contains several subprojects (libs and dlls). In vc++ 6.0 those project linked MFC6.0 statically and after I imported it to vc++ 8.0 I set the linkage of MFC8.0 to "shared". However when I try to compile and link the project in vc++ 8.0 in release mode (debugmode works fine) I get an acess violation in afxcomctl32.inl. This happnes w ...Show All

  • utkuozan .cgm/.wmf image not loaded properly in VC++

    I try to load an image which is of .cgm/.wmf format in VC++.The image  when inserted in MSoffice(either in excel or in MSword or in powerpoint) maintains the clarity.When the same image is loaded in VC++,the clarity of the image decreases. I tried render function and also tried with metafile functions. Let me know if there are any functions available in VC++ which loads the image with high clarity  ...Show All

  • jbaites How to receive CListCtrl header notifications

    Visual Studio .NET 2003 & MFC. I want to receive HDN_ENDTRACK header notifications in my CListCtrl-derived object. So far, I have not had any luck. I've read some threads on the Internet that suggest that it's not so straight-forward. Note, the other header notification that I am catching (HDN_ENDDRAG and HDN_DIVIDERDBLCLICK) seem to work. Any suggestions would be appreciated. I was able to get this working on both VS 2005 and VS2003 ...Show All

  • ducksauce VS .Net 2005, how to disable intellisense...

    Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra Chandra - Does your solution contain C++ projects   That message on the bottom "updating intellisense" is not one that we commonly di ...Show All

  • RandyFriend Can I execute a command from a system string?

    Hello once more, this time I'm wondering if it's possible to execute a command line function from a system string... more specificly the the copy command (or if theirs another way to do this that works to.) What I'm trying to do is save a text file (well, inf, but same thing) to a directory the user chooses, my code is something like this: System::String^ fileName; fileName = System::String::Concat( "copy " , '"' ,System::Environment ...Show All

  • AaryanW MFC + /clr = linker errors

    I'm in the process of porting a legacy MFC app to .NET. I've got it building fine in whidbey without /clr. When I build with /clr, I get these linker errors: 1>stdafx.obj : error LNK2028: unresolved token (0A001EB7) "public: long __thiscall CWnd::SendMessage(unsigned int,unsigned int,long)" ( SendMessage@CWnd@@$$FQAEJIIJ@Z) referenced in function "protected: void __thiscall CGainSlider::OnLButtonUp(unsigned int,class CPoint)" ( OnLButtonUp@ ...Show All

  • SlashOwnsU Saving image failed 80004005

    I have a application using VC++ MFC, I can't save the file in the "Chinese Folder" and the PC used Chinese XP Window SP2. Thanks Nishant I have solve this problem, it is about the region setting. I using the Chinese XP, but setting "English" region, then, it raise the problem. And I haven't handle any ANSI code yet, so I will try using it to make the program improvement. lionbrian wrote: I have a ap ...Show All

181920212223242526272829303132333435

©2008 Software Development Network

powered by phorum