I do it using "Imports".
It saves having to ResHack every time you compile. If you've got MinGW installed, make a .rc file (using notepad) in the root and paste this into it:
1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEOS 0x40004
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "040904b0"
{
VALUE "Comments", "This is the product description."
VALUE "CompanyName", "My New Company"
VALUE "FileVersion", "1.0.0.0"
VALUE "FileDescription", "This is the file description."
VALUE "InternalName", "This is the internal name."
VALUE "LegalCopyright", "Any info relating to Copyright"
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", "MyApp.exe"
VALUE "ProductName", "My Application"
VALUE "ProductVersion", "1.0.0.0"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409, 0
}
}
Change the values to whatever you want, then at the command line, type "C:\MinGW\bin\windres.exe -i C:\stuff.rc -o C:\exeinfo.o". Make sure the paths don't have any spaces in them (that's why I usually store these in the root). Then in BlitzMax, just copy the exeinfo.o file into the same directory, and add:
?win32
Import "exeinfo.o"
?
Then just compile like normal and enjoy....
Hope this helps
Seb