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

Software Development Network >> Visual C++

Visual C++

New Question

error C2065: 'NULL' : undeclared identifier
Lost VC++ 2002 CDROM, need replacement - Where to get?
Trouble with Visual C++
Writing MMC Snapin in Visual C++ 2005
Backgroundworker Component
managed dll (C#) call from unmanaged (win32) C++ project
changes of operator overloading in vc++2005
Linking error while using VS.NET2003
Different results by recompiling
using a vb6 dll in vc++?

Top Answerers

matrixo
PCHEEK
fly-007
mr hamed
anmar
bennierex
dh
C10
GregAbd
mofo7
FAQ zu MS
Only Title

Answer Questions

  • Mmondragon Mixxing c & C++ file for the same application

    So I have a .lib or a .dll that was written in C, and I want to call functions in this .lib or .dll from with a c++ appliction.... However, when I #include header.h (with appropriate declarations for all methods I want to call), VS 2005 seems to think that *EVERYTHING* I have done is now c++, and treatas the .dll or .lib as such... resulting in massive problems. Does anyone know how to make C++ play nice with C code Thanks! ...Show All

  • admoises Compiler bug?

    I get incorrect results when running this app built release. It should print "a=1, b=2" but in release it prints "a=1, b=1". Correct results is obtained if the  member function "function" is put into the cpp file so that the compiler can't inline it. Is this a known compiler bug I'm using  version 7.1.3088. (This is an artificial example to show the phenomenon) /Staffan main.h: #include <iostream> #include "test.h" using name ...Show All

  • sateesh Help on choosing the right product

    Hello, I'm facing the problem of choosing the right product for my developer's group, and I find myself somewhat confused. First of all I'd like to use a stable and tested product, not a beta one, so I excluded the upcoming 2005, because the Beta 2 version to which I gave a try presents a long list of bugs and annoyances at the moment, and there's too much uncertainty on its real final release date. So let's go ...Show All

  • jedediah2075 Adding a property to a class, help please!...

    Hello. Since Classwizard is gone from visual studio 2005, I cannot seem to figure out how to 'add a property'!...How can you do that Hope someone can help me out! thanks... wow..It has been a long time. Been busy and what not, just got around to coming back here...ok Brian, well as you know I'm using VS2005...I finally found teh "add property" option..in class view, but it was only for (in my project ...Show All

  • Anthony Borton CWinFormsView & ParentForm

    Hi, i have some problem using the CWinFormsView class. I have a MFC MainFrame, and i wanted to implement a .Net "view". Then i created a .Net UserControl : public ref class MyUserControl : public System::Windows::Forms::UserControl { ... } I used a CWinFormsView to insert my UserControl to my MFC MainFrame : class CNetFormView : public CWinFormsView { public:    CNetFormView::CNetFormView():CWinFormsView( MyUserControl:: ...Show All

  • MoonRiver000 DeviceIoControl does not work when query LCD brightness

    Hi, All I wrote a test program to get/set the LCD display brightness. I followed instructions on MSDN as http://msdn.microsoft.com/library/default.asp url=/library/en-us/power/base/ioctl_video_query_supported_brightness.asp but it seems that DeviceIoControl with IOCTL_VIDEO_QUERY_SUPPORTED_BRIGHTNESS always fails and GetLastError() reports error code 2: system can not find the file specified; If I call DeviceIoControl with IOCTL_VIDEO_QUERY_ ...Show All

  • Rajib UpdateData() for a CEdit object, not the entire Dialog

      Using VC++ 6 I have created an MFC exe Dialog project. On the Dialog are many CEdit edit boxes. I have no problem updating data for the entire dialog, but I want to updata for only certain edit boxes. The following code seems like it should work, but it doesn't; it just has no effect.  CEdit* myPoint;  myPoint=(CEdit*)GetDlgItem(IDC_EDIT2);  myPoint->UpdateData(); It doesn't matter if it is UpdateData(TRUE) or ...Show All

  • Brandon Paddock MS How do you get the Processor Serial Number in Visual C++?

    Any of you guys know how you get the Processor Serial Number in Visual C++ I found examples of how to do it in C# and VB using ManagementObject. But I can't seem to find a way to do it C++. Thanks for the help, Jeff Sholl Here's an article that's P-3 specific - some interesting code in there though. http://www.codeproject.com/system/PIIISN.asp Interestingly the MAC Address can be fak ...Show All

  • Gonzalingui unresolved external symbol __imp___CrtDbgReportW

    Im trying to build an open source package with VC++ 2005 Express. It uses Boost header files but no compiled Boost libraries. Using the VC soution file provided by the deveopers, I get an unresolved symbol error in several modules for "__imp___CrtDbgReportW". I've seen some old posts (not here) suggesting this is a Microsoft symbol, but MSDN has nothing on it. Does anyone know how to resolve this ...Show All

  • Thomas Holmgren CFileDialog.DoModal() Crashes When Hint box is about to appear.

    I have a strange crashing problem in an application developed on Visual Studio 2005 Standard Edition. The crash comes during a function call to CFileDialog.DoModal(). The problem seems to relate to the "hint" box that appears if you let the mouse pointer linger over a file. If the mouse pointer registers over a file with an unregistered file type, then a hint box appears indicating the file type (e.g. ".slg file"). You the ...Show All

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

  • jrx IOStream Bug on Visual Studio 2005 when open Chinese style file name's text file???

    Compiler tools: Visual C++ 2005 express edition os platform: windows xp professional with sp2 Reproduce step: 1.new an "Win32 Console Application" 2.paste the following code in "_tmain" function: ifstream InFile; InFile.open(" .txt", ios_base::in); if (!InFile.is_open()) { cout << "Can't Not open [" << " .txt" << "] File." << endl; } else { ...Show All

  • randywheeler Cannot find WINAPPC.H and WINCSV.H

    I am porting our application from VS6.0 to Visual Studio .Net 2003 in VC++. I do not find the following files in the installation on my machine in Visual Studio .Net 2003. "WINAPPC.H" and "WINCSV.H" Are those files not come with VS .Net 2003 If so, where can I find it Thank you very much. Those two files are part of the Pl ...Show All

  • Hong Zhang Can not add control based variable in Add Variable wizard

    I have a wierd problem. For some reason I am unable to add a member variable that is a control.. the check box is disabled when I click add variable. Some context here: I have a project that has a rc file included in the projects rc file. i.e. resource.h myprojectname.rc The commonresource.rc is included in the myprojectname.rc file. commonresource.h commonresource.rc Also the to prevent compliling the commonresource.rc we have ...Show All

  • WebAppsSupport Question about interface method and implementation

    Hi All, I'm trying the Visual Studio 2005 Beta 2, especially for C++/CLI implementation in VC++.  I was wondering if someone could please help me with a question that I have. Any suggestions would be greatly appreciated. I've defined an interface like this: public interface class IMyInterface {     void TryAndTry(); }; and a class implementing this interface ref class MyClass: IMyInterface { public:     void Tr ...Show All

626364656667686970717273747576777879

©2008 Software Development Network

powered by phorum