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

Software Development Network >> Visual C++

Visual C++

New Question

How Do I? Compile VS6 C++ projects from the command line.
Error including queue.h
formview and dialog create fail after some time
First painful steps with VC++ Express 2005 Beta 2 and DirectX9
making an .exe file VC++
Convert double to char
msvcr80.dll Problem
Negtive zero valid?
"System" namespace missing?
EnumPrinters in Service doesn't work

Top Answerers

Sylvain Bougnoux
Mutt10R
Ken Hizer
Master Cola
JoseMiguel
Corrupt65805
Oliwa
Refresher
jkolodziejski
Iulian Popescu
RDS Software
Only Title

Answer Questions

  • Morg Inherited Project settings

    I converted VC6 project to VS 2005 and converted it as unicode and static MFC dll. I was not able to use /MT & /MTd since _AFXDLL is defined. I did #undef _AFXDLL in stdafx and I am able to build the project.   Later I found out that _AFXDLL is in proprocessor and in Inherited settings, there was no option just to remove that def. So I removed inherited properties using the check box, but is removing the existing setting in prepro ...Show All

  • UNet Live Source Browsing does not work in comments

    Hi, I am writing this comment in response to the article "Live Source Browsing in Visual C++" by Boris Jabes and Ameya Limaye, which explains the advantages of the new browser mechanism in VC++ 2005. In my experience, however, the browser feature was practically broken in VC++ 2005. Now F12 button (as well as other browser related commands) do not work neither in comments nor in blocks disabled by #ifdef nor in Build Output window. I n ...Show All

  • John G. Yu Program is Running TOO fast while debugging

    I am using visual studio.net 2003 and when I want to test some code that I have written, I save my changes and press the start button and my command prompt comes up to display my program.  My problem is that the command prompt comes up and waits a few seconds then displays my output for a second and then closes.  Can someone guild me in the right direction and tell me how can I slow my output down   I can not even see if my progra ...Show All

  • thukralz vector<bool>::iterator problem

    I have a function which starts with the following: bool CPrng::Seed() { // Used for recording succeses vector< bool > BoolVector; vector< bool >::iterator it; ... The code works fine under gcc and VC6 + VC.NET 2003 but in Whidbey Beta2 it gives: C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\vector(1358) : error  C2664: 'std::_Vector_const_iterator<_Ty,_Alloc>::_Vector_const_iterator(const s td::_Vect ...Show All

  • Sourav Parida COM suggestion

    So I have my nice object hierarchy , derived from a common base object , say TObject. The code is pure c++ and should remain in that way for compatibility. I mean, no WINDOWS or MFC/ATL types. Now, I need to write a COM wrapper to access that framework from VB. I will use Attributes with ATL and link the DLL of the framework. Anyway , since I'm new to COM programming I ask you some hints. For what I've understood until now, each class will requi ...Show All

  • cis_student Frequent IDE freezing

    When working on a large C++ project the IDE frequently (approx once every half hour) freezes. It's been doing it since I started working on it when it was released, but I was never able to find a specific cause that triggers the problem but it seems to be related to browse information and/or intellisense. It happens more frequently when editing .h files that are #included by a large number of source files. The IDE freezes, the cpu stay ...Show All

  • dover1 Button

    How would you make a text box say something from clicking on a button I've tried text_box1 = (((text_box2 * 9)/5)+32); But it didn't work. Why Sorry but give us more infos. What I can see is a calculation and variables that seams to be text boxes in a form. If you want to set the contents of a text box use the text property (text_box_1.text). If you want to calculate Celsius to Fahrenheit, you have to read the contents of text_box2 agai ...Show All

  • diaplayname1 ActiveX Control in a Scripting Environment

    I'm trying to build an ActiveX control to expose properties and methods to a JavaScript environment under Internet Explorer.  Despite having studied COM basics and am going through a tutorial on building ActiveX controls under Visual Studio version 5, I'm having an awefully hard time making this work.  I believe there MAY be something left out of my list of what is done that causes (for instance) a property to be exposed (assignable an ...Show All

  • seigo SQLGetData function

    Hello, I am using SQLGetData function as below. SQLLEN size; rv= SQLColAttribute ( hstmt, paramNum, SQL_DESC_LENGTH, NULL, 0, NULL, &size); auto_ptr<wchar_t> buf(new wchar_t[size]); strLen = SQL_NTS; rv= SQLGetData(hstmt, paramNum, SQL_C_WCHAR, buf.get(), size, &strLen); The size of the related field is 32 byte and ...Show All

  • Canes86 Derived Hashtable Problems

    Hi - I have created a class that derives from Hashtable whose items are arraylists, creating a multimap of sorts for which I can iterate through all the items of the same key. I have overwritten the set_Item property method so that adding an item always places it in the arraylist for the given key. I am having trouble with the get_Item method though. If I don't define the get_Item method than I get a compiler error when I try to use it, e ...Show All

  • Mickey G Microsoft.VC80.MFCLOC errors

    I get the following SidebySIde error upon start up of my app: Event Type: Error Event Source: SideBySide Event Category: None Event ID: 59 Date: 11/23/2005 Time: 1:44:24 PM User: N/A Computer: VMXP Description: Resolve Partial Assembly failed for Microsoft.VC80.MFCLOC. Reference error message: The referenced assembly is not installed on your system. How do I fix this error Please help. Note, the app runs, but there are a tota ...Show All

  • Mark Jo Child dialog of a dialog app - why won't focus pass and why are they not talking??

       This is so simple yet is driving me crazy. All I want to do is to open a child dialog from within a dialog based app, enter some figures into the child, total them and pass the total back to the parent dialog. I can get the child dialog to appear, but can't get it to total or pass back to the parent. Any help would be much appreciated....... Apologies to mod if this is not the correct place to post.... ...Show All

  • Tianlei Help with if/for statements

    Hi, In the modification of my genetic algorithm that I have been working on, I need to specify an evaluation function. My evaluation function so far is shown below but this is a very simplistic version and I need to develop it. Currently this evaluation function will read in a value of vect that corresponds to a current recorded by a mass spectrometer and calculate a "sum" that will record the fitness of a system for a given spec ...Show All

  • mahenj Help, critical section doesn't seem to work

    Is is the right way to use critical section --------------------------------------------------------------------------- void main() { CRITICAL_SECTION testsection; InitializeCriticalSection(&testsection); .... } void Thread() { EnterCriticalSection(&testsection); .... LeaveCriticalSection(&testsection); } ---------------------------------------------------------------------------- For some reason it is not blocking before the en ...Show All

  • Tahereh farrokhi Lost VC++ 2002 CDROM, need replacement - Where to get?

    Hello,   I have lost a required disk to install VC++ 2002.  I forget the name of the disk, it is some type of support or prerequisite disk.  Does anyone know a number I could call at MS to order a replacement, some place that would have a list of all the disks that came with VC++ 2002 I still have my serial number.  All I need is this one stupid disk.  If anyone would be so nice as to offer to send me a copy I t ...Show All

192021222324252627282930313233343536

©2008 Software Development Network

powered by phorum