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

Software Development Network >> Visual C++

Visual C++

New Question

Refreshing an rich edit box
c++ compilation strategy
Turn off unicode using pragma or something inside the code itself?
converting unmanged code from vc++ 6.0 to manged code in vc++.net
How do you create a single .exe installer file?
loading the classes in a native dll
Help ?
Compiler Error in VC++ of Visual Studio 2005 Beta
Create an dll from existing c++ project
LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (ATL.CRegObject)(0x020002ac)

Top Answerers

PAANIS
Gernsworth
TobyKraft
Kiumo
sp00k113
Neil Hewitt
Saravana kumar
Hila123
Snortblt
Alfred Kelgarries
GO4Expert
Only Title

Answer Questions

  • jas20705 declare/initialize int?

    Hello, I wish to have an integer inumber to use as the index in myArray[inumber] How do I declare/initialize this value Also can I have something similar to the C# code of private string[] results; results = new string[myArray.Length]; Thanks Geoff Jonathan, I may be asking the wrong question! In my app I am aiming to put the trackbar position value into an array each time the user clicks on  button to m ...Show All

  • Brian King Microsoft Thread Termination

    Is there any way to easily instruct windows to wait for a given thread to complete upon exit of the process in which it was created, other than explicitly calling a function such as WaitForSingleObject at the end of execution As an example, if I create a thread in order to run an asynchronous function, such as one which performs a large calculation and stores the result to a file, logically it should continue to execute until it is finished even ...Show All

  • mkrajew CreateMutex problem

    Hi everyone, I'm getting a security threat related to giving DACL rights to "Everyone", for example while creating mutex- when I run my code through Application Verifier, even though I have removed the "Everyone" access completely from the code. Is it possible that some functions are interally calling functions like createmutex, etc, with the "Everyone" right Can we control it Also, Is there any way of traversing through a list of all mutex c ...Show All

  • Acky How to redirect STDIN of CMD.exe in C++ programme?

    How to redirect STDIN of CMD.exe in C++ programme Hi All I am trying to redirect STD handles of cmd.exe in my programmes. I am able to redierct STDOUT and STDERR, but rediercting STDIN is not workin. I wiash that whenevr i create a new process "CMD.exe" it should obtain its input from a file say input is 'dir' and write the output to a file. I am able to write the output to a file , but I am unable to redirect the STDIN of the process. I have t ...Show All

  • Kirry mfc42.lib

    I am compiling a simple project using the directx sdi and it wants mfc42.lib , now there is a 64bit mfc42.lib but no x86 version , i have googled like crazy only 55 hits for mfc42.lib i cannot seem to dowload it from anyplace for x86. bug dropped ball any advice greatfully recived [edit] Compiling on beta 2 [Additional] The link to mfc42.lib is in AFX.H from the latest PDSK mfc and it seems that the latest AFX has some real issues with 2005 beta ...Show All

  • jon don Installing C++ programs built using VS2005

    Hi, I just built a hello world application using VS2005 in C++ (not using .Net CLR). It runs fine on my machine (XP Pro all service packs). But I cannot simply copy the executable to another XP machine which does not have VS2005 and run it. It seems like that the other machine needs new C++ run time libraries like mscrt80, etc... How do I get a dependency list and how do I install these on the target machine Is there a C++ run time distributab ...Show All

  • kelton Need help with WndProc

    I have a class Window with a function   LRESULT CALLBACK   WndProc(HWND, UINT, WPARAM, LPARAM);   The line wcex.lpfnWndProc = (WNDPROC)GlobWndProc; in the function ATOM Window::MyRegisterClass(HINSTANCE hInst)   compiles because I have a function   static LRESULT CALLBACK GlobWndProc(HWND hWnd, UINT msg,           &nbs ...Show All

  • Schnuffi 2d array delete problem and question

    Here is the basics of the code: class MyClass { public CString m_Value1; CString m_Value2; }; class MyWrapper { private: MyClass** m_pMyClass; public: void Create2dArray(int nHeight, int nWidth); void Delete2dArray(); }; void MyWrapper::Create2dArray(int nHeight, int nWidth) { m_pMyClass = new MyClass*[nHeight]; for (int i = 0; i < nWidth; i++) m_pMyClass[ i ] = new MyClass[nWidt ...Show All

  • OzMan Efficient initialization of stringstream

    Does anyone know of a way can accomplish the following without memory copies   I am dealing with character arrays that can easily exceed 1MB. std::stringstream* GetStringStream( const char * input, size_t length ) {   return new std::stringstream( input ); } Note that a temporary string object converts const char* to std::string, and this is where the copy occurs.  Although my version doesn't use it, I do know ...Show All

  • NeXuS_ITA Cast Notation and Introduction of safe_cast<>

    Diving into the .NET framework 2.0, I found today one of those amazing conceptual articles that make me venerate some people at Microsoft. All this knowledge of the language implementation and whereabouts always make me feel small in front of a huge building. Well so, the article is called "Cast Notation and Introduction of safe_cast<>" in the " Visual C++ Concepts: Porting and Upgrading" section. It really interested me and clarified ple ...Show All

  • JohnLx Question about /ML and /MD option

    Hello, I have a Visual C++ 6.0 project with /ML option is set in project setting's C++ Tab. But for some reason, I want to replace this "/ML" option with "/MD" option. (the reason is that I want to use a library(DLL) that provide function to open files but no function to close them, so I have to close it myself in my program). Is there some problems on doing so What aspects should I think about to determine whether there is a problem Than ...Show All

  • zigy42 Problem with DLL loading on non-development systems

    I work on a python library using (originally) Visual Studios 7.1, but now Visual C++ 8.0 Express.  Python libraries are simply DLLs which export one function.  Under VS 7.1, this built, installed, and ran fine.  However, while using Visual C++ 8.0 Express, I get an error stating: ImportError: DLL load failed: This application has failed to start because the application configuration is incorrect. Reinstalling the application may f ...Show All

  • DoomBringer VC Express doesn't recognize standard string

    I created an empty console project in VC Express. #include <string> int main(int argc, char** argv) { string name("Dog"); } Compiler errors: error C2065: 'string' : undeclared identifier and other errors like missing semicolon.  Why doesn't it work  In fact I tried #include <iostream> and it doesn't recognize it either. error C2065: 'cout' : undeclared identifier Do I have to configure the linker ...Show All

  • Gil Shalit serialPort

    Version 2.0.0.0 from Microsoft Corporation .NET Component serialPort, I need some examples of code for this component in VC++. Regards, Check this : http://www.codeproject.com/system/cserialcom.asp and u can see more stuff in that web site int buffer; buffer=serialPort1->ReadByte(); textBox1->Text=Convert::ToString(buffer); //----------------------------------------------------------------------------- ...Show All

  • Chin Tian How do you install CRT, ATL80.dll, MFC80u.dll applocal?

    When we look at other installation options than side-by-side installations, we consider "applocal" installations. Unfortunately we cannot use side-by-side installation since it prevents “Per User” installations in Windows Installer. (See http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=552c704c-75ba-4cb1-8bf3-0c1d6d50d5a2 ) A drawback with applocal installations is that fixes issued by Microsoft to components su ...Show All

293031323334353637383940414243444546

©2008 Software Development Network

powered by phorum