cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad C++ API
About Archicad add-on development using the C++ API.

Copying files into protected folders

LaszloHatvani
Contributor

Is there a way in the API that a file copy asks for administrator permission if it is necessary when copying into a folder?

 

IO::Folder::Move is not asking for permission if we don't have the permission to copy into a folder.

It just fails to copy

3 REPLIES 3
LChen
Graphisoft

Hi, I think it's an administrator privilege issue, I'd suggest you to use Windows API to check whether you have the right to access the folder, then you may be need to run as adminstrator.

HTH. 

I think you can check the access right with API IO functions too.

How to run an API function as administrator?

If there is any way?

LChen
Graphisoft

There is no function which can change the security level in API, could you check whether it works when you login your OS with Administrator account or run Archicad.exe with Administrator right?

HTH

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!