My program normally compiles on a Windows 7 32-bit PC, version B4A 9.80.
On a new PC, windows 10 32 bits, I installed the B4A 10.00, according to the installation guidance.
When I compiled the program, the problem described below occurr:
The compilation runs ok! and used AndroidX SDK.
When I run the program an error occurs when reading files (i'm using randomacessfile 2.33, encrypted object). All registers return empty!
Can anyone help solve this bug?
On a new PC, windows 10 32 bits, I installed the B4A 10.00, according to the installation guidance.
When I compiled the program, the problem described below occurr:
The compilation runs ok! and used AndroidX SDK.
When I run the program an error occurs when reading files (i'm using randomacessfile 2.33, encrypted object). All registers return empty!
Read and Write File routines:
'**********************************************************************************************
' Tratamento de arquivos - Leitura e Gravação
'*********************************************************************************************
Sub LerArquivo(Dados As List,Senha As String,Arquivo As String)
Dados.Initialize
RAF.Initialize(File.DirRootExternal, Arquivo, False)
Dados=RAF.ReadEncryptedObject(Senha, RAF.CurrentPosition)
RAF.Close
End Sub
Sub GravarArquivo(Dados As List,Senha As String,Arquivo As String)
RAF.Initialize(File.DirRootExternal, Arquivo, False)
RAF.WriteEncryptedObject(Dados,Senha, RAF.CurrentPosition)
RAF.Close
End Sub
Can anyone help solve this bug?