Devi creare un file .rc, per esem:
Codice:
#include <windows.h>
A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "Biometric.ico"
1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILETYPE VFT_APP
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
VALUE "CompanyName", ""
VALUE "FileVersion", "1.0.0.0"
VALUE "FileDescription", "Biometric recognition"
VALUE "InternalName", "Biometric.exe"
VALUE "LegalCopyright", "© 2010 Andrea Fallico. All rights reserved."
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", "Biometric"
VALUE "ProductName", "OpenCV"
VALUE "ProductVersion", "1.0.0.0"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409, 1252
}
}
poi con compilatore di risorse crei il file .res, e nel Makefile aggiungi:
Codice:
RES = Name_File.res
Name_File.res: Name_File.rc
resource_compiler.exe -i Name_File.rc --input-format=rc -o Name_File.res -O coff
Prova a cercare su google.
----
->http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
->http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx