Click here to Skip to main content
15,900,110 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionNeed help!! Pin
faradgi18-Jun-07 18:36
faradgi18-Jun-07 18:36 
AnswerRe: Need help!! Pin
Christian Graus20-Jun-07 16:39
protectorChristian Graus20-Jun-07 16:39 
QuestionsendASPI32Command returns SS_ASPI_IS_BUSY Pin
aks.18-Jun-07 1:54
aks.18-Jun-07 1:54 
AnswerRe: sendASPI32Command returns SS_ASPI_IS_BUSY Pin
Christian Graus18-Jun-07 12:27
protectorChristian Graus18-Jun-07 12:27 
QuestionHandling WinAPI windows (by HWND) in Managed C++ Pin
matmus16-Jun-07 4:19
matmus16-Jun-07 4:19 
AnswerRe: Handling WinAPI windows (by HWND) in Managed C++ Pin
Mark Salsbery16-Jun-07 7:31
Mark Salsbery16-Jun-07 7:31 
GeneralRe: Handling WinAPI windows (by HWND) in Managed C++ Pin
matmus16-Jun-07 19:15
matmus16-Jun-07 19:15 
GeneralRe: Handling WinAPI windows (by HWND) in Managed C++ Pin
Mark Salsbery17-Jun-07 8:35
Mark Salsbery17-Jun-07 8:35 
matmus wrote:
BTW: why do you think, that MFC HWND is somehow special? In my opinion windows after creation are indistinguishable.


True, HWNDs are HWNDs. The problem that comes to mind is that .NET isn't a framework specific to
Windows. MFC is. The little things MFC does with message handling may not be compatible with
what the Windows .NET implementation does. So to have an MFC window mixed in with .NET forms in
the parent/child heirarchy may or may not work.

Of course, we know that the Windows implementation of .NET is using HWNDs behind the scenes for
its "forms" but the .NET framework wasn't meant to be Windows specific.

For those of us using .NET specifically for Windows, I think it could/would be handy to be able
to create .NET Control objects from an HWND. There's the Microsoft.Win32 namespace for Windows-
specific stuff, so that would be a good place to put it IMO.

We'll see what happens with the next versions of MFC. I know there's going to be some additions
for mixed-mode programming and I'm anxious to see what they add, since that's what I do Smile | :)

Until then, all my UI stays MFC and I'll use the .NET framework for anything else I can leverage
from it that's non-UI related.

Mark




"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

QuestionLocalizing some extern/global vriables? Pin
granshah @ eVisionISF16-Jun-07 1:47
granshah @ eVisionISF16-Jun-07 1:47 
Questionhow can i get the ref of multi dimension array Pin
Ahmed Ismail Mohamed15-Jun-07 22:46
Ahmed Ismail Mohamed15-Jun-07 22:46 
QuestionManaged C++ with No touch Deployment Pin
jeongmo14-Jun-07 11:26
jeongmo14-Jun-07 11:26 
QuestionDoes a program have more than 1 process in task manager? Pin
DotNetUser5414-Jun-07 8:22
DotNetUser5414-Jun-07 8:22 
AnswerRe: Does a program have more than 1 process in task manager? Pin
Mark Salsbery14-Jun-07 9:20
Mark Salsbery14-Jun-07 9:20 
GeneralRe: Does a program have more than 1 process in task manager? Pin
led mike14-Jun-07 10:50
led mike14-Jun-07 10:50 
GeneralRe: Does a program have more than 1 process in task manager? Pin
Mark Salsbery14-Jun-07 11:26
Mark Salsbery14-Jun-07 11:26 
QuestionWhy doesn't this work? Pin
myhanguk14-Jun-07 2:16
myhanguk14-Jun-07 2:16 
AnswerRe: Why doesn't this work? Pin
prasad_som14-Jun-07 3:01
prasad_som14-Jun-07 3:01 
AnswerRe: Why doesn't this work? Pin
Mark Salsbery14-Jun-07 9:28
Mark Salsbery14-Jun-07 9:28 
QuestionRe: Why doesn't this work? Pin
Ahmed Ismail Mohamed15-Jun-07 22:50
Ahmed Ismail Mohamed15-Jun-07 22:50 
QuestionSerialize with BinaryFormatter Pin
hansipet14-Jun-07 0:56
hansipet14-Jun-07 0:56 
QuestionBooks for Managed C++ Pin
vibindia13-Jun-07 16:58
vibindia13-Jun-07 16:58 
AnswerRe: Books for Managed C++ Pin
Christian Graus14-Jun-07 12:46
protectorChristian Graus14-Jun-07 12:46 
Questionreading XML using SAX method? Pin
andyspartyshop13-Jun-07 5:16
andyspartyshop13-Jun-07 5:16 
AnswerRe: reading XML using SAX method? Pin
Christian Graus14-Jun-07 12:47
protectorChristian Graus14-Jun-07 12:47 
QuestionAbout const char*& Pin
Nandu_77b13-Jun-07 2:21
Nandu_77b13-Jun-07 2:21 

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.