flat assembler
Message board for the users of flat assembler.

Index > Windows > Unmanaged Programming Alive and Well Under Vista

Author
Thread Post new topic Reply to topic
WytRaven



Joined: 08 Sep 2004
Posts: 45
Location: Canberra, Australia
WytRaven 23 Feb 2007, 13:43
I have just completed an article for codeproject.com that might be of interest to FASM coders.

Although the article is based around unmanaged C++ (targetting either 32bit or 64bit editions) it also applies to ASM programming. Basically the article outlines how to get Windows Presentation Foundation style hardware accelerated graphics under Vista using the same techniques that the WPF does and in full cooperation with the Vista Desktop Window Manager. I'm glad to report that pure Win32/ASM coding is very much possible under Vista without sacrificing the new features the OS provides.

This information hasn't been provided by Microsoft so I took it upon myself to figure it out and do it for them. No doubt their rather large investment in .NET technology (read "crap") has them unwilling to promote any alternative...

Here's the link if you are interested: http://www.codeproject.com/useritems/umvistad3d.asp

At some point I will convert this over to FASM but I don't know enough about 64bit ASM yet unfortunately...

_________________
All your opcodes are belong to us


Last edited by WytRaven on 24 Feb 2007, 00:55; edited 1 time in total
Post 23 Feb 2007, 13:43
View user's profile Send private message Reply with quote
HyperVista



Joined: 18 Apr 2005
Posts: 691
Location: Virginia, USA
HyperVista 23 Feb 2007, 14:12
Very impressive WytRaven! Not only is the article highly interesting, but very well written. If you're interested in re-locating to the USA (Washington, DC area), I've go a position here for you.
I'm a little surprised they published the article because CodeProject is very closely associated with MS and you pretty much prove that .Net isn't the end-all solution. Very well done, indeed.
Post 23 Feb 2007, 14:12
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 23 Feb 2007, 15:03
Very good article. You may think of more descriptive name for this thread, and i will highlight it if you wish.

could you please post sources here into this forum? i don't want to register on codeproject. Thanks
Post 23 Feb 2007, 15:03
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
WytRaven



Joined: 08 Sep 2004
Posts: 45
Location: Canberra, Australia
WytRaven 23 Feb 2007, 23:04
The source code and binaries are attached. Glad you like the article.

The binaries will only work on vista and only on vista with the aero interface enabled.


Description: Source and binaries
Download
Filename: umvistad3d.zip
Filesize: 23.52 KB
Downloaded: 409 Time(s)


_________________
All your opcodes are belong to us
Post 23 Feb 2007, 23:04
View user's profile Send private message Reply with quote
r22



Joined: 27 Dec 2004
Posts: 805
r22 24 Feb 2007, 00:16
One more reason to keep avoiding .NET. I almost had to code a whole web application in asp.NET, luckily the AJAX framework I cobbled together in 3 weeks worked/looked better.

WytRaven: My first computer was an Apple][e as well !
Post 24 Feb 2007, 00:16
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 24 Feb 2007, 15:28
Very good article WytRaven, thanks.

p.s. I hope your article won't get mr. Schechter fired!
Post 24 Feb 2007, 15:28
View user's profile Send private message Yahoo Messenger Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 24 Feb 2007, 22:19
Very interesting article, looks like there aero glass inteface is going to be fun to play with, now that you've proven that it is possible to use un-managed (assembly) code Very Happy . Also, nice to know that gdiplus is hardware excellerated now Smile . Unfortunately, I won't have my Vista upgrade disc for quite a while yet, so I can't try your example. Crying or Very sad
Post 24 Feb 2007, 22:19
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 25 Feb 2007, 23:27
According to this, Vista Home Basic doesn't support Fancy Aero "Glass" UI. (Just FYI for anyone here so they don't run out and buy the wrong upgrade!) Razz

P.S. My first computer was an Apple IIc (green screen), but we had IIe to play with at school. Smile
Post 25 Feb 2007, 23:27
View user's profile Send private message Visit poster's website Reply with quote
WytRaven



Joined: 08 Sep 2004
Posts: 45
Location: Canberra, Australia
WytRaven 26 Feb 2007, 07:20
madmatt wrote:
...Also, nice to know that gdiplus is hardware excellerated now Smile...


Unfortunately no. GDI+ itself remains software only. What I meant was that the WPF provides GDI+ functionality with hardware acceleration. So that means if you want a prebuilt library of GDI+ functions then .NET and WPF is you only answer. However if you are willing to put in a little effort then you can use Direct3D (which the WPF does under the hood) to do everything that GDI+ could plus so much more.

_________________
All your opcodes are belong to us
Post 26 Feb 2007, 07:20
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.