BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi 7 ... Upgrade to Studio 2006: errors in my components

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Mon Jul 24, 2006 6:48 pm    Post subject: Delphi 7 ... Upgrade to Studio 2006: errors in my components Reply with quote



Our company recently upgraded from delphi 7, to 2006.

In doing so, we ran into a few problems.

I had to change the default project options to NOT have the "strict var
string" option on. I also found that 2006 brought out a few more
errors than delphi 7.

For instance, in one of our components, we now have an "Invalid hook
handle" error, where we didn't have this before...and it only happens
when the .exe is exiting.

Also, some activeX property pages aren't working in MMC. When shown,
they error out with "[Class].[PropertyPage]" class not registered.
But, it is indeed registered. I even triple-ensured it was registered
by using regsvr32.

I've searched and haven't found anyone with simliar problems. Does
anyone have a suggestion?

I guess my main question is: besides the strict var string option, is
there anything else that's on/off by default that i need to change, to
emulate delphi 7?

once i know of all the options, i can change any offending code...but
for now, i just need it to work!

any help is greatly appreciated.

Cheers,
J
Back to top
Guest






PostPosted: Tue Jul 25, 2006 12:18 am    Post subject: Re: Delphi 7 ... Upgrade to Studio 2006: errors in my compon Reply with quote



Actually, an even worse problem I'm getting: now, when an .exe of ours
exits, I get the "Unknown software exception".

Again, this only started happening when we went to borland delphi
studio 2006.

Any ideas on how to track this one down? The address it has is way out
of range for my program.
Back to top
Guest






PostPosted: Tue Jul 25, 2006 11:08 pm    Post subject: Re: Delphi 7 ... Upgrade to Studio 2006: errors in my compon Reply with quote



After more research, i think it might be possible that the DCOM library
we use is outdated. Components may be getting Released more than the
reference count.

Is there a dcom library for 2006, like the one we already have?

The files in the library are:
AxCtrls.pas
ComObj.pas
ComServ.pas
OleCntrs.pas
svcmgr.pas
Back to top
Riki Wiki
Guest





PostPosted: Sat Jul 29, 2006 8:11 am    Post subject: Re: Delphi 7 ... Upgrade to Studio 2006: errors in my compon Reply with quote

Hoi

Your question is more fitting for the newsgroup
b.p.d.com.activex.using, try to repost the question there, and do the
repost to the Borland news server to make everybody see your message.

How to post to Delphi newsgroups:
<http://delphi.wikia.com/wiki/Delphi_Newsgroups>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.