Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Windows 7 Forum Vista Tutorials Tags

Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

XAML - C++ for code-behing

 
 
LinkBack Thread Tools Display Modes
Old 01-10-2006   #1 (permalink)
rincewind
Guest


 
 

XAML - C++ for code-behing

Is it possible at all to write code-behind files in C++/CLI?
If yes, could somebody please point me at a sample project file?



My System SpecsSystem Spec
Old 01-10-2006   #2 (permalink)
Rob Relyea [MSFT]
Guest


 
 

Re: XAML - C++ for code-behing

No, sorry, it is not possible to use C++ in code behind yet. The C++ team
needs to do some work to make that possible.

See
http://www.longhornblogs.com/rrelyea...ingStyles.aspx
Today, C++ can be used to do coding style 1 & 2, but not 3.

Thanks, Rob Relyea [msft]
Program Manager, WPF Team
http://longhornblogs.com/rrelyea


"rincewind" <fake@not.real> wrote in message
news:uUeTC%23UCGHA.4016@TK2MSFTNGP11.phx.gbl...
> Is it possible at all to write code-behind files in C++/CLI?
> If yes, could somebody please point me at a sample project file?
>



My System SpecsSystem Spec
Old 01-10-2006   #3 (permalink)
rincewind
Guest


 
 

Re: XAML - C++ for code-behing

"Rob Relyea [MSFT]" <Rob.Relyea@microsoft.com> wrote in message
news:%23Z7TLx$CGHA.1312@TK2MSFTNGP09.phx.gbl...
> ...

Thanks for answering!

> The C++ team needs to do some work to make that possible.

Does this imply that there's an intention to make it possible some day to
use C++ in code behind? What is this work that needs to be done - is it just
some tools, like MSBuild, or the language iteself needs to be changed (like
adding partial classes, etc)?



My System SpecsSystem Spec
Old 01-10-2006   #4 (permalink)
Rob Relyea [MSFT]
Guest


 
 

Re: XAML - C++ for code-behing

This wouldn't be language work, but build system/project system/codedom work
for the C++ team.

Partial classes aren't necessary...we have x:Class and x:Subclass to support
languages that don't support partial classes.

The C++ team is interested in enabling this scenario in the future.
Customer feedback will help them prioritize this work. Please let them know
you are interested.

Thanks,
Rob Relyea
WPF Program Manager
http://longhornblogs.com/rrelyea

"rincewind" <fake@not.real> wrote in message
news:%23%23dtlxGDGHA.3784@TK2MSFTNGP15.phx.gbl...
> "Rob Relyea [MSFT]" <Rob.Relyea@microsoft.com> wrote in message
> news:%23Z7TLx$CGHA.1312@TK2MSFTNGP09.phx.gbl...
>> ...

> Thanks for answering!
>
>> The C++ team needs to do some work to make that possible.

> Does this imply that there's an intention to make it possible some day to
> use C++ in code behind? What is this work that needs to be done - is it
> just some tools, like MSBuild, or the language iteself needs to be changed
> (like adding partial classes, etc)?
>
>
>



My System SpecsSystem Spec
 

Thread Tools
Display Modes




Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53