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

Software Development Network >> Visual C++

Visual C++

New Question

stl queue - why don't you work
OK, What is with the statements enclosed inside [] operator regarding threading?
allocating native pointer from managed clas
ATL::CStringT LNK2019 error in VS2003 proj
That "File XXX not found in current source file's directory or in build system paths"
msvcr80.dll Problem
Problem writing &
VC++ Directories - my entries ignored by compiler
Info about some types
Socket programming - Problem in function recv() when receive many big packets

Top Answerers

andryuha
Elfman
Peter G Lin
Tim Bederka
orangina
moonguy
Becker2
66cooper
karina42256
losdudechris
L'ensemble d'information
Only Title

Answer Questions

  • Naoto Honda [C++/CLI] Threading problem

    Alright, lets hope you guys know what i do wrong, virtual void SpeakAndWait(String^ Text){ if (!Voice1) Voice1 = gcnew SpVoice(); Voice1->Speak(Text, Flags); } virtual void Speak(String^ Text){ i f (!Voice1) Voice1 = gcnew SpVoice(); Thread^ TempThread = gcnew Thread( gcnew ParameterizedThreadStart( this , &Engine::Voice::SpeakAndWait)); TempThread->Start(Text); } Alright, this is a small part of my class i use. th ...Show All

  • TRW_Mike "Correct" Workerthread Termination

    Hello, I have used worker threads for a long while and yet always had and still have problems with the "correct" way such threads should be killed for premature termination. They may have files open, are in the process of allocating global memory or doing any number of other things. The closest I got to "correct" is to signal the worker thread through it's priority if it's services are not required anymore for terminati ...Show All

  • Stuartg while (file.eof()) causes repeat of last input

    #include <iostream> #include <fstream> using namespace std; int main () { ifstream inFile; ofstream outFile; inFile.open( "inGrades.txt" ); if (!inFile) { cout<< "Unable to open input file.\n" ; exit(1); //terminate with error } outFile.open( "outGrades.txt" ); if (!outFile) { cout<< "Unable to open input file.\n&quo ...Show All

  • Roger England dll error...Sorry Guys

    Can somebody fix my error(s) The common Language Runtime Support is set to "Common Language Runtime Support (/clr)." I don't know if my function works correctly or not, but I am more concerned about getting the .dll to work. Here is the output, the .h and the .cpp file: ------ Rebuild All started: Project: StationFormat, Configuration: Release Win32 ------ Deleting intermediate and output files for project 'StationFormat', con ...Show All

  • benlung I'm very confused about VS 2005

    hi, everybody: let me talk about my situation, when I try to create a MFC Application, Dialog based, every think default, then a make a button on the Dialog, and double click the button to add my code, like this: void CtestoneDlg::OnBnClickedButton1() {  // TODO: Add your control notification handler code here  MessageBox("Hello Visual Studio 2005" , "Hello" , MB_OK); } when I build this application, I got this error message: Error&nbs ...Show All

  • shart Mixing Templates and Generics

    I think I've raised this questions a couple of times and the first time some three years ago - and have never got a real answer. Why does the language disallow mixing templates and generics. What's wrong with: template < typename T > value struct outer {   generic < typename U > void foo(); };   or generic < typename T > ref struct outer {   template < typename U > void foo(); };   ...Show All

  • HAKK1NEN How to make a window moving handle (click and drag the handle to move the window)

    I need to make an app with no borders/title bar (got that covered) that has a window moving handle (the form background) that moves the window when you click and drag it. If this puzzles you think of Windows Media Player in Skinned Mode. Can Someone Please Help Me Flame thrower :-/ And for what ATL/MFC/pure Win32 You have the keywords it should be a problem to search in the WEB. But I believe tha ...Show All

  • Brett Blatchley Random behavior of VS2005 RC1 compiler

    We have an application is running fine in VS2003.  This application is a mix of native code and CLR code.  I recompiled everthing with VS2005.  However, when I run it, it crash right away (event before my first line of code!). The exception is not very usefull: First-chance exception at 0x7c81eb33 (kernel32.dll) in EvSurface.exe: Microsoft C++ exception: EETypeLoadException at memory location 0x0012e68c.. First-chance exception at ...Show All

  • Rob Hammond Microsoft Visual C++ Runtime Library error question

    I recieve this error when I launch Internet Explorer - version 6.0 OS Windows XP Home edition 2002 Service Pack 2.  Error is as follows: Microsoft Visual C++ Runtime Library Runtime Error! Program C:\Program Files\Internet explorer\iexplore.exe This application has requested the Runtime to terminate it in an unusual way.  Please contact the application's support team for more information. I am not certain where to post this questi ...Show All

  • Manjit Sooch please help me, why my .net 2003 is so slow to start and response?

    Hi there, I installed the .net 2003, specifically the part of VC+++, on my Presario R4125CA Notebook (cpu:AMD 64 3500; momery:512M; HDD: 100G; OS: home-version XP with SP2 ). When I start my .net, it is extremely slow, it takes almost 3 minutes. When try to add a new class to my project, it takes almost 5 minutes to response and my mouse is even been disfunctioned during this period. Please help me out. Thanks! Roboert ...Show All

  • Euan Garden 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

  • Darrell VS 6 compiles, but .exe's all terminate for no reason??

    I just installed VS 6.0 so I can learn C++ application programming. I'm using XP sp2 and everythign was working perfectly fine, but now after building any program [including those that worked fine before] when I run the debug executable it will promptly terminate and I get the following messages... Loaded 'ntdll.dll', no matching symbolic information found. Loaded 'C:\WINXP\system32\kernel32.dll', no matching symbolic information foun ...Show All

  • pureporsche Non standart shape of a form

    How can i create a form with a shape of a circle or other nonstandart shape (with mask or w/o it). And not only a form - Buttons and another controls too. This work for Win32 Project. How i can change the shape of my WinForms application How i can now create a non-standart shaped button on my form Alexxey wrote: This work for Win32 Pro ...Show All

  • Chris Lovett VCComponents.dat

    Hello, I have some questions concerning the file VCComponents.dat to which I want to add some include directories during installation of our software with the nullsoft installer. On my machine this file is stored in c: \Documents and Settings\username\Local Settings\Application Data\Microsoft\VisualStudio\7.1 Some people told me that they didn't have this file. Apparatently it is created when the devenv is started the first time. Is there a ...Show All

  • Charsoft Need to use DIA SDK 7.1 to get local variable names from PDB files

    Anyone have any experience, or ideally, code samples to query a PDB file for local variable names We can get the method's IDiaSymbol via the metadata token, but the symbols contained by that IDiaSymbol don't have documented interfaces for variables. We do see some data-type symbols that have strings that corresponds to variable names, but we're shooting in the dark regarding slot numbers, liveness ranges, and associated goodies. I'd love ...Show All

616263646566676869707172737475767778

©2008 Software Development Network

powered by phorum