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

Software Development Network >> Visual C++

Visual C++

New Question

amstream.h
Project Build Error PRJ0003 "error spawning cl.exe"
windows.h not found...
msvcr80.dll not found
error C2065: 'GWL_USERDATA' : undeclared identifier
Where is CWnd::CreateControl ?
parse the login name
Using CWinFormsDialog
[ATL] does ATL has any collection tool lik CMap in MFC?
Negtive zero valid?

Top Answerers

Sans103171
Naras
ScriptKiddie101
Matt Maddin
Nyro
dc2k
Noah Falk
kc ppm
LMcFarlin
hrubesh
HotScripts.com
Only Title

Answer Questions

  • MrekM Performance impact of RTTI?

    I understand that turning on RTTI increases executable/dll sizes.  However, there is an ongoing debate as to whether turing RTTI on has an impact on performance due to other differences.  The basic argument is this: RTTI adds extra information (which means extra bytes) during a function call.  This, in turn, makes for missed cache hits because more information is going through the processor. I'm not really looking for a discussi ...Show All

  • 404 Joe Where VC++ finds header files

    Hi, when i put a header file at the beginning of a c++ application, like this: #include <windows.h> Have i to put also in the Header Files folder of my project   In case afirmative, where can i find the header files like "windows.h" Thanks   No: you do not have to add these header files to your project - all you have to do is to ensure that you tell the compiler where to fi ...Show All

  • Clint A Morgan Need Lots of help! please post here

    okay i got visual c++ and i'm on the way to learn about programming. My first question is how do i use it should i just read the help section until i get it please post some basic code samples so i can go one step foward. ( the sample code for showing -hello world- and etc.) My second question is how did you programmers get to a point where u did not need a lot of help please tell me what u did until u got there. it will be a very good example f ...Show All

  • balajikoturu MFC extension DLL project with /clr option causes link error on _DllMain

    I get link errors mfcs80ud.lib(dllmodul.obj) : error LNK2005: __pRawDllMain already defined in DllMain.obj mfcs80ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in DllMain.obj The project options are MFC extension DLL /clr option (except the source file with my DllMain implementation) UNICODE character set   Thanks for submitting report. I have seen it already in the database. A ...Show All

  • mattyo Converting String to char

    How can I convert a String object to char object. Notice that the String object belongs to String class (with S) and the char object belongs to char data type (with c). Thanks. Which String class do you mean   For the STL string implementation use c_str http://msdn.microsoft.com/library/en-us/vcstdlib/html/vclrf_string_basicstringcstr.asp For the MFC or ATL CString class use a cast http://msdn.microsoft.com/library/en-us/vcmfc98/html ...Show All

  • MBiere 'm_hWndLastControl' : is not a member of 'CDataExchange'

    hi, i am moving an existing project from VS 6.0 to VS 8. The m_hWndLastControl is removed from CDataExchange and instead we have UINT m_idLastControl. The below piece of code CDataExchange* pDX; pDX->m_hWndLastControl =GetSafeHwnd(); gives the following error in VS 8 error C2039: 'm_hWndLastControl' : is not a member of 'CDataExchange' Any workaround to update the m_idLastControl instead of the m_hWndLastControl   ...Show All

  • chuck.dickens [VS.NET 2003/C++] Treating enums as ints

    I have two C++ projects which both share a source file. The following code: enum MyEnum {     kFirstValue,     kSecondValue }; MyEnum myEnum = kFirstValue; myEnum += 1; compiles fine in one project. The other project gives the error, "error C2676: binary '+=' : 'MyEnum' does not define this operator or a conversion to a type acceptable to the predefined operator" So for some reason, one project is treating enums ...Show All

  • Scott Taylor dialog closing problem

    Hello friends, I made a DLL in VC++, WTL/ATL. this DLL attach a toolbar to the Internet Explorer window, when we start IExplorer. This toolbar contains menu items , on click of these menus, some dialog opens. Now problem is that, when i am going to close IExplorer window then it doesn't close. for closing it first i have to close the dialog window. Is there any way , so that i can close IExplorer without closing dialog, My dialog is modeless. M ...Show All

  • Fyyre referencing CEdit variable giving problems in events control

    hello everyone, Im having a strange problem, which everyone around me says its not possible but I am hung on it since few days now. I am using Visual C++ 6.0 version if that's of any help. I am creating an MFC application with document/view structure. I want to create en Edit (CEdit) box which can change it's size when the user fills up the box while filling in some data in it, and also whose contents can be extracted when the mouse reaches a ...Show All

  • MarcDeVegas Issue with spawnv (tried spawnl, spawnlp and spawnvp, too)

    Dear all: I ran into an odd behavior, and I wonder whether anyone has encountered it before and possibly knows a fix/workaround/correction. Rather than post lots of code right away, I will describe it first. The program is a .C source with a regular int main(). If I use spawnv directly with the no wait flag, the path/command and the arguments (not interested in the env part), it works nicely. However, if I try to put the same logic into a ...Show All

  • mmaas Problem compiling a program

    Hi all, recently i had to work on a program which was running ok on VC++ 6. Due to certain restrictions i only can work with visual studio 2005 express beta 2. When i tried to compile the program in VS 2005 express beta 2, i got these errors which never occurred in VC++ 6: Compiling... STDAFX.CPP Compiling... Database.cpp DatabaseMarpos.cpp DataCom.CPP DBMarpos.cpp EBlockEntry.cpp EBlockLabel.cpp EdcsSettings.cpp EDCSSetupDialog ...Show All

  • Jan Buskens pow(2,31)

    In Microsoft visual studio .net 2003 C++ it seems that pow(2,31) returns a negative number and pow(2.0,31.0) returns a positive number Is there a service pack that corrects this problem Thanks, Tom Thank you, I thought the web page http://www.codeguru.com/forum/printthread.php t=274639 was most informative. As far as it being a bug -- double result = pow(2,31); Produces on ...Show All

  • MattMorg Visual C 2005 more than 3 times slower than Visual C 2003 !

    While recompiling my cryptographic library under Visual C 2005, which implements exUSSR gost algorithm, I've found that optimization in 2005 almost absent at all ! here is result of benchmarks: P4-2.0 GHz: MSVC 2003: 33433 Kbytes/sec MSVC 2005: 8960 Kbytes/sec Ratio: 3.73 times slower! P4-3.4 GHz MSVC 2003: 48691 Kbytes/sec MSVC 2005: 11520 Kbytes/sec Ratio: 4.22 times slower! It even slower than MSVC 6.0 ! Code using 2003 compil ...Show All

  • Andrew Burton Compile error C2146 & C4430 when including DShow.h

    Hi all. Here is a description of my problem; I'm using Visual Studio 2005 Beta 2 to compile some C++ code taken from the book i'm working through at the moment, MSPress: Programming DirectShow for Digital Video and TV. I have narrowed the problem to being due to the '#include "DShow.h"' directive. A simple working hello world app fails to compile as soon as DShow.h is included.... The compile time error is the following; Error  &nbs ...Show All

  • noel 55 CGdiObject error C4482

    While compiling a project that 100% clean compiles under VC6, I am getting the following error: e:\program files\microsoft visual studio 8\vc\atlmfc\include\afxwin.h(259) : error C2248: 'CObject::operator =' : cannot access private member declared in class 'CObject' e:\program files\microsoft visual studio 8\vc\atlmfc\include\afx.h(540) : see declaration of 'CObject::operator =' e:\program files\microsoft visual studio 8\vc\atlmfc\include\afx ...Show All

555657585960616263646566676869707172

©2008 Software Development Network

powered by phorum