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

Software Development Network >> Visual C++

Visual C++

New Question

Help Me Fix Error: cannot convert parameter 2 from 'char [30]' to 'LPTSTR'
STL with VC71
Visual C++ 1.52
OLE Automation Error
Error including wab.h
using a vb6 dll in vc++?
Baby C++ developer needs to know what this commonly recieved exception means:
Need Help
Encryption question
Version in managed C++ 2005 DLL

Top Answerers

Hamid Mahmood - MSFT
shadow_woman
tmigliorino
Maheswari
devoo50
Kdean6869
marc bichara
JasonWHowell
Donnie H
AnthonyUK
EditiX
Only Title

Answer Questions

  • barbarian C# to C++

    using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace Map_Maker_Worker {  /// <summary>  /// Dialog for a useless application that runs a checksum on multiple maps.  /// </summary>  public class frmSigner : System.Windows.Forms.Form  {   private System.Windows.Forms.Button btnSelectMaps;   priv ...Show All

  • JohnMatthews I/O file in MFC

    I find it difficult to learn how MFC works! I've created a tester application with the MFC wizard, it auto-generate a File menu, with Open, Save... ..the wizard generate this command in the Class Message Map: Thanks Jonatan, your suggestion is very helpful for me! However I would be curious to know if there's a way to perform the same operation using CFile family class instead the CString one. Best regards, Paolo Colombani ...ehmm! ...Show All

  • John J. Adams malloc returns 0 and GetLastError 998

    In my program, some time into the execution, when I set a certain chain of events into action, malloc suddenly fails, and return 0 - even when the available memory is well over 1 GB. GetLastError returns 998 (Invalid access to memory location). I have been testing this on two different computers, on one (with less RAM available) there is no problems at all, on the other, malloc fails. I have installed Insure++ (www.parasof.com) in order to find ...Show All

  • Oliver66 .Net Framework

    Hi, I have an application which I did not originally create.  I develop it using Visual Studio 2003 - Visual C++.net.  When I click on the configuration manager for my solution I can see that this platform, for said application is "Win32".  I didnt think this was the case since my work (code) is developed compiled and run correctly using visual studio.net. Then i created a completely new project, visual c++ and chose the opt ...Show All

  • hersheys_gurl com/atl attributes broken

    It seems most of the ATL/COM attributes from 2003 -> 2005 have been broken. Im using the RTM. I just compiled a COM/ATL project which works fine in 2k3 but in 2k5 i get lots of errors with attributes. A classic is: [ uuid("xxx-blah-xxx") ] class myForwardDeclaredClass; That no longer works. I find I have to do: class __declspec(uuid("xxx-blah-xxx")) myForwardDeclaredClass; There is no documentation or acknowledgement of this problem anywhere. ...Show All

  • Miran Cannot make cyclic reference to value classes through arrays (C++/CLI)

    Here is an example: ----------------------------------------------- value class Class2; value class Class1 { public: void method(array<Class2>^ arr); // Error (use of undefined type) }; value class Class2 { public: void method(array<Class1>^ arr); }; ------------------------------------------------ Although Class2 is pre-declared, the compiler throws a "use of undefined type 'Class ...Show All

  • MSDN Viewer Which dlls to destribute

    Although I know I need to have certain dlls in my app's local folder. I also know there dlls are in the WinSxS folder. My question is which dlls and manifests I have to have if my app is a windows forms application, compiled in VS 2005 using stdafx.h, windows.h and mscorlib.dll With Thanks,                    Gal Beniamini. Hello, what I mean ...Show All

  • Thomas Mikolajczyk Migrating a VC 6 Project to VC 8 (aka VC 2005)

    Dev Environment: VC 8 version 8.0.50727.26 (RTM.050727-2600) OS: Win XP Pro I am migrating a VC6 project to VC8 and I'm getting an error that doesn't make a lot of sense.  First of all, the project builds fine in VC6 - no errors, but of course, some warnings.  The project uses STL heavily so that some of it (not all of it) can be built on different OSes.  After fixing 700+ errors from the initial attempt to build (mostly due to ne ...Show All

  • Dusty Exporting All Symbols From DLL

      Is there a way to export all symbols from a DLL without listing each indidual symbol name Thanks.   Omar Canon AFAIK, no. Apply the __declspec(dllexport) attribute to whatever you want to export. ...Show All

  • Albert Pascual Problem in MFC AppWizard(exe)

    my code is like this: void CRrDlg::OnGetText() { CString kk; int f; CRrDlg* pEdit=(CRrDlg*)GetDlgItem(IDC_EDIT7); { f=22; kk=f; pEdit->SetWindowText(kk); } } I cant show 22 as output and i don't want to use kk.Format() to display. Is there any way to put variable f as variable kk You'll have to GetWindowText the existing text, append your extra text, and SetWindowText it back to the edit control ...Show All

  • Rafael Ignacio Is c++ .net compiled??

    <Drunkalot@discussions.microsoft.com> wrote in message news:c122f850-6854-48b9-b821-aedbd4b034ba@discussions.microsoft.com > Is the c++ .net full compiled like the older vc++ 6.0 or it is only > compiled to the CLR, like c# It can generate either native machine code, or managed code. The choice is yours. -- With best wishes,     Igor Tandetnik ...Show All

  • SatheeshLives How to do copying files?

    Hi, I am writing an MFC program that can copy files (let's say: *.chm) from one directory to another by using API. Any idea Thanks. vcboy char * argv[] = { "hh.exe" , "-decompile" , "C:\\Decompiledhelp" , "c:\\Help\\test.chm " , 0 }; _spawnvp(_P_WAIT, "hh.exe" ,argv); oops Sorry, for incorrect link, here is the correct o ...Show All

  • Alexey_Kiev Runtime error: Unhandled exception at 0x004cd752 in quikcomp.exe: 0xC0000005: Access violation reading location 0xffffffff

    Hi all, I am experiencing a runtime error that I am having trouble solving. I am extending a current application to include SSE intrinsics. During runtime, I receive the following error: Unhandled exception at 0x004cd752 in quikcomp.exe: 0xC0000005: Access violation reading location 0xffffffff Here is a code snippet: __m128 *mPre = NULL; __m128 *mDst = NULL; __m128 *mPost = NULL; curK = kHalf; do { ...Show All

  • Escimo 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

  • magicalclick unresolved tokens when migrating from 2003 to 2005

    Hello all, I am writing a utility to programmatically zip and unzip files.  I am using Daniel Godson's C++ wrapper for the Minizip app by Gilles Vollant (which in turn makes use of  code written by Jean-loup Gailly and Mark Adler).   See http://www.codeproject.com/cpp/unzip.asp . Godson's code, as far as I can tell, was written in VS2003, whereas I'm working in VS2005 - beta2.  After dealing wit ...Show All

686970717273747576777879808182838485

©2008 Software Development Network

powered by phorum