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

Software Development Network >> Visual C++

Visual C++

New Question

deallocating memory
Scroll limitation issue
LNK2019 Error FLTK
Need help circumventing compiler bug on C2665
Redrawing View
CFrameWnd::OnSetPreviewMode ASSERTs in VC 2005 but not VC 6.0
fetal error LNK1181
Export Redirecting w/ Mangling
Initializing an array of pointers to functions
What API to use to parse file names in a given directory

Top Answerers

Robertwang.tw
Briam
Chadwick Posey
rguez_18
alvi_du
shajahan
Ramaj
Rivaaj
wpf314
Mark Cann
Topix: Business News
Only Title

Answer Questions

  • TexW Help with setting up GDI+

    Hello, I am looking for assistance in setting up VC++ 6.0 or Visual Studio 2005 to use with GDI+.  I have both software but unsure which is best to develop GDI+ on. I have read through Christian's article on starting with GDI+ at the following URL: http://www.codeproject.com/vcpp/gdiplus/startinggdiplus.asp I also downloaded the appropriate GDI+ files from this article, rather than the full SDK: http://www.codeproject.com/vcpp/gdip ...Show All

  • dsoto illegal call of non-static member function??? how to bybass it? is it a compiler bug?

    look at this code #pragma once   namespace test { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; /// <summary> /// Summary for Form1 /// /// WARNING: If you change the name of this class, you will need to change the /// 'Reso ...Show All

  • Chuks Why is VC8 code much slower than VC7.1?

    I have built the code below using both MSVC 7.1 and 8.0 beta 2, using the command shown in the initial comment. When run on a 3GHz P4 with 1GB RAM, running XP SP2, the output is as follows:    VC7.1: Time = 62    VC8.0: Time = 110 Why does the 8.0 build take 1.77 times as long to run Thanks, Keith MacDonald ///////////////////////////////// // cl -Ox -EHsc -MT TimeTest.cpp #define WIN32_LEAN_AND_MEAN #include <window ...Show All

  • exo_duz CWnd::CreateControl fails with GetLastError = 14007

    I have a simple VC6.0 Dialog based app. Within the OnInitDialog() , I have some code which creates a Slider Control from the Windows Common Control Library : pMySlider = new CWnd(); CString str("MSComctlLib.Slider"); CLSID id; CLSIDFromString(str.AllocSysString(),&id); BOOL bres = pMySlider->CreateControl(id,"Slider",WS_VISIBLE,CRect(30,30,220,100), this ,5501); This works fine on VC6.0 However , when the above code is po ...Show All

  • H. Smith Optimization problem

    Our application crashes during execution a floating point instruction. It seems to be an incorrect optimization. When the method 'CLPController::StopPlaying' is called from the 'CLPController::SetLogTime', a floating point value is remaining on the top of the FPU stack: 00AC4575  call        CLPController::StopPlaying (0AC3090h) 00AC457A  fstp        qword ptr [es ...Show All

  • Randalin The New Visual Studio 2005 Beta 2

    I have Visual C++.NET Standard, and have used it to successfully build applications for quite some time, maybe a little over a year. I cannot get the Visual Studio 2005 to include .lib files necessary in my solution to compile Direct X Applications, anyone else think this is odd I hope so, I must be missing something, because the old version let me enter the directories for includes and libraries, this new one did not have that option   A ...Show All

  • tester9999 CComboBox default message handling?

    I made a CComboBox in resource editor and added list of items separated with semicolons. When I run the application, clicking on the combo box doesn't make list box drop down, but only one horizontal line appears under the combo. How do I make CComboBox respond to clicking by dropping a list of items Thank you very much! :) Trifles like this can stun me in place so now I'm free to go further! ...Show All

  • Giorgio Agrifoglio Calling C++ dll from C#

    I am trying to use a C++ dll in my C# application but unsuccessul. Here is what I have done: 1. The C++ code was developed using open BSD. 2. I made a C++ CLR dll using visual studio 2005 - "tc.dll" 3. In my C# application, I add the "tc.dll" as a reference from the solution explorer 4. I tried to instantiate the class of tc.dll using myClass mc = new myClass(); The C# program can not find the class at all. ...Show All

  • r2d2 Simple Simple COM

    Hi! I do all my programing stuff in c#.. but i need some plain C or C++ code sometimes.. and i need to interact classes made from C/C++ to C#. As i heared this is done with COM`s Can anyone show the simpliest COM made in C/C++.. that has a Class named Test and a method int Add(inta, int b); that return the sum of them.. Please make it simplie as possible.. coz i`m not really good at C/C++.. COM things.. you say that "a managed class ...Show All

  • Adamgaventa Internet Speed

    Hi how do i detect Internet Speed, which API should I use for this. Jangid wrote: Hi how do i detect Internet Speed, which API should I use for this. There's no specific API to do this. You could download a file from a known good server, and time the results. To get more accuracy, download files from multiple servers and take the mean. Janguid, this forum is for issues concerning the Visual C++ tools. For questions c ...Show All

  • levogiro VS 2005 cl "failed to initialize" in cygwin environment

    Hi, We are putting together a build script that has to be run from a cygwin environment. When the make file has to invoke CL (c++ compiler) it responds with "The application failed to initialize properly (0xc0150004)". For VS 2005 en the invoking script exports the following definitions: export DevEnvDir="C:\Program Files\Microsoft Visual Studio 8\Common7\IDE" export FrameworkDir="C:\WINNT\Microsoft.NET\Framewor ...Show All

  • Tony T. Here we go again... ><

    Maybe I'll get the same guy who helped me last time to help me again... I have the file built and everything. Now compiling gives me an error, saying the iostream.h file doesn't exist so I can't use the #include<iostream.h> that I thought was standard for every C++ program... So how do I get the #include<iostream.h> to work Thanks guys. On a related note... I found that right after I posted the not ...Show All

  • Sean_Kim Parallel port interfacing using Visual C++

    hi Can anyone help me that how can i interfaced parallel port by using VC++.what are the commands or functions are used 4 this purpose.Please send me any information about this.I have to interfaced DC motor control via parallel port using VC++ I will be very thankful to you. shorash_leo@hotmail.com   http://www.naughter.com/parallelport.html ...Show All

  • Myles R. #pragma unmanaged and _MANAGED macro

    We would like to use _MANAGED to determine if the code is compiled as native or managed code. Unfortunately, _MANAGED is always defined when /clr switch is used. #pragma unmanaged does not undef the macro. Is there any way to tell for sure that the code is being compiled as native or managed Thanks, Sean well, I understand now what you are trying to do. As far as I know there is no simple way around what ...Show All

  • Laurentiu Cristofor GDI+ Display JPG

    Hi all, I am new in Visual C++ and GDI+. I am currently using VC++ express to display a jpg file. I basically, copy from PSDK example and paste it on my program as follow: WM_paint: Image myImage(L"Climber.jpg"); myGraphics.DrawImage(&myImage, 10, 10); It didn't even compile. I am sure, I must have done something incorrectly or not doing something else in the first place. All other example I see in the internet ...Show All

212223242526272829303132333435363738

©2008 Software Development Network

powered by phorum