Skip to content

Example - Basic read file question #21

@Z3USI0TA

Description

@Z3USI0TA

Hi. if somebody could help me I would appreciate it.

#include "zarchive/zarchivereader.h"

int main()
{
ZArchiveReader* reader = ZArchiveReader::OpenFromFile("Text.zar");
if (!reader)
return -1;
ZArchiveNodeHandle fileHandle = reader->LookUp("Text.txt");
if (reader->IsFile(fileHandle))
{
// Text.txt to string?
// Is possivel -> Text.txt to simbolicLink Junction?

          CreateJunction(TEXT("C:\\Game"), TEXT("D:\\Game"));  //Work Correct.

}
delete reader;
return 0;

}

Sorry, I'm learning c++

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions