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

Software Development Network >> Visual C++

Visual C++

New Question

Cannot copy Visual C++ items within the same project?
MessageBox memory leak/corruption problem
warning C4013
Mixed Mode EXE
Project Build Error PRJ0003 "error spawning cl.exe"
Do Windows 2000 and 2003 block direct acces to serial port?
using a textbox from a 2nd Windows form
Can't override ToString().
Toolbar and Menu background colour
Does anybody have any experience with genetic algorithms, specifically GENESIS?

Top Answerers

seva04121973
Ofer Mozes
Chris Tao [MSFT]
JeffGoneMad
Daniel Reis
CRChambers
v0lcan0
Basils
cashinde
dangster_gangster
Foboz
Only Title

Answer Questions

  • KevinUT Form Closes without this->close() being called

    I have a form and when I click a button, the form closes even though I never call the close() function. The code is below: if(group) { tree->Nodes->Add(textBox1->Text); } else { tree->Nodes[gIndex]->Nodes->Add(textBox1->Text); } textBox1->Clear(); textBox1->Focus(); that is all my button_click even does yet my form closes after the execution...why ...Show All

  • Patrik Schneider FtpGetFile status process

    I use FtpGetFile to get a file from a ftp server and I want to out put how many percent the process complete. I do not know how to get the status. Any one have a sample code will be very appreciated. I don't know - read the link. how to use the InternetSetStatusCallback function thanks. http://msdn.microsoft.com/library/default.asp url=/library/en-us/wininet/wininet/inte ...Show All

  • Paul Becker MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup

    Hi Justin! i am completely new to this and have to learn the language fairly rapidly, got myself a decent book, but when i try and compile a simple hello world program i get the error:      Linking...    MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup    Debug\dont know.exe : fatal error LN ...Show All

  • Balram19696 Converting between array sorts

    Apologies if this is a daft question cant seem to find much documentation on MSDN about this. I would like to take all CStrings out of my CStringArray and put them into a "SAFEARRAY". But I am struggling this is what i have so far: void convert_between_array_types(CStringArray &str_array, VARIANT &pVariant) { SAFEARRAYBOUND safeBound[1]; safeBound->cElements = str_array.GetSize(); saf ...Show All

  • Matthew Weyland _CRT_SECURE_NO_DEPRECATE has no effect

    MSDN clearly states that if you define _CRT_SECURE_NO_DEPRECATE it "will disable deprecation warnings". I tried adding _CRT_SECURE_NO_DEPRECATE to the Preprocessor Definitions and #define _CRT_SECURE_NO_DEPRECATE to the code. In both cases I still get a C4996 warning from every single strcpy call. The only way to disable the warning, as far as I can tell, is to use #pragma warning (disable:4996) or add the warning to the C/C++ settings (Ad ...Show All

  • helper MessageBox memory leak/corruption problem

    I have a main thread that displays a message box using CDialog's MessageBox function. And there's another thread that exits the application. Termination of the MessageBox (without the user pressing "OK") is corrupting memory or causing memory leaks. In debug mode it says "user breakpoint is reached in code .. ". Is there a simple way to close the messagebox before terminating the application so that there won't be ...Show All

  • nelson br DWORD_PTR

    I checked and tried what you both said. The declaration of windows.h was ok. I tried to compile the simple app with only a declaration of a DWORD_PTR #include <windows.h> int main( int argc, char **argv) { DWORD_PTR i; return(0); } Here's the errors (i disabled the precompiled option (/p) for this list) Thanks again Output Window Compiling... StdAfx.cpp Note: including fi ...Show All

  • Laura Cavanagh Using COM Interfaces THIS pointer Question

    Sorry about the incredibly stupid title, anyway, here's my question. I have been exploring Direct3D for a while now, and I noticed when debugging that the THIS pointer is pushed onto the stack instead of passed through the ECX register. g_pd3dDevice->EndScene(); mov         eax,dword ptr [g_pd3dDevice (4095E4h)] // get THIS pointer mov         ecx,dword ptr [eax] ...Show All

  • duck123 string

    in VC++ .net 2003 i declarete String with this command String *var; and in VC++.net 2005 I believe in VC++ 2005 the new syntax is String ^var . For more details, please see http://msdn2.microsoft.com/library/ezh7k8d5(en-us,vs.80).aspx I would also recommend these links regarding the new syntax: http://msdn2.microsoft.com/library/b23b94s7(en-us,vs.80).aspx http://msdn2.microsoft.com/library/xey702bw(en-us,vs.80).aspx Thanks,   Aym ...Show All

  • Hussein import 3rd-party DLL

    I know that there are many threads about DLLs already, but they all cover the case that you want to import a dll you created yourself first. I'm trying to get the sqlite3.dll working with my programm. This is my code: #define sQliteDLL __declspec( dllimport ) int feedBack; sQliteDLL typedef struct sqlite3 sqlite3; sQliteDLL int sqlite3_open(const char* filename, sqlite3 **ppDb); sqlite3 *db; feedBack = sqlite3_open ("test.db",&db) ...Show All

  • coolash ListView Control displays blank images

    Using VS 2005, I have a ListView control in an ATL dialog. I am creating a image list and trying to use it for both header images and item images in the ListView control. I am doing this in the InitDialog function. When the dialog is displayed I see spaces where the images are suppose to be but they are all blank. If I use the image list to draw a icon I do see the expected image. The code in brief to set an image in the header (from my Init ...Show All

  • mr.dumbass "Waiting for an internal operation... please contact Microsoft"

    I am using Visual Studio 2005, C++. When I'm debugging, very often VS hangs and sometimes it pops up with the balloon text saying that it is "waiting for an internal operation to finish". If it occours regularily, I should contact Microsoft. Who should I contact And with what informations I can't say what is causing the delay. I am very tired of waiting for VS to finish its internal operations. Kind regards, Chau ...Show All

  • cicorias stdafx.h(15) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory

    Created in VS6 Tried to compile in VS2005 Express and got the above error. Installed the latest Platform SDK which contains afxwin.h, but get the same error. Here is the code: // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if ! defined (AFX_STDAFX_H__38F261C7_B9D0_11D1_94AA_444553540000__INCLUDED_) #define AFX_STDAFX_H__3 ...Show All

  • Stein LNK2005 error with ATL function pointer defined twice in project

    Hello, I'm getting the following error on my computer with the latest VS 2005 Team Suite installed (8.0.50727.42): Error 1 error LNK2005: "unsigned int (__stdcall* ATL::g_pfnGetThreadACP)(void)" ( g_pfnGetThreadACP@ATL@@3P6GIXZA ) already defined in workflowud.lib(XMLExtendedContext.obj) atlsd.lib  This is a C++ DLL which compiles and links fine on another computer. When I copy the library files over from out build computer ...Show All

  • TimothyChenAllen Any information the axLEDMeter Control?

    I would like to use an LED style VU (Volume Unit) meter in my audio C++ .NET app. I have found the axLEDMeter control under the COM tab of the Tools->Choose Toolbox Items dialog. I cannot find any documentation either in the VC++ (2005 Express Edition) or on MSDN. Does anyone know how to use this control (with code examples) Thanks. David The only LEDMeter control I know of is in fact installed ...Show All

747576777879808182838485868788899091

©2008 Software Development Network

powered by phorum