Click here to Skip to main content
16,005,697 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: How to prevent a delegate from relocating on the CLR heap Pin
Sheng Jiang 蒋晟16-Jul-05 5:54
Sheng Jiang 蒋晟16-Jul-05 5:54 
GeneralRe: How to prevent a delegate from relocating on the CLR heap Pin
Florian Albrechtskirchinger16-Jul-05 8:01
Florian Albrechtskirchinger16-Jul-05 8:01 
GeneralRe: How to prevent a delegate from relocating on the CLR heap Pin
Florian Albrechtskirchinger16-Jul-05 22:51
Florian Albrechtskirchinger16-Jul-05 22:51 
GeneralMultible Instances. Pin
Saksida Bojan13-Jul-05 4:11
Saksida Bojan13-Jul-05 4:11 
GeneralRe: Multible Instances. Pin
toxcct13-Jul-05 5:57
toxcct13-Jul-05 5:57 
GeneralRe: Multible Instances. Pin
Tom Archer13-Jul-05 10:14
Tom Archer13-Jul-05 10:14 
GeneralDetect if .NET Framework is installed Pin
Saksida Bojan13-Jul-05 4:09
Saksida Bojan13-Jul-05 4:09 
GeneralRe: Detect if .NET Framework is installed Pin
Christian Graus13-Jul-05 12:37
protectorChristian Graus13-Jul-05 12:37 
Saksida Bojan wrote:
System::Threading::Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA; Application::Run(new Form1());

This is managed C++ code. You need to create an unmanaged project in order for it to not require the .NET framework. Your code is fine, these lines are not, and your project is therefore not either, it's a MC++ app.

I assume you know this, as you're asking the MC++ board. MC++, by definition, requires the .NET framework.


Christian Graus - Microsoft MVP - C++
GeneralRe: Detect if .NET Framework is installed Pin
Saksida Bojan14-Jul-05 0:14
Saksida Bojan14-Jul-05 0:14 
GeneralRe: Detect if .NET Framework is installed Pin
Christian Graus14-Jul-05 11:07
protectorChristian Graus14-Jul-05 11:07 
GeneralRe: Detect if .NET Framework is installed Pin
Saksida Bojan14-Jul-05 19:10
Saksida Bojan14-Jul-05 19:10 
GeneralRe: Detect if .NET Framework is installed Pin
Nish Nishant18-Jul-05 1:19
sitebuilderNish Nishant18-Jul-05 1:19 
GeneralSetting Global environment variable Pin
e_prabhu12-Jul-05 4:53
e_prabhu12-Jul-05 4:53 
GeneralFile Operation Monitoring Pin
e_prabhu12-Jul-05 3:45
e_prabhu12-Jul-05 3:45 
GeneralSwitch Error Pin
Saksida Bojan11-Jul-05 22:06
Saksida Bojan11-Jul-05 22:06 
GeneralRe: Switch Error Pin
toxcct12-Jul-05 1:55
toxcct12-Jul-05 1:55 
GeneralRe: Switch Error Pin
Saksida Bojan12-Jul-05 5:23
Saksida Bojan12-Jul-05 5:23 
GeneralRe: Switch Error Pin
gecool10-Aug-05 22:30
gecool10-Aug-05 22:30 
GeneralRe: Switch Error Pin
Saksida Bojan13-Aug-05 1:12
Saksida Bojan13-Aug-05 1:12 
Generalpass an ADO Recordset from managed to unmanaged code Pin
solomon_ti11-Jul-05 19:29
solomon_ti11-Jul-05 19:29 
GeneralCalling unmanaged c++ dll's and lib's into c# using visual studio 2005 beta Pin
Member 211071711-Jul-05 16:36
Member 211071711-Jul-05 16:36 
Generalusing a MFC DLL in C++ .Net Pin
Anonymous11-Jul-05 0:05
Anonymous11-Jul-05 0:05 
GeneralRe: using a MFC DLL in C++ .Net Pin
ursus zeta12-Jul-05 11:30
ursus zeta12-Jul-05 11:30 
GeneralRe: using a MFC DLL in C++ .Net Pin
Anonymous12-Jul-05 21:38
Anonymous12-Jul-05 21:38 
GeneralRe: using a MFC DLL in C++ .Net Pin
ursus zeta17-Jul-05 13:50
ursus zeta17-Jul-05 13:50 

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.