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

Software Development Network >> Visual C++

Visual C++

New Question

Initializing an array of pointers to functions
Where is CWnd::CreateControl ?
msvcr80.dll Problem
MFC extension DLL project with /clr option causes link error on _DllMain
Accidentally exposing namespaces to other assemblies by declaring unmanaged code.
Wanrning C4400 : const/volatile qualifiers on this type are not supported ???
DrawThemeIcon
Add forms at run time in VC++
Problems using _lseeki64, _fseeki64 and _ftelli64
Handling of System::String

Top Answerers

omarslvd
Julian V
mcglonec
Code Chief
Diganta Roy
Diirewolf
03r603
Softwaremaker
Frank Cazabon
Julian12
Switching to an Apple can be surprisingly smooth
Only Title

Answer Questions

  • Harold van de Kamp 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

  • Per J Making an Enum a Public Assembly member

    I have an assembly, Shared, that contains an enum named MyEnum. I want to be able to define this enum once in the Shared assembly and then use it in other assemblies by referencing the Shared assembly. Is this possible I thought enums where managed types but I used the following code with no luck because it said that "an assembly access specifier can only be applied to a managed type" so I have to remove the public keyword. namespace Shared { & ...Show All

  • hassssan WM_SIZE message problem

    Hi:   i just begin to learn MFC,and i got a problem about WM_SIZE message.i start a new VC6 MFC Wizard project ,use all the defaul setting of the App wizard,except it is a single doc project,and the base class of the CTestView class is CFormView instead of CView.after the frame work is constructed ,i add a control to the form view,whatever control,say a button,whose id is IDC_BTN_TEST.i'd like to keep the size of the button the same wi ...Show All

  • MikeBlig Internal compiler error

    I'm attempting to compile FreeImage, a C++ library available from http://freeimage.sourceforge.net/ , under Visual Studio 2005 Team System Beta 2 on an XP64/AMD64 box. The C++ compiler is choking reproducibly and consistently as below. I haven't yet attempted to work around it as suggested. If that later proves successful, I'll re-post here. Should/how I report this to Microsoft Is this the way :-) Sorry about the *** f ...Show All

  • Samuel Lester - MSFT Error on delete [] v

    Hi, I have a problem with a class. The declator is class Configuration { public : struct conf_table { char name[40]; char value[10]; }; struct conf_table *conftable; int size; //rows on conftable int max_size; //maximum rows on conftable public : Configuration( void ); //Constructor ~Configuration( void ); //Destructor }; And the code is Configuration::Configuration( v ...Show All

  • CB40 arrays and functions

    I have tried to find answers to the following problem but hasn't been able to find one: If I run the following program then it returns with a crash when it finish (The program should be very simple so that it should be possible to find the problem) #include <stdlib.h> #include <iostream> using namespace std; void test( int p[]); int main() { int p[1]; test(p); cout<< "th ...Show All

  • Jimig link library compiled with Watcom

    Hello everybody. Does anybody know if i can link library (or *.obj) compiled in Watcom or another compiler to Visual C++ project. Regards i_van AFAIK this is not possible. The way of the name mangeling (how function signatures are interpreted) is different from compiler to compiler. Also the way exception handling is done is different. The CRT usage is different. No there is no way to do that. Recompi ...Show All

  • monyplaba Migrating an existing MFC application

    I'm investigating different solutions available to migrate our existing MFC application to .Net. At this point I find out that the best way to keep the application working during the migration is using MFC 8.0. I think we should first compile our UI (MFC exe) in Visual Studio 2005, then add /clr and then use .NET class libraries and its user controls to implement new features of our application. The question I have is about the u ...Show All

  • Mick H Browsing in global objects

    I need to create an application that will simulate the operation of a larger, native application for the purpose of creating a managed application that will communicate with it. Anyway, I have started a Windows Forms project and I need to add an unmanaged class to it. I could not instantiate an unmanaged class within a managed class (the compiler gave me an error) so I created a global instance. So far the problem with that is that when debuggi ...Show All

  • Fernando Zamora Creating an application for both 32-bit and 64-bit target platform

    Hi, I am a newbie in 64-bit development. What I want to do first is to create an application that can be run only on a 64-bit platform. In the linker option of VS 2005 I can define as target platform MachineX64 (/MACHINE:X64) for example. What else do I need to add to my application code to ensure that it is a native 64-bit application Second question: I want to build an application that can be run on both win32 and win64 platforms. The ...Show All

  • CBagby Console Applications only work on computer with the IDE

    I'm using a text book to learn C++ and am writing my first programs. They compile fine and work the way I want them to, from Visual Studio or Windows Explorer. However, if I move them to another computer (with a disk), they don't work. Something about the configuration of the application. I've tried CLR console apps and Win 32 console apps (with header). I move the entire project, not just the .exe I would really ...Show All

  • Pommie Phil How to check the dll files that my program in use???

    Hi, I like to make MSI package for the program, but I don't know how to find out what dll files my program is using in order to make all files are packaged together. I heard there is a tool that comes with Visual Studio, that help find the dll files in use for a program. Do you know what that tool is Thanks, vcboy I have only VS .NET 2003 version. How can I find it Thanks, vcboy ...Show All

  • Jamie Thomson Problems in Release Compilation

    My Visual C++ 6.0 MFC project serves as a framework that loads a variable series of MFC extension DLLs that do most of the work of the project. Although the DLLs vary widely in function and complexity, they have many common features and derive from a common base class. All of the DLLs export a configure() function. In most cases, the configuration is accomplished with a standard MFC dialog and associated class derived from CDialog. ...Show All

  • Stuart Bray Visual C++ Toolkit for VS2005?

    What is the Visual C++ Toolkit 2003 The Visual C++ Toolkit is a free edition of Microsoft’s professional Visual C++ optimizing compiler and standard libraries--the same optimizing compiler and standard libraries that ship in Visual Studio .NET 2003 Professional!     Hi, I used to have Visual C++ Toolkit installed along with my VC++ 2003.  This tuesday, after attending Microsoft VS2005 launch event, I came back with V ...Show All

  • Chad Bumstead C/C++

    Hello everyone, I'm an "old timer", because I started learning computer languages in 1974 (!) on a VAX system. (Basic, Fortran IV, Fortran 77, Pascal, Assembler, Cobol, C, C++, ...) My preferences are for C++ (still do) programing, but because of my professional duties, I stopped programing since 1988. Now I'm "semi-retired" and would like to restart using C/C++ but... What should I decide to buy, I mean, what kind of language to start with Vis ...Show All

242526272829303132333435363738394041

©2008 Software Development Network

powered by phorum