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

Software Development Network >> Visual C++

Visual C++

New Question

Getting a C++ Compiler without an IDE
Help finding a Compiler Version
To increase memory size for my program
COM Differences to VC6
capturing command line parameters in a windows app
MFC + /clr = linker errors
Adding a property to a class, help please!...
VS .Net 2005, how to disable intellisense...
crash problem with release build (vc7.1)
Changing the dll's load address

Top Answerers

Mach1
DPalacino
rickywong
Kodo
Anujpathania
geometrikal
Hans-Gustav
natwdw1
sambar
Kea
Accuracer Database System
Only Title

Answer Questions

  • Bodef 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, I don't follow. All standard unsafe functions as memcpy()/strcpy()/etc. are still there. Developer can use them if (s)he wants. And yes, safe functions were added after lot of customers requested them. It happened that almost every pr ...Show All

  • Carltegeder Making xdc files into html?

    It's good news that you can produce docs from C++ code. Once you have a few xdc files one can merge them together and get an xml file. Is it possible to make this file into html I recall from earlier versions of visual studio there was a way to generate some kind of code report in C#. Can you do that from commandline Thanks in advance. A web-search for "convert XML to HTML" gives a fair number of hits. ...Show All

  • Prasanth Menon Using MFC regular mixed mode dll (/clr) from a managed application with Visual Studio 2005 Beta 2

    Hello all, I am having problems using MFC within a managed application in Whidbey. What I try to do is the following: Writing a dll in C++/CLI that uses MFC. In this dll I implement managed wrapper classes around e.g. MFC dialog classes. Using these wrappers I want to display the dialogs in a managed application, written e.g. in C#. This used to work with Visual Studio 2003 and managed extensions for C++ but, but it doesn't with Whidbey. I used ...Show All

  • bsaucer1 installer

    I have made a little application in visual C++ 2005 beta 2, and I want to use it on other computers, where visual C++ isn't installed. how can I make an installer of my application The way it used to be done in previous versions of visual studio don't seem to be implemented anymore. You can use WIX ( http://sourceforge.net/projects/wix/ ).  It lets you author setup programs in XML and is relatively easy to ...Show All

  • vk_rajkumar '0' character oddity

    I'm working on a Poker game for a class project and I've come across an unexpected behavior of the '0' character. One I know it might be better to use '1' but, I haven't, up to this point anyway. I'm just wonder if anyone could explain to me why this code is actually working. It confounds me. Is it a bug I'm trying to sort a hand of Card objects, implemented as such: struct Hand { const static int COUNT = 5; Cards cards[COUNT]; ... } ...Show All

  • Nikos Giannakas Console application to MFC application

    Hello all, I have some older C++ code that runs in a windows console and that I would like to make into an MFC windows application. Are there any wizards that would help with the export in VS.NET I know I can open an MFC new app and copy paste the code, but if there's a wizard to do it then why not Thanks. NF I don't believe that there is a wizard that does that for you currently. Feel free to log such suggest ...Show All

  • manojamin Where is CWnd::CreateControl ?

    Hi, I am investigating if MSVC 8 provides a viable upgrade path for us. I have ported my MSVC 6 applications to MSVC 8 and have gotten all my libraries to compile. However, every application that uses an ActiveX control generates a linker error regarding CWnd::CreateControl. But my other MFC based applications link and apparently run correctly. What gives Moving to the c++ ...Show All

  • Tukkkko compiler error while converting vs c++6 project to vs c++ 2005 ... error C2065: 'DWORD_PTR' : undeclared identifier

    After converting my c++6 solution into c++8, i got these errors from visual studio header files... Somebody knows how i could fix it Here's a list of what's been done : Output Window Compiling... StdAfx.cpp c:\program files (x86)\microsoft visual studio 8\vc\atlmfc\include\afxv_w32.h(228) : error C2065: 'DWORD_PTR' : undeclared identifier c:\program files (x86)\microsoft visual studio 8\vc\atlmfc\include\ ...Show All

  • jlc72 Flicker on custom draw control (ocx) after enabling XP Manifest

    Hello, I've developed an OCX using Visual Studio 6 and MFC; this OCX subclasses the standard Button class and performs custom drawing of its surface and has been working without problems since 1998... If I add the control to a MFC application, developed using VS.NET 2005 with VC++ and MFC, I can see that the control flickers when the mouse rolls over the button surface (internally I call the COleControl::InvalidateControl MFC function) in order ...Show All

  • DanielTS Registering ATL Simple control

    I am using the July CTP. I am building a test ATL control, so very simple. It seems that to register the control I have to have built a manifest. If I turn off manifest contruction then the registration fails with error PRJ0050:  Failed to register output, check security.... Attempting to use regsvr32 produces error 0x80070716 - specified respource name cannot be found in the image file I think this is something to do with the new registra ...Show All

  • Gkeramidas How to Get the System Names

    Hello EveryBoby, Could any body tell me how to get the system's name that are connected to my system in a LAN. Like NetWork explorer. I am very thank full, if you give me the name of url or books that contains this matter. Thanks in advance. Shaji Kumar wrote: Hello EveryBoby, Could any body tell me how to get the system's name that are connected to my system in a LAN. Like NetWork explorer. I am very thank full, ...Show All

  • lukemelia Program runs slower when compiled with Visual Studio 2005 (in Release with optimization)

    Hey, I have a performance problem with the new Visual Studio 2005. My code (which is a genetic algorithm) is 3 times slower when compiled under Visual Studio 2005 compared to when I was compiling it under Visual Studio 2003. With Visual Studio 2003, it used to run in 3.0639 seconds, and now it runs in 9.0031 seconds. I run both code in Release. I tried every optimization option, and adding the /D_SECURE_SCL=0 compiler command to the project opti ...Show All

  • alsanal _chsizei64????

    I was wondering if the function _chsizei64 exists on win32 like the ftruncate64 on linux. Is there any alternative besides recompiling the crt Hi, I assume you mean _chsize() CRT function. It takes 32 value. In VS2005 there is _chsize_s() that takes 64bit size. Works on both x64 and IA64. Thanks, Nikola VC++ thank you for the help. Because i was using VC2003 i had to use a alternative but with the new ve ...Show All

  • nziese Visual Studio 2005 MFC Applications on Windows 98

    Hi, I am tring to build a unicode app to work on win 98/nt/xp. Built a sample MFC application in Visual Studio 2005 Team suite Beta 2. A unicode dialog app with a button. When run on windows 98 it shows this message.  Installed VCredist_x86 and .NET framework 2.0 latest versions downloaded from web. Also coped mfc80u.dll to the exe folder. Microsoft Visual C++ RuntimeLibrary Runtime Error! This application has requested the runtime to te ...Show All

  • Malcatrazz 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

789101112131415161718192021222324

©2008 Software Development Network

powered by phorum