dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Relational Databases
Expertise: Beginner
May 8, 1997

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Cannot load form, unspecified error

Question:
I have a project that exists on a NT 3.51 machine. When I copy all source code, etc. to my Win95 PC, Delphi does not load the main form. The associated unit and all other stuff loads. I believe the error is related to a missing or incorrect module header, whatever that means. The VCL, although slightly different, contains all the components that are on the NT PC. What causes this? Also, what is the .DSM file that is sometimes generated?

Answer:
What you want to do in this case is move only the DPR, PAS and DFM files to the other machine. Then recompile immediately. Don't bother with the other files. They're extra files used by the compiler internally, and are not a concern to you as a developer.

With respect to the DSM file, that is the symbol file. It's only saved if you have the Desktop and Symbols option checked in the Tools|Options dialog under the Preferences tab. This is operating system specific, which is probably why you get the behavior you do.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date