foobar2000 SDK  2015-01-14
main.cpp
Go to the documentation of this file.
1 #include "stdafx.h"
2 
3 // Declaration of your component's version information
4 // Since foobar2000 v1.0 having at least one of these in your DLL is mandatory to let the troubleshooter tell different versions of your component apart.
5 // Note that it is possible to declare multiple components within one DLL, but it's strongly recommended to keep only one declaration per DLL.
6 // As for 1.1, the version numbers are used by the component update finder to find updates; for that to work, you must have ONLY ONE declaration per DLL. If there are multiple declarations, the component is assumed to be outdated and a version number of "0" is assumed, to overwrite the component with whatever is currently on the site assuming that it comes with proper version numbers.
7 DECLARE_COMPONENT_VERSION("Sample Component","1.0","about message goes here");
8 
9 
10 // This will prevent users from renaming your component around (important for proper troubleshooter behaviors) or loading multiple instances of it.
11 VALIDATE_COMPONENT_FILENAME("foo_sample.dll");
DECLARE_COMPONENT_VERSION("Sample Component","1.0","about message goes here")
VALIDATE_COMPONENT_FILENAME("foo_sample.dll")