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

Software Development Network >> Visual C++

Visual C++

New Question

a multithread bug
determining application path in VS 8, C++ MFC
what is the difference between using RTTI AND CRuntimeClass?
setting compiler options programmatically.
windows.h macros interfering with .net names
VC++ MFC static library producing a link error
build errors in vc++
Migrating project from VC++ 6.0 to 8.0
preprocessor on the code
C1083: Cannot open include file: 'resource.h'

Top Answerers

Joy2u
Aspen Computer Services
Kaychoro
DJCheeky
msatmti
teppi
DND
mutex
Axel Schick
vista adventure
Linked Servers
Only Title

Answer Questions

  • Luke Zhang - MSFT LINK.EXE BUG: /OPT:NOREF option doesn't work!

    My program contains static objects whose constructors are supposed to run at the beginning of the program, but otherwise those variables are  unreferenced . The problem is, when I put these variables into a .lib file, they get completely optimized away and never appear in the resulting .exe! My understanding is that /opt:noref is supposed to cure this, however, it has absolutely no effect. I also tried __declspec(selectany) on the vars, al ...Show All

  • OldjohnK COM Tutorial?

    I need to create a COM object that will be multithreaded using Visual Studio 2003. Can anyone recommend and good tutorials on doing this I am attempting to follow this tutorial but I am stuck trying to add the new ATL object. The tutorial shows how to do this with Visual Studio 6, is there an add ATL option in Visual Studio 2003 There's a bunch of them at codeproject.com: do ...Show All

  • Imad Mohammed Registry editing

    I'm having trouble creating the code for a button to change a couple of registry keys. I've searched google for hours and hours now, but all the code I can find about registry editing doesn't work in my version (2005 beta 1). I can't even get the code from MSDN to work So my question is simple (I hope): Let's say I want that button to change the value from Username in the map HKEY_CURRENT_USER\Software\Blasoft\3dgame\ to Savarage, how woul ...Show All

  • manny hall A real challenge for you !! (Menu border)

    Can anyone suggest a way to display a popup menu that has no 3D borders and looks flat like a listbox   I have tried owner drawn menus but they only let you draw on the menu items and not the border.  I can't find an option to turn off the 3D effects for a menu. BTW, I need solution that doesnt use C++, MFC or any libs (only pure API) If you want draw the border by yourself: use WM_NCPAINT, WM_NCC ...Show All

  • CleverHans Auto increment build number

    Has that now (finally) become a feature in VS2005 Alternatively, does anyone know of a plugin that ups the build count in the project version resource by one everytime i hit build Thanks - Balt Hallo Konstantin, I'm not sure what you're referring to Do I need to create a version assembly I was talking about the version resource. Thanks - Balt What I mean is this attribute cla ...Show All

  • BikramS Very simple webserver code

    I am making a very simple webserver -it does not need to have any sort of cross-platform compliance, it simply needs to work with IE6.  I have the following code which is simply supposed to read in a web page stored on the disk and serve it to the client.  Code follows (I cannot figure out how to format the text.. it's ugly): void SendLogin ( int clientNum ){ ifstream file ( ".\\HTM\\login.htm" ); if ( file == NULL ) re ...Show All

  • Trish Fatal error when copiling my first program

    Ok, I'm just starting to learn C++ because I'm taking a class on Object-Oriented next semester and want to know the background info.  I'm trying to compile the source of a Hello World example I encountered in the tutorial I'm using, but it's not working.  The code is: #include <iostream.h> #include <stdafx.h> int main () {     cout << "Hello World";     return0; }   This (wit ...Show All

  • Ted Eiles How can I manipulate strings in ATL

    Some problems happened during my simple development on IE. When I try to use MessageBox to display one string, manipulated by"strcat", there is no error or warning during compiling. But when IE tries to invoke the DLL, MessageBox involved, the IE reports that there are some errors in my DLL. After removed "strcat", every thing is ok. I wonder whether perhaps the string manipulation is different from the ordinary ...Show All

  • Uriparan Problem to delete unmanaged object

    Hello, I would like to know why I'm unable to delete an unmanaged object : Here is the code : public ref class SpeGui : public System::Windows::Forms::Form { private : String^ m_sCompassPort; int m_nCompassBaudRate; int m_nCompassDataBits; int m_nCompassStopBits; int m_nCompassParity; int m_nCompassRefreshPeriod; int m_nCompassAccuracy; PI_DigitalCompass * m_pThCompass; MyCom ...Show All

  • Dawn Wood Getting started with a plain c++ program!!

    How do I just open and compile normal c program, without it being a "win32 console application" or any other fancy-shmancy stuff The simplest way through the IDE is to use an empty console application. You just need to choose "Console Application" and then click next. You will have different types of Console Applications, choose the empty one. This way you are free to add what ever simple code you want. Another option is to use ...Show All

  • AttilaSz 64-Bit Compile Error (language type must be specified)

    I am using the 64-bit version of the Visual C++ 7.1 libraries and build tools and I am receiving an error when compiling the assembly files which I have been unable to fix and am hoping that somebody will be able to tell me how to fix. The ML64.EXE compiler will not accept .586p or .model. I believe the language type needs to be in the PROC statement.           ml64.exe /c /Cx ".\asm\MD4_asm.asm" ...Show All

  • Carlos Enrique Figueroa msvcr80.dll Problem

    Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin Thanks much everyone for the feedback. Sounds to m ...Show All

  • catcyc VS 2005 B2 getting exe files to work on other computers

    When i try to run a file created by visual studio 2005 beta 2 on a computer other than the one i have visual studio 2005 on, i get an error message saying (translated from swedish into english): This program could not start because the programs configuration is wrong, the problem could be solved by reinstalling the program. on one computer (i think it was indows 2003 server) i solved it by copying msvcp80.dll, msvcp80d.dll, msvcr71.dll msvcr8 ...Show All

  • Erklarbar Is the VS 2005 CRTL compatible with Win95?

    We have received reports that the latest version of our application (compiled using VS 2005) crashes on Windows 95.  We have made some changes in our app, but nothing that we would expect to cause incompatibilites with Win95.  We installed a test PC with Win95, and sure enough the app crashes on startup.  Unfortunately, dbghelp.dll can't be loaded on Win95, so there's no possibility to make a minidump.  What to do   We a ...Show All

  • MichaelDeArmas aspell compilation problems

    Hi, I tried to post on the forum but it kept coming up with an internal error so i was wondering if you could help me with the following:I have recently been trying to compile aspell (a spell checker written in c and c++) in visual studio .NET (2003) which has taken forever but i managed to get it to compile a dll now. When i come to add this dll file into another project which will be using the methods from this dll it keeps giving ...Show All

181920212223242526272829303132333435

©2008 Software Development Network

powered by phorum