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

Software Development Network >> Visual C++

Visual C++

New Question

MFC Activex Control - Failed to create control: Unspecified error
Studio 2005 - No more images in toolbar and treectrl in Debug mode... (CImageList problem ?)
VC8 preprocessor problem
MFC CArray conversion sintax for MFC CAtlArray
Version in managed C++ 2005 DLL
Multiple Resource Files
Odd memory problem
ocx control's events in VC++.net
VS2005 debug CRT does not report file/line info for heap corruption
icon scale

Top Answerers

phokaia
toby1980
AndrewB
Pavan Kurimilla
Father.Ryobi
bauann
Belsen
mcorry
John Gordon - MSFT
dbeyer
Sweet Persist
Only Title

Answer Questions

  • Johanvdk VS2005 cannot add ATL Simple Object into a ATL Project?

    This is really weird and annoying me. In my VS2005 Team Edition for Developers(8.0.50727.42), I cannot add a ATL Simple Object into a ATL Project. The "Add Classs" dialog just show diabled name & Location. If I select "ATL Simple Object" and click "Add" button. It pops up a error dialog "ATL classes can only be added to MFC EXE and MFC Regular DLL projects or projects with full ATL support.". I don' ...Show All

  • youju01 Call to Windows Sockets 2 API causing delay

    Hi All, When I call getaddrinfo() and getnameinfo() Windows Sockets 2 APIs in my program, it causes a delay of few seconds. Any idea why the delay is occuring Thanks in advance, Praveen By mistake I posted this message in Windows Vista Development Windows Vista SDK Since this is a problem that I am facing in Win-XP, so I thougt of posting it in VC++ Forum. Thanks, Praveen ...Show All

  • IonGuy __PRETTY_FUNCTION__

    Hello, what is the equivalent to the macro __PRETTY_FUNCTION__ as it is defined for g++ thanks in advance, andreas namespace A { class A {   public: void Func(ostream &os) {...}; }; } VC++ has the following macros: __FUNCTION__: returns just the name of the function. For the above code that's A::A::Func. __FUNCDNAME__: returns the decorated name of the function. For the above code that's F ...Show All

  • Claus Emrich Using classes from dynamically linked DLL

    I am attempting to use classes that are defined in my custom written DLLs. I am dynamically loading the DLLs using LoadLibrary. I already know how to access functions using GetProcAddress. Is it possible to do something similar for classes No! You can not use class exports via this way with LoadLibrary. A simple approach is to create interfaces like COM interfaces and return only pointers to those interfac ...Show All

  • Murre Porting MFC application from VC++ 6.0 to VS8

    I'm porting an MFC app from VC6 to VS8, while I expect to got the same sources compiling to both VC6 and VS8, I've been successful until I face the following error in: BEGIN_MESSAGE_MAP(SkStatic, CStatic) //{{AFX_MSG_MAP(CSkinDlg) ON_WM_PAINT() ON_MESSAGE(WM_SETTEXT,OnSetText) //}}AFX_MSG_MAP END_MESSAGE_MAP() The ON_MESSAGE line causes a error C2440: 'static_cast' : cannot convert from 'void (__thiscall SkStatic::* ...Show All

  • smar Error C3845

    Hi,    I am having a problem declaring an array of a managed user defined class in a 'private ref class.' The error is, Error C3845: 'A::b': only static data members can be initialized a ref class or value type Example code for this is... public ref class B {    System::Int32^ i;    System::String^ s; } public ref class A {    cli:: array <B ^> ^ b= gcnew cli:: array <B ...Show All

  • OceanMASMJeff32 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 having the same problem, did you get a fix for thi ...Show All

  • Andrej Ruckij getting hello world program to compile

    Hi adtyerheryh! I made a new blank project (er... "solution") and created this source file in it: #include <stdio> int main () {  cout << "Hello World";  return 0; } When compiling it I got an error message saying stdafx.h was missing. When I included it I got a different error message. What am I missing Disable "Precompiled headers" in the project settings! "Project|Setting ...Show All

  • jarrodwee Multiple Resource Files

    Hello. I have been "told" that my app may need to operate in multiple languages. As far as I can tell this will need me to create another resource file, with all the same dialogs, menu's etc just with different languages. So "File" is something else in spanish. I realise that this is a labourous task etc. I was wondering where it is in Visual studio that you can specify to use a different .rc file As I understand it is a ...Show All

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

  • Zhang Mingquan Is it possible to code in regular C++?

    I'm a student and i got a trial edition of Visual Studio, My class is about C++ and my professor wants it coded that way, so i was wondering if there was a way to code regular C++ in this program. Use MinGW (minimalistic GNU for Windows). It's a gcc compiler which contains all the posix stuff as well as native windows API gear. It's free and it's good and you don't have to suffer a bloated GUI and you even get ...Show All

  • Dexter C2002: invalid wide-character constant after moving to July CTP of VS2005 Beta Team System Edtion

    The following code fragment from a header file compiled alright with Visual Studio 2005 Team System Edition Beta 2 (from DVD), but when I installed the July 2005 edition, I now get a compiler error: C2002: invalid wide-character constant Any sugestions as to what could be the problem   Thank you. -------------------------------------------------------------- #ifdef _DEBUG #pragma comment ( lib , _DNT( "AcGe17d.lib" ) ) &nb ...Show All

  • maheshbabui Intel MKL 7.2.1 in Visual Studio 2005 Beta 2

    I am unable to use a particular random number generator from the Intel MKL 7.2.1 library in Visual Studio 2005 Beta 2. If I use vsRngUniform I can compile, link, and run with no issues. If I use vsRngGaussian I get the following error messages during the build: 1>mkl_ia32.lib(vml_w7_errors.obj) : error LNK2019: unresolved external symbol __iob referenced in function __vmlStdErrorHandlerStderr 1>mkl_ia32.lib(vml_t7_errors.obj) : err ...Show All

  • Orcabelle To the VS IDE group

    In case this didn't come to your attention: When adding an existing file into a project (I use a test.sh file, for example), the dialog which pops to ask me if I want to create a custom build rule for this file, did not show(or show just the top edge) the buttons at the bottom. I was able to repro the issue using the Beta2 bits. I verified that it doesn't reproduce using the current (latest) VS2005 builds. All ...Show All

  • Anil Dhawan Visual C++ Express Edition missing header files

    Hi all, I have installed the Visual c++ express edition from microsoft home page for evaulation. By trying to complile a simple code I get the compiler mesage, that it cannot find file iostream.f and fstream.h etc. In fact the include directory of the insrallation does not have this files althought the respective c++ files are there. Therefore, are the files not installed intentionally by MS, did go something wrong or how can I fix the proble ...Show All

67891011121314151617181920212223

©2008 Software Development Network

powered by phorum