Click here to Skip to main content
15,883,558 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
Questionhow to determine max TCP/IP send size Pin
bkelly1313-Dec-15 15:51
bkelly1313-Dec-15 15:51 
AnswerRe: how to determine max TCP/IP send size Pin
Richard MacCutchan13-Dec-15 21:11
mveRichard MacCutchan13-Dec-15 21:11 
GeneralRe: how to determine max TCP/IP send size Pin
bkelly1318-Dec-15 15:39
bkelly1318-Dec-15 15:39 
GeneralRe: how to determine max TCP/IP send size Pin
Richard MacCutchan18-Dec-15 21:47
mveRichard MacCutchan18-Dec-15 21:47 
AnswerRe: how to determine max TCP/IP send size Pin
Albert Holguin17-Feb-16 9:41
professionalAlbert Holguin17-Feb-16 9:41 
QuestionCFolderPickerDialog can't be inherited Pin
Prasanth.outofboxt6-Dec-15 22:59
Prasanth.outofboxt6-Dec-15 22:59 
SuggestionRe: CFolderPickerDialog can't be inherited Pin
Jochen Arndt7-Dec-15 1:00
professionalJochen Arndt7-Dec-15 1:00 
QuestionBuilding Graphical Menu Choices Pin
Tino Debelo16-Nov-15 14:07
Tino Debelo16-Nov-15 14:07 
QuestionRe: Building Graphical Menu Choices Pin
Richard MacCutchan16-Nov-15 20:57
mveRichard MacCutchan16-Nov-15 20:57 
QuestionCalling base class memeber function in child class member function Pin
Member 121160915-Nov-15 0:50
Member 121160915-Nov-15 0:50 
AnswerRe: Calling base class memeber function in child class member function Pin
Richard MacCutchan6-Nov-15 3:55
mveRichard MacCutchan6-Nov-15 3:55 
QuestionATL ACTIVEX UI design Pin
frankzf25-Sep-15 20:35
frankzf25-Sep-15 20:35 
Question64 bits application using Visual Basic 6 ActiveX controls Pin
RUSUA19-Aug-15 2:01
RUSUA19-Aug-15 2:01 
AnswerRe: 64 bits application using Visual Basic 6 ActiveX controls Pin
Daniel Pfeffer29-Aug-15 11:55
professionalDaniel Pfeffer29-Aug-15 11:55 
QuestionCString in static library for both MFC and non-MFC projects Pin
peterchen12-Aug-15 11:34
peterchen12-Aug-15 11:34 
AnswerRe: CString in static library for both MFC and non-MFC projects Pin
Albert Holguin20-Oct-15 10:15
professionalAlbert Holguin20-Oct-15 10:15 
Questionvisual studio 2010 error help needed Pin
VScoder125-Jul-15 23:32
VScoder125-Jul-15 23:32 
SuggestionRe: visual studio 2010 error help needed Pin
Richard MacCutchan6-Jul-15 0:07
mveRichard MacCutchan6-Jul-15 0:07 
GeneralRe: visual studio 2010 error help needed Pin
VScoder126-Jul-15 15:45
VScoder126-Jul-15 15:45 
GeneralRe: visual studio 2010 error help needed Pin
Richard MacCutchan6-Jul-15 21:46
mveRichard MacCutchan6-Jul-15 21:46 
GeneralRe: visual studio 2010 error help needed Pin
VScoder126-Jul-15 23:29
VScoder126-Jul-15 23:29 
GeneralRe: visual studio 2010 error help needed Pin
Richard MacCutchan6-Jul-15 23:35
mveRichard MacCutchan6-Jul-15 23:35 
GeneralRe: visual studio 2010 error help needed Pin
VScoder127-Jul-15 1:34
VScoder127-Jul-15 1:34 
GeneralRe: visual studio 2010 error help needed Pin
Richard MacCutchan7-Jul-15 1:56
mveRichard MacCutchan7-Jul-15 1:56 
VScoder12 wrote:
any suggestion?
Not really. I have just created a new Windows Forms application using Visual C++ 2010 Express, and it creates the correct files, and compiles without error. I can only assume that something is missing from your Visula Studio setup that causes these errors. The generated code of the two main files is as follows, you could try it in your system.:
C++
// Form1.h 
#pragma once

namespace WinForm {

    using namespace System;
    using namespace System::ComponentModel;
    using namespace System::Collections;
    using namespace System::Windows::Forms;
    using namespace System::Data;
    using namespace System::Drawing;
    
    /// <summary>
    /// Summary for Form1
    /// </summary>
    public ref class Form1 : public System::Windows::Forms::Form
    {
    public:
        Form1(void)
        {
            InitializeComponent();
            //
            //TODO: Add the constructor code here
            //
        }
    
    protected:
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        ~Form1()
        {
            if (components)
            {
                delete components;
            }
        }
    
    private:
        /// <summary>
        /// Required designer variable.
        /// </summary>
        System::ComponentModel::Container ^components;
        
        #pragma region Windows Form Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        void InitializeComponent(void)
        {
            this->components = gcnew System::ComponentModel::Container();
            this->Size = System::Drawing::Size(300,300);
            this->Text = L"Form1";
            this->Padding = System::Windows::Forms::Padding(0);
            this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
        }
    #pragma endregion
    };
}


// WinForm.cpp : main project file.

#include "stdafx.h"
#include "Form1.h"

using namespace WinForm;

[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
    // Enabling Windows XP visual effects before any controls are created
    Application::EnableVisualStyles();
    Application::SetCompatibleTextRenderingDefault(false); 
    
    // Create the main window and run it
    Application::Run(gcnew Form1());
    return 0;
}

GeneralRe: visual studio 2010 error help needed Pin
VScoder127-Jul-15 16:11
VScoder127-Jul-15 16:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.