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

Software Development Network >> Visual C++

Visual C++

New Question

.NET Framework - why does my program require it?
.Net 2003 compile problem (New to 2003)
CString m_pchData undeclared in new VC++
arrays with changing values
error C2061 when compilling
Add forms at run time in VC++
Returning a string from unmanaged to managed code
srand
Wrapper C++/cli class
noob programmer questions:)

Top Answerers

kiwimitch
Redskin9
Jialiang Ge - MSFT
Shane Dixon
gunning
grantdi
Rony
gerrod
FrankEvans
rotest
ASERT
Only Title

Answer Questions

  • john blamey mysql.h

    I was working with a book that talked about using mysql.h but did not find the file with the Visual Studio .NET package.  Google searches have proved unsuccessful.  Where would I be able to get this file I don't think you will be able to get that file in your VS installation. However, Google search for that header file returns tons of sites. At least you can try http://www.alhem.net/project/mysql/ . ...Show All

  • Acid Cool Problem of struct default constructor in vc++2005 beta1

    wrote in message news:fedcfa42-4dde-47fc-ae43-27b15b6f3d7c@discussions.microsoft.com... 3512.1 I made a default constructor for a struct as below. But this caused a compliation error in vc++ 2005: --------------------------------------------------------------------- Error 1 error C3417: 'Point :: Point' : value types cannot contain user-defined special member functions --------------------------------------------------- ...Show All

  • Dale57 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 Norton WinDoctor is a Symantec product. From my ex ...Show All

  • Dmitry Vasilevsky MSFT Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."

    I have recently install VS 2005 Pro and I cannot get breakpoints to work properly in my C++ Win32 application. After compiling for Debug and placing a breakpoint, when I run my program the breakpoint indicator becomes a hollow circle with an exclamation point and I see the above message when I hover over it. This makes no sense to me because I have verified the following: 1. Yes, I have compiled for Debug. 2. Output for my program indic ...Show All

  • Peter Scott project creation failed...

    I can't seem to be able to create a new project in VC++ (latest Vs2005). I get the following message "Class doesn't support automation". I only have this problem in C++. All other languages seem to work ( not really helpful to me since i only use C++) I can load existing projects and add/edit classes and resources. I have tried repair, total uninstall and re-install. Nothing fixed the problem. Visual studio was installed on a ...Show All

  • jbuysrog AtlTraceVA

    I'm hitting a runtime error in my debug builds.  I've traced it down to AtlTraceVA (atldebugapi.cpp).  It looks like a buffer overflow.  Here's a code snipet void __cdecl AtlTraceVA(DWORD_PTR dwModule, const char *pszFileName, int nLine, DWORD_PTR dwCategory, UINT nLevel, const CHAR *pszFormat, va_list ptr) { ... static const int nCount = 1024; CHAR szBuf[nCount] = { '\0' }; ... } Shouldn't be CHAR szBuf[ ...Show All

  • Yenen Zipping in VC++

    how to zip a file and add that to the existing zip file say for example am zipping a file (name.txt) and its name is name.zip after zipping, now i need to zip another file (file.txt) and this file.txt shold be zipped and should be placed inside name.zip. altogether there should be 2 file inside the name zip file. howto do it i have done zipping but dont know how to add the next file in the existing zip file. NOTE: i need to zip a file ...Show All

  • Stephen Rakonza MSFT How to handle CString in COM Interop

    Hi, I have a C# dll which has functions: public string a() { string aa; . . return aa; } public void b() { } and a wrapper header created by system when I added MFC type library of C# dll into unmanaged c++ has: CString a() { CString result; InvokeHelper(0x60020005, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL); return result; } Now I am trying to get return value of a() and convert to char *, but follo ...Show All

  • Ouster Problem Adding a Class

    Hi - I am using Visual C++ .NET 2003 and am having a problem using the Add Class feature of the Solution Explorer. I am seeing a message box appear with the following message: "Failed to return new code element. Possibly syntax error. New Element name: XXX" The steps to reproduce this error are: 1. Load my Solution 2. Right click a project in the Solution Explorer 3. Select Add->Add Class 4. In the dialog select the Generic class type. This ...Show All

  • Vivek S FindWindow() not finding anything

    I'm using FindWindow() in VisualC++ inside a thread before I do a PostMessage() from the thread to the parent window. But, the debugger indicates FindWindow() is not "finding" anything, so the message handler in the parent is never being called. This logic appears in the thread: static char* xxx = "CMh53View"; // HWND zzz = FindWindow(xxx, NULL); // this doesn't work either HWND zzz = ::FindWindow(xxx, NULL); I define ...Show All

  • Ruslan Inozemtsev my win32 api app build in studio 2005 couldnt run in other computer..

    i created a new project with: File >> New >> Project >> Visual C++ >> Win32 Project (Empty project).. ... ... build succeeded and run properly. but when i copy it to my friend's computer and try to run it,. there is errors,. app couldnt be run. and says that there may be some configuration problem with the app. plx help You need to copy the dependencies on the other machine. See Nikola' ...Show All

  • Tony Castagno Writing to Notepad

    I am looking for some code to write to notepad. This is a rough example: #include <windows.h> #include <stdio.h> void TypeAndSendToNotepad() { char szBuffer[256]; HWND hwndNotepad; HWND hwndEdit; gets(szBuffer); hwndNotepad = FindWindow("Notepad", (LPCTSTR)NULL); if(!hwndNotepad) return; hwndEdit = FindWindowEx(hwndNotepad, (HWND)NULL, "Edit", (LPCTSTR)NULL); ...Show All

  • MESSA Visual C++ 2005- class view may lost some classes when those class's header file contains some inline functions.

    There is a project ported from VC2003, have many classes/structs, and many of them was packed into a namespace, like this: #ifndef STDTYPE_7C974E45_BE4E_4d85_A64C_7A9232D0CA2D #define STDTYPE_7C974E45_BE4E_4d85_A64C_7A9232D0CA2D #include <xmlserialize.h> #include <atlsafe.h> #include <Lzari.h> #include <error.h> namespace XmlPackages {  // 构化 据包 构  struct TPackageStruct : public XmlSerializeable::I ...Show All

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

  • Glenn Wilson STL map usage in Visual C++.NET 2003

    Hello! Currently I am working with the project, which is using both Managed and Unmanaged C++. The problem is as following: when I make a call to stl::map find I receive an exception System.NullReferenceExceptionand application crashes. Do I have to use some special flags in my project This project is a DLL. All other STL classes are working fine - std::string, std::vector, etc. Thanks H ...Show All

596061626364656667686970717273747576

©2008 Software Development Network

powered by phorum