[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

[Fatal Error] myunitprin.pas(78): Unit anotherunit.pas was compiled with a different version of myunitprin.pas.Last_information

Posted on 2008-10-02
11
Medium Priority
?
275 Views
Last Modified: 2012-05-05
how to solve it ?
0
Comment
Question by:davizinx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 22631174
Recompile anotherunit.pas with the newer myunitprin.pas

mlmcc
0
 
LVL 6

Expert Comment

by:JosephGlosz
ID: 22631193
make sure you have only one copy of myunitprin.pas anywhere.  Delete any and ALL myunitprin.dcu files you may have.  Different projects may output the resulting DCUs to different folders.

Then make sure your environment and/or project paths include the location of the pas file.

Then just a 'BUILD' (not compile) should do the trick.
0
 

Author Comment

by:davizinx
ID: 22634320
i do that... but not solve
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 101

Expert Comment

by:mlmcc
ID: 22638059
Did you recompile anotherunit.pas.

mlmcc
0
 

Author Comment

by:davizinx
ID: 22638287
i do that too.
0
 
LVL 38

Expert Comment

by:Geert Gruwez
ID: 22645248
delete all the .dcu files in your directories
(not the Delphi directories !!!)
recompile afterwards
0
 

Author Comment

by:davizinx
ID: 22646415

[Fatal Error] anotherunit.pas(35): File not found: 'anotherunit.dcu'

0
 

Accepted Solution

by:
davizinx earned 0 total points
ID: 22663861
...?
0
 
LVL 38

Expert Comment

by:Geert Gruwez
ID: 24322655
oo, and deleting the .dcu wasn't a clue ???
because of the delete the compiler had to recompile that used unit
and then it didn't find the sources

your solution was to create (or copy from other folder) the anotherunit.pas
or remove the anotherunit from the used
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 24326039
What is the solution?

mlmcc
0
 
LVL 38

Expert Comment

by:Geert Gruwez
ID: 24352529
2 dots was the solution !!!
i'll try and use that in my code too next time

or was the question mark part of the solution ?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question