General bootstrap questions: Delphi 7, pascal

Hi,

This might be a bit inchoherant.  I am sorry of that is the case but I have inherited a collection of languishing Delphi Projects in Pascal.  I do not know Pascal and this is nearly my into to Delphi.  Delphi 7 is running in a Windows XP VirtualMachine instance.  The project in question uses several third party libraries / tools.  Basically, I don't know where to start so I'll start at the beginning and hope you guys can help.

I first inherited these projects almost two years ago.  For the most part they work.  There is one project, however, that needs to have a few "magic" values modified every year.  These values should have been in a config file or even a database but they are hardcoded in the source.  Almost a year ago I was called on to update the magic numbers.  I was able to learn enough about the build environment to make the changes and build an executable that worked.  I ran the result, tested it and it seemed to be O
K.  It was put into production and it has run well since.

After getting the OK from the end user of this tool I checked the project into SVN.

I was asked yesterday to change the numbers for this year.  I have checked the Delphi Projects out of SVN;  I have tried to compile the "old" code into a working executable.  I have tried checking the source out and making the needed changes and then compiling.

The result is that I get an executable that, when run, tells me I get an EAccess Violation.  I have figured out how to "debug" the code.  It dies on a simple assignment statement in a section of code I have NEVER touched.  I am told that the target of the assignment is not visible.  It is declared in the same file and is, or might be, part of a TFace class.  Actually everything under that TFace definition is not Accessible.

There are tones of other non-critical issues.  But I seem to recall that last year, once I had the Project options and the Tools environment options set, the code compiled and the executable ran.  Not so this time.

Any initital ideas?
0 karres 8/4/2011 10:00:26 PM
> {quote:title=karres dean wrote:}{quote}
The project in question uses several third party libraries / tools.  
> 
> Any initital ideas?

That sounds fishy, so perhaps check to make sure all dynamic link library dependencies are present (and accessible) by your application, if you use any. The fact that it's a runtime error IMO puts these third party libraries in question first..

Goodluck!
Adrian
0 Adrian 8/5/2011 2:41:10 AM
> {quote:title=Adrian G wrote:}{quote}
> > {quote:title=karres dean wrote:}{quote}
> > The project in question uses several third party libraries / tools.  
> 
> That sounds fishy, so perhaps check to make sure all dynamic link library dependencies are present (and accessible) by your application, if you use any. The fact that it's a runtime error IMO puts these third party libraries in question first..

There is one library called Woll2woll that has two different library versions.  I may try the other one.  After i sent my note yesterday i found a 2 year old executable on this VM.  It at least starts without issue.

Dean...K...
0 karres 8/5/2011 2:33:47 PM
Reply:

(Thread closed)