for bellow code i am getting the error like Operand types are not compatible with the operator. operand types are as followed.
str fileName;
int hfile;
hfile = WinAPIServer::createFile(fileName);
the code is directly copied from the bellow link.