Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error creating form in Delphi 4

Status
Not open for further replies.

rjbalicki

Programmer
Jan 30, 2001
28
US
When I go to load a form, I get an error that says "Error creating form: Invalid stream format.". If I try to compile the project, I get an error that says "RLINK32: Unsupported 16bit resource in file 'formname.dfm'". Has anyone seen this one before? What can I do to fix this? I looked in the dfm and all the components listed are on my system so I'm confused. I'd like to resolve the error without having to re-do the whole form if possible.

Thanks in advance for your help.
 
Maybe you have some garbage characters in the dfm file? Or not enough ends? I would compare it with another one of your form files to see if you can see any format differences, and make sure the end of the file hasn't been truncated somehow. If you were missing a component you'd get a completely different error, and it would let you load the form anyway. (Or, at least, that's what it has always done for me.) TealWren
 
Have seen that error messages in cases when we've tried to open up a form created in an later version of Delphi - for instance a form created in Delphi 5 and opened in Delphi 3. It's not as simple as this is it ?
Steve
 
Hi rjbalicki,

I copied this text from the Delphi 5 Enterprise helpfile:

156. Could not load RLINK32.DLL

Complete list of compiler error messages
---------------------------------------------

RLINK32.DLL could not be found.
Please ensure that it is on the path.

Contact Inprise if you encounter this error.


Apperantly they don't know what it is either ;-)
Just kidding, but try linking this DLL in your
application, maybe it helps.

BobbaFet Everyone has a right to my opinion.
E-mail me at cwcon@programmer.net
 
I have seen this message when attemping to load some component example files I pulled off of the web (Palm conduits).
I concluded that they were written in D5. I use Delphi 4,

Steve..
 
It may be that they were written in Delphi 5. I did get them from the internet and they didn't specify what version it was created in - just that the objects should work in 4 or 5. I'll double check my files and make sure there's enough ends and stuff too though. Thanks for the advice gang!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top