Problem:
I've created a software (a couple of modules) that are using messages and everything works OK non-encrypted!
BUT, when I encrypt a part of the software I'll get an error message like:
>Commando "Open" is not allowed for protected files< (this is translated).
The funny thing is that my actual message is printed, but then I'll get this error message after my "normal" message. So it's like a BUG...
Because I print ALL messages in an ordinary NON encrypted program, I think I'll get the error message when I return to an encrypted program (that's why it always comes afterwards).
Information on the program sequence:
Encrypted program want to send a message!
The encrypted program calls a non encrypted program, this program calls the actual program that prints the message (this is also a non encrypted program). The program pointer returns step by step to the encrypted program and continues to execute.
Done:
I've used the $ADVANCE = 0, to slow down the PP and the "WAIT FOR TRUE" before and after the message command in the non encrypted program.
Suggestions?
If I could Close the port that is open before I return to the encrypted program (and causing the problem), I think this could be solved the right way. But the manual for "Programming messages" don't handle this topic.