Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Ich mochte den freien speicher von mein Compactflash wissen. Laut den Support soll ich ein externe bibliotheek C++ programieren. Aber ein beispiel oder dokumentation gibt es nicht.
Vomm internet habe ich die dastellung von den C++ Commando.
BOOL CalculateEnoughSpace()
{
WCHAR directory[] = _T("\Hard Disk");
ULARGE_INTEGER dFreeToCaller;
ULARGE_INTEGER dTotalNoBytes;
ULARGE_INTEGER dTotalNoFreeBytes;
int returnVal = GetDiskFreeSpaceExW(directory, &dFreeToCaller, &dTotalNoBytes, &dTotalNoFreeBytes);
return true;
}
Aber wie bekomme ich das jetst als bibliotheek
Danke!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ich mochte den freien speicher von mein Compactflash wissen. Laut den Support soll ich ein externe bibliotheek C++ programieren. Aber ein beispiel oder dokumentation gibt es nicht.
Vomm internet habe ich die dastellung von den C++ Commando.
BOOL CalculateEnoughSpace()
{
WCHAR directory[] = _T("\Hard Disk");
ULARGE_INTEGER dFreeToCaller;
ULARGE_INTEGER dTotalNoBytes;
ULARGE_INTEGER dTotalNoFreeBytes;
int returnVal = GetDiskFreeSpaceExW(directory, &dFreeToCaller, &dTotalNoBytes, &dTotalNoFreeBytes);
return true;
}
Aber wie bekomme ich das jetst als bibliotheek
Danke!