NO

Author Topic: 7.00 RC3 ... IDE can't load free standing RC files...  (Read 3031 times)

CommonTater

  • Guest
7.00 RC3 ... IDE can't load free standing RC files...
« on: June 16, 2012, 07:50:26 PM »
Take any project that has resources... Open the ppj file and you can use the visual resource editor to change things...  Open the .rc file directly in POIDE and you get a flood of errors with the file opened in text mode.
 
Open POIDE... close all files and projects... File -> Open -> whatever.rc
 

EDIT:  I just installed 7.00 rc2... which opens .rc files perfectly ... this is clearly a new bug.
« Last Edit: June 17, 2012, 01:11:41 AM by CommonTater »

CommonTater

  • Guest
Re: 7.00 RC3 ... IDE can't load free standing RC files...
« Reply #1 on: June 17, 2012, 01:46:31 AM »
Ok... temporary fix for this problem... Install 7.00 rc2... copy POIDE out of the Bin folder to a safe place... Install 7.00 rc3 (to get the compiler fixes, etc.) copy the RC2 version of POIDE into the Bin folder.

.rc files now open normally.


Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2107
Re: 7.00 RC3 ... IDE can't load free standing RC files...
« Reply #2 on: June 17, 2012, 09:07:21 AM »
Minimal test:
Without newline at end of file POIDE don't open a file:
Code: [Select]
IDR_TBBMP1 BITMAP "TBBtn1.bmp"
Code: [Select]
Building error1.rc.
C:\code\PellesC\test7\error1.rc(1): warning: No newline at end of file.
C:\code\PellesC\test7\error1.rc(1): error: File not found: 'TBBtn1.bmp'.
Done.
With newline at end of file POIDE open a file:
Code: [Select]
IDR_TBBMP1 BITMAP "TBBtn1.bmp"
Code: [Select]
Building error.rc.
C:\code\PellesC\test7\error.rc(1): error: File not found: 'TBBtn1.bmp'.
Done.
Same behavior with other versions too ?
May the source be with you

CommonTater

  • Guest
Re: 7.00 RC3 ... IDE can't load free standing RC files...
« Reply #3 on: June 17, 2012, 09:25:42 AM »
Minimal test:
Without newline at end of file POIDE don't open a file:
Code: [Select]
IDR_TBBMP1 BITMAP "TBBtn1.bmp"
Code: [Select]
Building error1.rc.
C:\code\PellesC\test7\error1.rc(1): warning: No newline at end of file.
C:\code\PellesC\test7\error1.rc(1): error: File not found: 'TBBtn1.bmp'.
Done.
With newline at end of file POIDE open a file:
Code: [Select]
IDR_TBBMP1 BITMAP "TBBtn1.bmp"
Code: [Select]
Building error.rc.
C:\code\PellesC\test7\error.rc(1): error: File not found: 'TBBtn1.bmp'.
Done.
Same behavior with other versions too ?
That's nasty... most compilers do require at least one blank line at the end of a file.

However that's not what I ran into...
Click the red X on the project tool bar, close all open source files...
File -> Open -> whatever.rc  so it's the only thing open, with no project. 
POIDE 700 rc3 gave me dozens of errors but RC2 and earlier opened it just fine.
« Last Edit: June 17, 2012, 09:27:24 AM by CommonTater »

CommonTater

  • Guest
Re: 7.00 RC3 ... IDE can't load free standing RC files...
« Reply #4 on: June 17, 2012, 04:05:54 PM »
This appears to be fixed in 700 RC4 ... Thanks Pelle.
 
 

 



 
EDIT: Not Fixed!
 
Close POIDE 700rc4 ... click on whatver.rc ... open with POIDE... huge flood of nonsense errors...
Close all projects... File -> Open -> whatever.rc ... huge flood of nonsense errors.
 
If I go into the Output folder it will open the .res file just fine... but that doesn't help if you're working on an uncompiled file.
 
« Last Edit: June 22, 2012, 08:55:21 PM by CommonTater »