void PostErrorMsg(WCHAR *errorMsg);
bool IsRelative(BSTR path);
int RoundUpPowerOf2(int num);
int LogBase2(int num);