I am using Delphi2006 and I get some strange messages like this???
"E2161 RLINK32: Unsupported 16bit resource in file"
What the devil is this???
Please help!
{-daniel cc
> I am using Delphi2006 and I get some strange messages like this???
>
> "E2161 RLINK32: Unsupported 16bit resource in file"
>
> What the devil is this???
In my experience it most commonly refers to a corrupt DFM file. This
can happen very easily when using Visual SourceSafe, or other VCSs
which treat binary and text files differently. Since the Delphi IDE
tends to occasionally switch from text to binary for mysterious
reasons, this switch can happen without you realizing it. Then if you
check it into an older-technology VCS which uses reverse deltas for
text files, the VCS will transparently and silently corrupt the file.
Check out the corrupt version and you'll usually see this error.
Solution: Find the DFM in question and either get an old version from
source control or find the binary version on disk on the workstation of
the developer who tried to check in their update, change it back to
text, and check in again.
--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
Please read and follow Borland's rules for the user of their
server: http://support.borland.com/entry.jspa?externalID=293
I Know what is the problem .DFM!!
I only do not know how to fix it!!
I do not understand this solution???
Solution: Find the DFM in question and either get an old version from
source control or find the binary version on disk on the workstation of
the developer who tried to check in their update, change it back to text,
and check in again.????
{-daniel cc
"Craig Stuntz [TeamB]" <craig_...@nospam.please [a.k.a. acm.org]> wrote
in message news:451ac9e7$1...@newsgroups.borland.com...
> I Know what is the problem .DFM!!
> I only do not know how to fix it!!
Your DFM is corrupt. It probably can't be repaired. You need to find a
good version somewhere and use that. Generally, I find good versions in
source control.
--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
Everything You Need to Know About InterBase Character Sets:
http://blogs.teamb.com/craigstuntz/articles/403.aspx
I still do not follow you???
My .DFM is not corrupted (I can open and use it with Delphi 7.0)!
It is DELPHI2006 which is crap!!
Where am I supposed to find a good version of my .DFM????
I do not see any copy of my .DFM in the source control???
Anyone knows how to fix this please help!!!
{-daniel cc
"Craig Stuntz [TeamB]" <craig_...@nospam.please [a.k.a. acm.org]> wrote
in message news:451ae325$1...@newsgroups.borland.com...
> My .DFM is not corrupted (I can open and use it with Delphi 7.0)!
This is good
> I do not see any copy of my .DFM in the source control???
Your dfm should be in the source control :) Id correct that now or you
cant go back to old versions anyway
If its still good in d7, open it, is the form saved in text or binary?
if its in one or the other, try saving it as the other, so if its text
try binary, and if its binary try text. Most likely Im guessing its in
text.
--
Liz the Brit
Delphi things I have released: http://www.xcalibur.co.uk/DelphiThings
I can open my project in delphi 7 and it works good!
I still do not understand where am I supposed to find "Source control"???
How am I supposed to fix it???
I have the entire project and the project folder with the backup!!
The form is saved in delphi 7 as .DFM!!
I have no idea about any text or binary files!!
I will be truely gratefull if I could get some clear answers about how to
fix this!!
Please remember this!!
I have several projects which are making exactly the same problem with
delphi2006!!
The interesting part is that it is always the main form with this error!
"Liz" <liz_want...@xcalibur.nospam.co.uk> wrote in message
news:xn0erqcad...@newsgroups.borland.com...
Hey!! chill. We are trying to help!
>I still do not understand where am I supposed to find "Source control"???
>How am I supposed to fix it???
Like most I think people were believing you had a source control system in
place. Especially when you said you dont see a copy of your .dfm in the
source control.
>The form is saved in delphi 7 as .DFM!!
>I have no idea about any text or binary files!!
OK, I dont have d7 to hand, but if you open the form in d7, right click on
it, is there an option on the menu saying "Text dfm"? if its checked or
not, indicates if its saving in text or not.
Another way to test, open the dfm in notepad. If you can read something like
object Form1: TForm1
Left = 0
Top = 0
Caption = 'Form1'
ClientHeight = 275
ClientWidth = 412
...
then its in text.
>Please remember this!!
>I have several projects which are making exactly the same problem with
>delphi2006!!
>The interesting part is that it is always the main form with this error!
that seems odd.
If you make a brand new app with d7 and save it, can you open it with
d2006 without issue?
if you cant, post the project in the attachments group and I'll see if I
can and I'll try work it through with you.
--
Liz the Brit
Website http://www.xcalibur.co.uk/DelphiThings
--- posted by geoForum on http://delphi.newswhat.com
Many thanks for trying to help :)
Yes,
I can open my .DFM file with notepad and UltraEdit-32!
I can read the content and everything looks ok!
But I still have no idea about how to fix it???
Please some help!!
{-daniel cc
"Liz" <liz_want...@xcalibur.nospam.co.uk> wrote in message
news:451b724f$1...@newsgroups.borland.com...
OK, so its in text mode.
Make a copy (eg zip up the folder and stuff)
now run "convert -i -b *.dfm" in the directory with your form in, and see
if that fixes it.
it may not
but its the only thing I can think of..
I do not know how to thank you?
Converting did fix the problem!
Many thanks :) !!
{-daniel cc
"Liz" <liz_want...@xcalibur.nospam.co.uk> wrote in message
news:451b...@newsgroups.borland.com...
> I do not know how to thank you?
You just have :)
of course I could say pay $ but that would be cheeky :P
> Converting did fix the problem!
Cool, Im glad.
> Many thanks :) !!
Enjoy