mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-06 04:00:08 +00:00
New class: TemporaryFile, which manages a temporary file, deleting it when it goes out of scope. Also fixes for compile problems in VC7.
This commit is contained in:
parent
38bd05de16
commit
0744c0db37
22 changed files with 542 additions and 186 deletions
|
|
@ -540,11 +540,10 @@ const String File::getVersion() const
|
|||
|
||||
if (VerQueryValue (buffer, _T("\\"), (LPVOID*) &vffi, &len))
|
||||
{
|
||||
result.printf (T("%d.%d.%d.%d"),
|
||||
HIWORD (vffi->dwFileVersionMS),
|
||||
LOWORD (vffi->dwFileVersionMS),
|
||||
HIWORD (vffi->dwFileVersionLS),
|
||||
LOWORD (vffi->dwFileVersionLS));
|
||||
result << (int) HIWORD (vffi->dwFileVersionMS) << "."
|
||||
<< (int) LOWORD (vffi->dwFileVersionMS) << "."
|
||||
<< (int) HIWORD (vffi->dwFileVersionLS) << "."
|
||||
<< (int) LOWORD (vffi->dwFileVersionLS);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue