PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Wilko Verweij on December 20, 2011, 05:15:06 PM

Title: resource compiler error
Post by: Wilko Verweij on December 20, 2011, 05:15:06 PM
Hi,
I get an error I'm pretty sure was discussed before but I cannot find it. I picked up an old project (2009) which I succesfully converted to FF3 at that time (with PB9). I still have FF 3.1 and PB9. When I compile, I receive an error message because PBRES crashes without specific error information. Afterwards I receive an empty "Compile Results" balloon. What am I doing wrong? I remember all the graphic files (for toolbar, menu and program) should be in the release folder and that's where they are. So it must be something else. Any suggestions?
Title: Re: resource compiler error
Post by: Paul Squires on December 20, 2011, 06:01:01 PM
This is a strange error and it used to happen to me from time to time. If I remember correctly, I used to delete all of the code generation files CODEGEN_*.* and then restart FF and try compiling again. Most of the time I think that worked.
Title: Re: resource compiler error
Post by: Wilko Verweij on December 20, 2011, 06:17:34 PM
Hi Paul,
Thanks for your fast response. I tried your suggestion but it didn't work. More suggestions, anyone?
Wilko
Title: Re: resource compiler error
Post by: José Roca on December 20, 2011, 06:47:25 PM
Check the contents of the .rc file. There must something wrong in it.
Title: Re: resource compiler error
Post by: David Kenny on December 21, 2011, 04:51:40 AM
You may get more of an answer if you open the only ...Main.bas codgen file in PB Edit and compile from there.
Title: Re: resource compiler error
Post by: Wilko Verweij on December 21, 2011, 10:44:08 AM
Quote from: Jose Roca on December 20, 2011, 06:47:25 PM
Check the contents of the .rc file. There must something wrong in it.
I tried to compile the .res file to a .pbr (from a DOS-box) and that worked fine, strange enough. So I guess it must be something else...
Title: Re: resource compiler error
Post by: José Roca on December 21, 2011, 12:53:58 PM
And for what you need a .pbr file? PB10 uses .res files directly.
Title: Re: resource compiler error
Post by: Paul Squires on December 21, 2011, 06:08:40 PM
FF3.5 uses the .res directly... the older 3.1 is what Wilko is using.
Title: Re: resource compiler error
Post by: Wilko Verweij on December 21, 2011, 06:31:55 PM
Quote from: TechSupport on December 21, 2011, 06:08:40 PM
FF3.5 uses the .res directly... the older 3.1 is what Wilko is using.
That's correct. I tried to compile the .res file to see if something was wrong with the .rc or .res. Apparently that's not the case.