Games {XUI2D] example pack - strange function

Phayao

Active Member
Licensed User
Longtime User
Hello,

probably I missed something here - in the example HelloWorld in the Games.bas module, it starts with and inclusion command. It gives rise to the following error:
B4X:
Error description: Attribute not supported: custombuildaction
Error occurred on line: 1 (Game)
#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"

What is this Robocopy.exe ?

Thanks for help,

Chris
 

ac9ts

Active Member
Licensed User
Longtime User
The error is actually from #CustomBuildAction:. This is a function that was introduced some time ago to run a command (robocopy, in the case) durring program compilation You must be using a pretty old version of b4a.
 

Jaames

Active Member
Licensed User
Longtime User
Hello,

probably I missed something here - in the example HelloWorld in the Games.bas module, it starts with and inclusion command. It gives rise to the following error:
B4X:
Error description: Attribute not supported: custombuildaction
Error occurred on line: 1 (Game)
#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"

What is this Robocopy.exe ?

Thanks for help,

Chris
You have to use latest version of B4A
 

Phayao

Active Member
Licensed User
Longtime User
Hello,

Sorry, I confused B4A and B4J - what I meant was the B4J Version (i am using B4J 6.50) in the game.bas module of HelloWorld.b4j:
B4X:
B4J Version: 6.50 BETA #1
Parsing code.    Error
Error parsing program.
Error description: Attribute not supported: custombuildaction
Error occurred on line: 1 (Game)
#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"

Thanks for clarification,

Chris
 

Phayao

Active Member
Licensed User
Longtime User
Thanks a lot !
Forgive my ignorance - I'm exploring the new functions.
 
Top