Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't save DPR file

76 views
Skip to first unread message

Sharon Phelps

unread,
Apr 18, 2001, 8:46:47 PM4/18/01
to
I removed Delphi4 using ADD/REMOVE Programs and in doing so messed up my
Delphi5. I had to reinstall all my components and reset search paths, etc.
But I must have missed something because I can't save the DPR file for one
of my DLLs. When I try I get the following message:

Access violation at address 520F039D in module 'CorIde50.bpl'. Read of
address 00000000.

Does anyone know how I can get going again?

Thanks!
Sharon


Clay Shannon

unread,
Apr 18, 2001, 9:43:59 PM4/18/01
to
"Sharon Phelps" <sph...@simulationdynamics.com> wrote in message
news:3ade3605_1@dnews...

>
> Access violation at address 520F039D in module 'CorIde50.bpl'. Read of
> address 00000000.
>

Did you try shutting down Delphi, and then starting up again, and giving it
another go?


Sharon Phelps

unread,
Apr 18, 2001, 10:03:30 PM4/18/01
to
Well, I've tracked down the line that's causing the problem. It's the
compiler directive,
{$R *.TLB}

So I can compile with this line in place, but I can't save the DPR unless I
remove it. Does anyone know how I can fix this problem?

Thanks,

Sharon

"Sharon Phelps" <sph...@simulationdynamics.com> wrote in message
news:3ade3605_1@dnews...

Sharon Phelps

unread,
Apr 18, 2001, 10:07:45 PM4/18/01
to
Hi Clay,

Yes, I've done that. I've rebooted. I've loaded an old version of the
file. I've created a new project and added all the units and tried
unsuccessfully to save that. I tracked it down to the compiler directive {$R
*.TLB}. I can save it if I remove that line, but I need that line!

Thanks,
Sharon

"Clay Shannon" <bclays...@earthlink.net> wrote in message
news:3ade4333_2@dnews...

Brandon Smith

unread,
Apr 19, 2001, 8:02:10 AM4/19/01
to
"Sharon Phelps" <sph...@simulationdynamics.com> wrote in message
news:3ade4808_2@dnews...

> Well, I've tracked down the line that's causing the problem. It's
the
> compiler directive,
> {$R *.TLB}
>
> So I can compile with this line in place, but I can't save the DPR
unless I
> remove it. Does anyone know how I can fix this problem?

Do you still have both the *.tlb and the *TLB.pas files? Even though
the .pas is controlled by the .tlb, you have to have the .pas file
present to save the .dpr. Try opening the .tlb and making a minor
change, such as adding an empy method and doing a refresh to try and
generate the .pas file.

Also, both the .tlb and the .pas files have to be read/write in order
to save the .dpr (also the .res file has to be present and writable).

--
Brandon C. Smith
http://www.synature.com


Sharon Phelps

unread,
Apr 19, 2001, 10:23:12 AM4/19/01
to
Hi Brandon,

Thanks for your suggestions. I do have the TLB.pas and.res files in the
directory, but I was going to change the TLB as you suggested anyway, and
found I no longer have the TLB editor available on my view menu. Nor do I
have the ActiveX tab on my NewItems dialog. I must still be missing a
package or something - Do you know what file I should look for?

Thanks
Sharon

"Brandon Smith" <Del...@synature.com> wrote in message
news:3aded3f0$1_2@dnews...

Brandon Smith

unread,
Apr 20, 2001, 7:59:28 AM4/20/01
to
Sounds like time to reinstall delphi, at least the registry only
install. That should bring back ActiveX.

--
Brandon C. Smith
http://www.synature.com

"Sharon Phelps" <sph...@simulationdynamics.com> wrote in message

news:3adef564$1_1@dnews...

Rudy Velthuis (TeamB)

unread,
Apr 20, 2001, 1:58:04 PM4/20/01
to
In article <3ade3605_1@dnews>, Sharon Phelps says...

> Access violation at address 520F039D in module 'CorIde50.bpl'. Read of
> address 00000000.
>
> Does anyone know how I can get going again?

Why don't you do a registry-only re-install of Delphi 5?
--
Rudy Velthuis (TeamB)

0 new messages