Resource file conversion
Posted on 2003-11-07
I have an old Borland C++ project I am converting to Visual C++ 7 (Visual Studio .NET 2003). I notice that the resource file format that Borland uses is different than the Microsoft format... and some things do not transfer properly...
1) Borland static text controls (using the CONTROL keyword) can be any length, but MS throws a compile error is they are > 256 characters. If I create a new static text control in MSVS it uses an LTEXT keyword... and this seems to support larger test strings properly.
2) Borland allowed escape characters (\") in static test controls... MS does not recognize this and generates an error.
Is there any way, short of redoing over 100 complex dialogs by hand (not an option) that I can convert a borland resource file to use the current Microsoft format automatically?
Anyone have a good source of documentation for resource files in general? I have not been able to find ANYTHING on the borland format or the MS format...
Any light that you could shed on this for me would be greatly appreciated.