www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - winsamp refactored

I was promped to try creating a Windows application in D recently and was struck
by how complicated winsamp made it seem--no user should ever have to copy
portions of proprietary runtime code (dmain2) to make her D app work.  This is
an alternate method I cooked up that works equally well and show be a bit more
portable:

























A working sample using this method (based on samples.d.winsamp bundled with DMD)
is available here:

http://home.f4.ca/sean/d/winsamp.zip

Sean
Sep 21 2005