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

Software Development Network >> Visual C++

Visual C++

New Question

cl.exe executes differently on local resp. build machine
lnk 2019 error
Template ptr to funct error in VC 2005
Looking for a book: Creating .Net components with C++/CLI that wrap unmanaged code?
.Net 2005 Error during registration...
menu item grayed out
FormatMessage problem
Where is stl.net? Is it included in beta2? I can't seem to find it.
Vector: deque iterator not dereferencable
error occur when develop in Visual C++ 6 and compile in Visual Studio 2005

Top Answerers

Mijoal
Tuckerpup
tocyril
tlaedre
Jeff B.
Enry17
the user
Kynaeus
Vos
the beginner
Budgetext Corporation
Only Title

Answer Questions

  • DieZeL 2 dimentional arrays...

    Hi all, I need to do this: 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 Any idea Here is my code so far: #include<stdio.h> void main () { int n=5; int m=5; int arr[5][5]={0}; for (n=0;n<5;n++) { for (m=0;m<5;m++) { printf ("%d ",arr [m]); } printf ("\n"); } printf ("\n"); printf ("\n"); for (n=0;n<5;n++) { for (m=0;m<5;m++) { printf (" ...Show All

  • TallMike mkDir

    Is there a way to use _tmkdir to create an entire directory given a path For example, if I give C:\AA\BB\CC , then assuming AA, BB and CC do not exist, the function should create all of them. Thanks, KarthikR In this case as Nishant suggested, SHCreateDirectoryEx should do the job. I have unmarked my post since Nishant's one is more directed into the problem. Thanks, Ayman Shoukry VC++ Team From the help at http: ...Show All

  • CANARY_111 Mouse click and color

    I'm currently using Visual C++.net 2003 version. Let's say I've displayed a color spectrum pattern from a bitmap  file on a windows form. So, from left to right, the color  transitions from red to orange to yellow to green to blue to indigo to violet. Now let's say I need to be able to left click anywhere on that color spectrum and determine what the color (or Red-Green-Blue combination) is where I've clicked. What I mean i ...Show All

  • rex letor My Visual Studio does not load stdafx.h & stdafx.cpp in my project file

    Whenever I create project file it won't work because stdafx.h and stdafx.cpp files are not preloaded into the project file, how do I fix this problem You can set the use of precompiled headers in your project properties.  You can make it automatic, not happen at all, or happen only on files which have the #incude set ( so only some files use precompiled headers ). Yeah, I would agree, if for some reason you wanted to extend an ...Show All

  • Saranga Amarasinghe Improper assembly code generation for inlined method on Release|x64 for AMD64 on Visual Studio 2005

    The complete source code and .vcproj file are posted below. When the cometLocationType operator= is declared in the following manner: inline cometLocationType& operator=(const cometLocationType& point) When the value of ret1, is printed inside the main function, the value of mX and mY are both 0 when they should be 260. This is because inside the operator=, it falsely thinks that "this" and "&point" are equa ...Show All

  • kalkumar warning C4441: calling convention of '__stdcall ' ignored; '__clrcall ' used instead

    I have a .NET Class Library that is linking in a static library which has code callbacks defined with __stdcall. On compile I get the warning: warning C4441: calling convention of '__stdcall ' ignored; '__clrcall ' used instead How can I correct this is does it not matter The code that generates the warning jumps to mind. As well as the declaration of the callback function in the .lib ...Show All

  • Dave Wesst What do I need to include to make a Bitmap?

    I'm using VC++2005 and I'm trying to make and save a bitmap for debugging. The statement: Bitmap myBitmap: gives error C2065 'Bitmap' : Undeclared identifier What do I have to include to identify Bitmap as a class After I get that done, what will I have to do to get Format32bbpArgb recognized Thanks, Ken It sounds like you didn't create a CLR project. Best thing to do: create a new projec ...Show All

  • Perrin1234 CRect is weirdly designed...

    CRect  rect (1, 1, 4, 4); (1,1) being the (x,y) starting position of the rectangle (4,4) being its ending position. Quiz : what will return rect.Width() and rect.Height() 4 you bet No, it's 3 !!! How come a so simple object can be so weirdly designed Look at the following post for a good explanation: http://blogs.msdn.com/oldnewthing/archive/2004/02/18/75652.aspx Ronald Laeremans Visual C++ team ...Show All

  • Raichur C# array equivalent in C++/CLI

    Hi, I'm writing a C++/CLI wrapper for legacy C++ code such that it can be used from e.g. C#. The latter has built-in support for arrays, which even can be jagged. In order for my C++/CLI wrapper to accept these C# arrays (e.g. as member function parameter), I use the abstract System.Array class from which the C# arrays inherit. Is this "the" approach, or are there better approaches P.S. While the MSIL code generated by the C# ...Show All

  • John B. Adams error LNK2019: unresolved external symbol

    I am writing a C++ dialog based MFC application that will be communicating with devices on a IEEE 1394 network. As such, my application will need to identify all the interfaces on the PC. I am calling function such as SetupDiGetDeviceInterfaceDetail, SetupDiEnumDeviceInterface and SetupDiEnumDeviceInterfaces. My problem is that I have reused code that was written in Visual studio 2003. I am using Visual Studio 2005 and I get compiler/linker e ...Show All

  • Zmope Open a word file in Word using my application

    I'm a novice so please give me a break. I'm builduig a little MFC program for my little entreprise wich will open a word document on the clic of a button. I want want my program to open the word program wich will load my .doc file. How do I do that, i've search and all I can find is the CFile class::open wich does not help me at all. Thank you Eric You need to use ShellExecute. See http://www.c ...Show All

  • Chris Lovett Convert project from 2005 to 2003

    Hej friends, I want really use new VS 2005 but my friends and readers are using older version 2003 or 2001. I tried to find some way to convert project to older version but I cannot find it. Is there any way to convert projects backwards I heard somethink about conversion wizard to convert 2003 projects to 2005... Thanks for anything! You can convert projects to newer versions. I don't believe you can convert projects to older versions. W ...Show All

  • Duece Tips for speeding up debugging (stepping through code)?

    I've got one particular large C++ project that, in VC 2005, when stepping through code in the debugger, it takes approximately 2 seconds for each hit of the F10 key (i.e. each line of code) to be executed. I've tried many things to attempt to speed it up: disable intellisense, renaming feacp.dll, removing all additional output windows, watch, breakpoints, etc, removing navigation bar from text editor window, disabling anti-virus on the machine ...Show All

  • SebastiaanDijk Round Library Function

    Hello, Is there a 'round' library function in VC++ This function should be able to give results like the one below round(0.234,2) = 0.23 Thanks, Whizman I implemented a simple round function. There could be accuracy differences depending on the number of decimal places. The code is provided "AS-IS" the creator "I am", has no responsability of unexpected, unstable, malfunction and catastrophic res ...Show All

  • Maksim Build a console program for AMD Athlon 64 bit

    What complier and linker settings do I need I tried X64, but the linker choked on the first object I gave it.  How do I tell the compiler what to do Thanks, Hmm, that looks like it is using the 32 bit compiler. Go to configuration manager and make sure that the project is x64 because even though you could have set the entire solution to x64, you may have left the individual project set to win32. If not t ...Show All

666768697071727374757677787980818283

©2008 Software Development Network

powered by phorum