mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
21 lines
283 B
C++
21 lines
283 B
C++
#include "../HWPFile.h"
|
|
#include <iostream>
|
|
|
|
int main()
|
|
{
|
|
CHWPFile oFile(L"C:/ONLYOFFICE/Files/hwp/example.hwp");
|
|
|
|
if (oFile.Open())
|
|
{
|
|
std::cout << "Successful" << std::endl;
|
|
return 0;
|
|
}
|
|
else
|
|
{
|
|
std::cout << "Unsuccessful" << std::endl;
|
|
return -1;
|
|
}
|
|
|
|
oFile.Close();
|
|
}
|