Builder.cz - Informacni server o programovani

Odběr fotomagazínu

Fotografický magazín "iZIN IDIF" každý týden ve Vašem e-mailu.
Co nového ve světě fotografie!

 

Zadejte Vaši e-mailovou adresu:

Kamarád fotí rád?

Přihlas ho k odběru fotomagazínu!

 

Zadejte e-mailovou adresu kamaráda:



Dosovské okno v MC++

Seznam témat     Nová odpověď

Přihlásit se     Registrace     Zapomenuté heslo

Re: Dosovské okno v MC++

Autor: JerryMouseDotaz

13:01:20 18.02.2009

Je to tady:

http://support.microsoft.com/kb/317433


:)

Citovat příspěvek

 

Dosovské okno v MC++

Autor: JerryMouseDotaz

14:04:30 17.02.2009

Ahoj.
Chtěl bych se zeptat, jestli někdo ví jak se zbavit okna MS-DOS shellu co se otvírá současně s aplikací napsanou c Managed C++ v Microsoft Visual C++ 2008.

Normálně vytvořím nový prázdný(empty) CLR C++ projekt, přidám do projektu jeden soubor Windows Forms C++ a spustím. A.... otevřou se dvě okna. Okno SHELL MS-DOS a prázdné windowsovské okno mojí aplikace.
Jak se zbavit toho okna DOS-Shellu?


#include "MojeE1.h"

int main()
{

Application::Run(gcnew MOJEE::MojeE1() );

return(0);
}






#pragma once

using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;


namespace MOJEE {

///


/// Summary for MojeE1
///
/// WARNING: If you change the name of this class, you will need to change the
/// 'Resource File Name' property for the managed resource compiler tool
/// associated with all .resx files this class depends on. Otherwise,
/// the designers will not be able to interact properly with localized
/// resources associated with this form.
///

public ref class MojeE1 : public System::Windows::Forms::Form
{
public:
MojeE1(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}

protected:
///
/// Clean up any resources being used.
///

~MojeE1()
{
if (components)
{
delete components;
}
}

private:
///
/// Required designer variable.
///

System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

void InitializeComponent(void)
{
this->SuspendLayout();
//
// MojeE1
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(292, 266);
this->Name = L"MojeE1";
this->Text = L"MojeE1";
this->Load += gcnew System::EventHandler(this, &MojeE1::MojeE1_Load);
this->ResumeLayout(false);

}

}

/// Summary for MojeE1 /// /// WARNING: If you change the name of this class, you will need to change the /// 'Resource File Name' property for the managed resource compiler tool /// associated with all .resx files this class depends on. Otherwise, /// the designers will not be able to interact properly with localized /// resources associated with this form. /// public ref class MojeE1 : public System::Windows::Forms::Form { public: MojeE1(void) { InitializeComponent(); // //TODO: Add the constructor code here // } protected: /// /// Clean up any resources being used. /// ~MojeE1() { if (components) { delete components; } } private: /// /// Required designer variable. /// System::ComponentModel::Container ^components; #pragma region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// void InitializeComponent(void) { this->SuspendLayout(); // // MojeE1 // this->AutoScaleDimensions = System::Drawing::SizeF(6, 13); this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font; this->ClientSize = System::Drawing::Size(292, 266); this->Name = L"MojeE1"; this->Text = L"MojeE1"; this->Load += gcnew System::EventHandler(this, &MojeE1::MojeE1_Load); this->ResumeLayout(false); } }

Citovat příspěvek

 

 

 

Přihlášení k mému účtu

Uživatelské jméno:

Heslo: