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

Software Development Network >> Visual C++

Visual C++

New Question

help Any assistant for VC 2005
could you tell me the result of this code?
Problem using argv in main
On adjacent ">"s in a parameterized declaration
Use Native COM Servers with CRCWs ??
Compile time error for size parameter in templates
CArray and typedef
LPCTSTR in VC++ 2005
msvcr80.dll Problem
AssemblyInfo.cpp

Top Answerers

vsvinuraj
boris_skarbo
oh_Genry
Ubuntulover
Rakesh_24
Eric Gilbertson
moria
Lance DH
Laquesis
cabby
DrawTag
Only Title

Answer Questions

  • Dya Clean Build Fails -- Close, Restart, Build Succeeds

    We are experiencing problems getting our nightly clean builds to work. We have a C++/CLI project that includes multiple references to COM objects. All those COM objects are build as part of the larger solution. Dependencies are set properly. When a build is performed in an environment where there has not been a build before, that project fails to build. After the failure, if you look at the references in the C++/CLI project, one of the COM libra ...Show All

  • Hakim from Constantine Debugger's Bug?

    I encountered a weird thing about debugging in Visual Studio 2005 Professional. You could try it in your VS. May be it is a bug. 1. Make sure the "Debug" toolbar is dragged out. All the operation is on it. 2. Set a breakpoint. 3. Start Debugging from the Debug toolbar, wait until reach the breakpoint. 4. Stop Debugging and immediately Start Debugging. After you stopped debugging, it will take about 1 second that the "Stop Debugging" becomes ...Show All

  • Loic Baumann Visual C++ 2005 express and PSDK instalation

    ( I use on-line translator ) I own installed of 2.0 Betta version.  I use with following rate: http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx But I stop on step third.  Problem beguile with editing of VCProjectEngine.dll.express.config file.  It looks presently so: < xml version="1.0" encoding="utf-8" > <VCPlatformConfigurationFile     Version="8.00"     ...Show All

  • marbanno Justification for forcing 'virtual' for overridden virtual functions

    Since C++ does not force a programmer to specify the 'virtual' keyword when overriding a virtual function in a base class, what was the justification for forcing not only 'virtual' but also an after the parameter list 'override' when overriding virtual functions of a base ref class or interface class. For normal C++ programmers this bifurcation from C++ seems both a PITA and absolutely unnecessary. There must have been some practical reason for ...Show All

  • David Travis Converting ByteArray to Char Array.

    Hi. I'm having some troubles when performing this conversion. In my C# code I read a image to memory, a TIFF, then I convert this to a ByteArray. After that I call a method from a managed class that I developed in C++/CLI, that receives a Byte Array and a int. On my managed method I need to call a unmanaged funtion from a C header file, and that functions receives a Char *. However, when I call the function the return is not waht ...Show All

  • Ivanaq Inheritance in enum

    I have a base class which uses a set values in an enum. I have a derived class which uses some additional values for the same enum. Is there any way to capture this relationship in a more concrete way I know that C++ doesnt provide any mechanism for inheritance among enums. What I want is that, in all places where base class enum is used, I want to be able to use the sub class enum. Thanks KarthikR Thanks cgraus. Ya I could us ...Show All

  • safetyglance Intellisense Problem

    Hello, I have yet another problem which is that Intellisense stops working. When my script reachs a certain legnth it just won't work anymore. Now it sometimes even doesn't work when I start new applications. (I am using Visual Studio 2005 June CTP). With Thanks,                     Gal Beniamini. There is nothing wrong with your code since ...Show All

  • ML0527 Exporting const static data members to dll

    Hello there, I am using VC++ 2003. I have a class somewhat like this: // C.h class __declspec(dllexport) C { public: const static float CVALUE; static void foo(); }; // C.cpp const static float C::CVALUE = 10.0f; void C::foo() { } When I attempt to call C::foo() from an external program using my dll everything is fine. When I attempt to access C::CVALUE I get a linker error like this: error LN ...Show All

  • Keldon Alleyne Header File Inclusion problem?

    Hi guys, Please take a look at this code. I have some problems, This is not the real code, but a sample. /************************************************/ //File:   SomeObject.h class CSomeObject:public CObject {       //.....code goes here } //End File //File:   SomeObject.cpp #include "someobject.h" CSomeObject::CSomeObject() {       //.....code g ...Show All

  • RobertMC VC++ project under VS.NET 2003 unable to query IDispatch

    Hello,    I am new to COM programming in VS.NET 2003, although experienced with COM in other environments.  I am just starting a new project and am hung on something rather basic.    I have a class that stores a reference to a dual interface.  This class has a property by which a client can obtain ther IDispatch interface.  Roughly, I want to:    CComPtr<IDualIntf>   m_DualIntf;   ...Show All

  • Frank ORourke print string from the enum pointer

    <sateesh@discussions.microsoft.com> wrote in message news:0970b29b-963f-4ac2-949f-a31e08b8f6e9@discussions.microsoft.com > I have the following piece of code: > > enum stats{STATE1, STATE2}; > stats *p1 = reinterpret_cast<stats *>(STATE2);   You take an enum value - essentially a small integer - and interpret it as a pointer, a memory address. How exactly is this supposed to be use ...Show All

  • MS MVP KenLin for VB.NET ATL: Add/Remove operation is impossible, because the code element....

    Hi! The problem with VS 2005 Beta 2. I create simple ATL project witout MFC. When interface was create I begin to add methods. But when name of method equal the name of API function (CreateFile, ResetPrinter, etc) VS don't create method and show message "Add/Remove operation is impossible, because the code element...." What's wrong Thank you for advance. Vladimir. Hi, You can find it in Microsoft feedback. Go t ...Show All

  • Walt-the-IT-Guy Copy contents of int to float

    I'm trying to copy the contents of an int variable into a float variable... In native code I could just do a memcpy, but I'm having trouble figuring out how to do it with the new .NET code in Visual Studio 2005. So for example, I have an integer value of: 1073741824 or 0x40000000 in hex, and I want it to copy it into a float variable thus having a value of 2.0. Basically I want to preserve the bits, but have the variable be a different type. I d ...Show All

  • chpe How to use CContaindWindow in ATL

    i want to make a control like ListView in ATL. i think i should create the control based on SysListView32. but CContainedWindow do not provide me any method to manipulate the CListCtrl, like the CListView do. so i can i add items into my control i find that CContainedWindow is actually a CContainedWindowT<CWindow>, could i simply override the typedef like: typedef CContainedWindowT<CListView> CContainedWindow i ...Show All

  • Sypher723 Reg free COM - Problem isolating COM reference

    hm, why was this moved to C++ Forum Common Language Runtime Hi Tom,  Try posting at http://msdn.microsoft.com/newsgroups/topic.aspx url=/MSDN-FILES/028/201/015/topic.xml  where you may find your answer on general COM issues. Thanks,   Ayman Shoukry   VC++ Team What forum was it originally in Thanks,   Ayman Shoukry   VC++ Team ...Show All

01234567891011121314151617

©2008 Software Development Network

powered by phorum