The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Airam on May 02, 2009, 07:13:36 AM

Title: WPF in MASM
Post by: Airam on May 02, 2009, 07:13:36 AM
Hello!
I want to know if it is possible to create a WPF (Windows Presentation Foundation) application in masm32. I only find how to create a wpf in C# language.
If it's possible, how it works?
Thanks in advance.
Title: Re: WPF in MASM
Post by: dedndave on May 02, 2009, 11:31:28 AM
if it can be done in any language, it can be done in ASM
however, the C libraries may provide some functions that would need to be replicated or borrowed
Also, ASM may not be the best language to use
Most of us in here prefer ASM, and we can always make it happen
perhaps if you showed us a minimal example in C.....

EDIT:
After googling around a bit, I would say that ASM is likely not the best language to use
MS has, let's say, "targeted" C# and VB.NET for WPF apps
as I said before, it could be done in ASM, but i see no advantage
Perhaps your best approach is to use C#, with inline ASM to speed up the slow parts
that is, the slow parts of your own code - no help speeding up MS - lol

C with inline ASM is a very productive platform for many apps
it can provide a group of programmers a common language, with enhancements as required
Title: Re: WPF in MASM
Post by: 0x401000 on May 03, 2009, 09:03:02 PM
I tried to do so, nothing came out, even with the use of IL, although the idea is cool. The C language will no longer support the ASM insert the code, therefore, considered that the language of ASM phased out and will be very narrow specialists , in the form of technical engineers  :(