S Smee Well-Known Member Licensed User Longtime User Jun 28, 2012 #1 When i compile a program with Release or debug and download some files it works ok. But when i compile with obfuscation I get an error the error seems to be when calling a sub in another module Code: Copy If CallingSub="Maintenance" Then CallSub(Maintenance,"DownLoadProgress") Else CallSub(Main,"DownLoadProgress") End If it is one of those lines I suspect. The error says the name of the executing sub and "Sub downloadprogress was not found." Is there a solution to this?
When i compile a program with Release or debug and download some files it works ok. But when i compile with obfuscation I get an error the error seems to be when calling a sub in another module Code: Copy If CallingSub="Maintenance" Then CallSub(Maintenance,"DownLoadProgress") Else CallSub(Main,"DownLoadProgress") End If it is one of those lines I suspect. The error says the name of the executing sub and "Sub downloadprogress was not found." Is there a solution to this?
Erel B4X founder Staff member Licensed User Longtime User Jun 28, 2012 #2 You will need to change the sub names and add an underscore in the name. This will prevent the obfuscator from renaming those subs. Note that this is related to a bug in v2.00. V2.02 will be released next week and will fix this issue. Upvote 0
You will need to change the sub names and add an underscore in the name. This will prevent the obfuscator from renaming those subs. Note that this is related to a bug in v2.00. V2.02 will be released next week and will fix this issue.
S Smee Well-Known Member Licensed User Longtime User Jun 28, 2012 #3 Thanks Erel, I will wait for Version 2.02 Is there a listing of the version history changes anywhere? Upvote 0
Thanks Erel, I will wait for Version 2.02 Is there a listing of the version history changes anywhere?
Erel B4X founder Staff member Licensed User Longtime User Jun 28, 2012 #4 It is not listed in one place. For every release there is an announcement in the forum with the changes. Upvote 0
It is not listed in one place. For every release there is an announcement in the forum with the changes.
frapel Active Member Licensed User Longtime User Apr 16, 2013 #5 obfuscation and Threading library Thanks. Yesterday I've got the same issue using Threading library. I solved by changing sub name and adding an underscore in the name. It takes me many hours to reach the solution, so if you use that useful library be careful with obfuscation code. Upvote 0
obfuscation and Threading library Thanks. Yesterday I've got the same issue using Threading library. I solved by changing sub name and adding an underscore in the name. It takes me many hours to reach the solution, so if you use that useful library be careful with obfuscation code.