I would like to use this programme. But after installation in a directory the access buttons remain greyed out and no pb files can be used.
Can you tell me what to do?
Thanks in advance
Hi, did you set up the pbOptimizer.exe according to the pbOptimizer_IDE_Setup.png? If so, please check that there is a space between "%FILE" and "%TEMPFILE" and you put in the double quotes. Another possibility to check is the folder where you put the exe. Do you have read/write access there? If UAC is on and you put it in "C:\Program Files (x86)\..." there is a slight chance it gets blocked .
thANKS ALL IS GOOD
I have just ending compilation of 42612 lignes. It seems to work well but i have a question :
- Compilation without pboptimizer size 5423 Ko with pboptimizer 5434 ko Is it normal ?
THnks
loulou2522 wrote: ↑Sat Apr 24, 2021 2:44 pm
- Compilation without pboptimizer size 5423 Ko with pboptimizer 5434 ko Is it normal ?
That doesn't sound right... It should either be the same size (if no optimization took place, which is rather unlikely) or smaller than the output of the default compilation. The only scenario where the file will be larger is if you have checked "Insert NOP lines" under Settings. Other than that, you could compare the files with e.g. "CFF Explorer" and see if there are additional imports under the "Import Directory" in the optimized file... But I'm fishing here ^^
Try this... Go to compiler options, disable "Include Version Information" and compile with pbOpt. If it goes through then the problem is with the tokens you are using, which are not yet supported (see first post). If there is still an error please PM me your .rc file and version infos so I can check what's going on . Also, you are using PB 5.7x?
It works by unchecking the options "Include Version Information" as you told me; Compilation was good
With main.pb exe size 4529 Kb
With PBOPTIMIZE 4192 ko
Is the optimization done ?
I use PB 5.73 64 with windows 10
I try to compile the program with "Include Version Information" also checked and the compilation was goo and with the same size
It seems that the problem come from PB OPtimizer in the last stage because it blocks on compilation
loulou2522 wrote: ↑Sun Apr 25, 2021 8:13 am
It works by unchecking the options "Include Version Information" as you told me; Compilation was good
Nice, so we found the problem
loulou2522 wrote: ↑Sun Apr 25, 2021 8:13 am
With main.pb exe size 4529 Kb
With PBOPTIMIZE 4192 ko
Is the optimization done ?
Okay, that's more like it. Btw you'll see all removed libraries under "Uncalled PB Libraries Removed" in the Log.
loulou2522 wrote: ↑Sun Apr 25, 2021 8:13 am
I use PB 5.73 64 with windows 10
I try to compile the program with "Include Version Information" also checked and the compilation was goo and with the same size
It seems that the problem come from PB OPtimizer in the last stage because it blocks on compilation
Was it goo or good? Yeah, I forgot to flush the created .rc file but never got problems on my system. Going to upload a new version soon... Hope that'll fix the problem once and for all. Thank you for the bug report!
Hi chi
Thank you for this nice tool
My 1st test, I have encountered 2 small issues.
1. I have an Uncalled Procedures that is Removed: LoadOrder( , good
but then i have the error, the module procedure 'LoadOrder()' has been declared but not defined
2. My source uses IncludePath "Images" (could be "..\Images"), it looks good on the first pass
At starting compilation, it fails, it does not find the images included in _pbOpt.pb
The relative path does not seem to be defined
Hi Chi,
I try to download the new version, but I have a message thet indicates your zip files is infected. In the precedetn version there was no problem.
Can you see please ? and saying me if it's a false positive
Another problem
When i use pboptimizer i have alway the same problem with rc file
--another problem
- With pboptimizer size of the result compile file -->5490 ko
and directly compiling in PB ide ---->4120 Ko
Last edited by loulou2522 on Sun Apr 25, 2021 1:20 pm, edited 1 time in total.