CnPack Forum


 
Subject: Install Latest Version in BDS2006 Architect
wagenheimer
新警察
Rank: 1



UID 2294
Digest Posts 0
Credits 2
Posts 2
点点分 2
Reading Access 10
Registered 2006-6-21
Status Offline
Post at 2006-6-21 22:43  Profile | Blog | P.M. 
Install Latest Version in BDS2006 Architect

Hi!

I did install CNPACK in BDS2006, but it did not works!

When Delphi is opening, "A insru玢o no "0x0000000" fez refer阯cia
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6756
Posts 3554
点点分 6756
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2006-7-15 08:56  Profile | Blog | P.M. 
OH. It's a serious problem.
Have you installed the latest updatepack of BDS2006? If yes. there must be some potational defects in our Wizards, which is hidden deeply.
But for this issue can not be reproduced in our environment, it's hard for debugging...
Top
wagenheimer
新警察
Rank: 1



UID 2294
Digest Posts 0
Credits 2
Posts 2
点点分 2
Reading Access 10
Registered 2006-6-21
Status Offline
Post at 2006-8-26 04:38  Profile | Blog | P.M. 
I still can´t install the Lastest Version!

The installation runs fine, but when i did open Delphi (Borland Delphi 2006 Archithet with Lastest Updates), it occours the following errors:

Exception EAccessViolation in module rtl100.bpl at 0000000000.

Could not find wizard C:\Arquivos de Programas\CnPack\CnWizards\CnWizards_D10.dll!

But the dll is ok in this location!

Hope some help!
Thanks!
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6756
Posts 3554
点点分 6756
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2006-9-5 08:47  Profile | Blog | P.M. 
Sorry, but we have no clues about this.
We never meet this problem.
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6756
Posts 3554
点点分 6756
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2006-9-5 08:48  Profile | Blog | P.M. 
Can other Experts, such as GExperts, be installed successfully?
Top
wagner_tec
新警察
Rank: 1



UID 3351
Digest Posts 0
Credits 1
Posts 1
点点分 1
Reading Access 10
Registered 2006-11-23
Status Offline
Post at 2006-11-23 11:12  Profile | Blog | P.M. 
I have exactly problem.
For the reply, don磘 must have solution
Top
hsg
新警察
Rank: 1



UID 1291
Digest Posts 0
Credits 15
Posts 10
点点分 15
Reading Access 10
Registered 2005-11-16
Location Berlin,Germany
Status Offline
Post at 2007-1-19 17:46  Profile | Blog | P.M. 
on my new computer i had the same problem. Only differences between the computers are the windows-version: old computer: win2000 new computer winxp.
After importing the registry-key from my old computer into the new, all works fine.
HTH.
J?rg
Top
cata
新警察
Rank: 1



UID 6464
Digest Posts 0
Credits 23
Posts 12
点点分 23
Reading Access 10
Registered 2007-3-2
Status Offline
Post at 2007-3-2 18:08  Profile | Blog | P.M. 
BDS error

Same error on Turbo Delphi. Maybe a look on debug log will help to fix that.


Attachment: [Debug Log] log_BDS2006.rar (2007-3-2 18:08, 7.68 K)
Download count 537
Top
cata
新警察
Rank: 1



UID 6464
Digest Posts 0
Credits 23
Posts 12
点点分 23
Reading Access 10
Registered 2007-3-2
Status Offline
Post at 2007-3-2 18:55  Profile | Blog | P.M. 
take a look at this link, also:
http://qc.borland.com/qc/wc/qcmain.aspx?d=29214
Top
cata
新警察
Rank: 1



UID 6464
Digest Posts 0
Credits 23
Posts 12
点点分 23
Reading Access 10
Registered 2007-3-2
Status Offline
Post at 2007-3-19 00:16  Profile | Blog | P.M. 
The source of crash on BDS 2006

The error appears in this function because CnOtaGetCurrentSourceFile return a nil pointer not a pointer to an empty string and IsForm doesn't handle this.

function CurrentIsForm: Boolean;
begin
  Result := IsForm(CnOtaGetCurrentSourceFile);
end;


function CnOtaGetCurrentSourceFile: string;
{$IFDEF COMPILER6_UP}
var
  iModule: IOTAModule;
  iEditor: IOTAEditor;
begin
  Result := '';   
  iModule := CnOtaGetCurrentModule;       return nil so the result=nil not ''
  if iModule <> nil then
  begin
    iEditor := iModule.GetCurrentEditor;
    if iEditor <> nil then
      Result := iEditor.FileName;
  end;
end;
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6756
Posts 3554
点点分 6756
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2007-3-19 09:22  Profile | Blog | P.M. 
Thanks for your finding. We'll add this handling.
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6756
Posts 3554
点点分 6756
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2007-3-19 13:35  Profile | Blog | P.M. 
Hi, Cata

I  have a problem about your investigation:

  Result := '';   
  iModule := CnOtaGetCurrentModule;       return nil so the result=nil not ''

Here Result is initialized to '', and the nil is set to iModule, not result itself.
I think the parameter, that be passed to IsForm, is ''. And our fucntion can handle it.

How about your opinion?
Top
cata
新警察
Rank: 1



UID 6464
Digest Posts 0
Credits 23
Posts 12
点点分 23
Reading Access 10
Registered 2007-3-2
Status Offline
Post at 2007-3-19 14:25  Profile | Blog | P.M. 
After a little thinking maybe the problem appears because finding current module always return nil.
I'm currently investigating why is that. From what I read this could be because of bad J# installation (can you confirm this?).

function CnOtaGetCurrentModule: IOTAModule;
var
  iModuleServices: IOTAModuleServices;
begin
  Result := nil;
  QuerySvcs(BorlandIDEServices, IOTAModuleServices, iModuleServices);
  if iModuleServices <> nil then
    Result := iModuleServices.CurrentModule;   //this line always is nil  - but normally always have to exists a current module
end;

Anyway, I'll test more and I write the results.
Top
cata
新警察
Rank: 1



UID 6464
Digest Posts 0
Credits 23
Posts 12
点点分 23
Reading Access 10
Registered 2007-3-2
Status Offline
Post at 2007-3-19 14:51  Profile | Blog | P.M. 
Reinstalling of J# doesn't help.
But anyway avoid to install only J# 2.0 (without 1.1) or you'll get this error: com.borland.tg.sci.SciModelAccess
Top
cata
新警察
Rank: 1



UID 6464
Digest Posts 0
Credits 23
Posts 12
点点分 23
Reading Access 10
Registered 2007-3-2
Status Offline
Post at 2007-3-19 16:08  Profile | Blog | P.M. 
In the final I decided to reinstall BDS. So, installing cnwizard on a fresh BDS works perfect (with last SP). No errors.
The same after installing Jedi.

I installed all packages from previously installation and still is ok.

So, the conclusion is: REINSTALL BDS  (even if is not a pleasure)
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6756
Posts 3554
点点分 6756
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2007-3-19 17:00  Profile | Blog | P.M. 
So strange, problem.

Anyway, the REINSTALLATION works, it's ok for us.

Hope there can be a next chance for us to re-produce it and fix it.
Top
xander
新警察
Rank: 1



UID 2727
Digest Posts 0
Credits 16
Posts 9
点点分 16
Reading Access 10
Registered 2006-10-5
Status Offline
Post at 2007-4-25 01:07  Profile | Blog | P.M. 
i'd got the same problem, got an Access Violation at address XXXX in module rtl100.bpl. Read of Address 000000

but the difference is that i was working perfect with the last Nighty Build _309. But i'd run the CnConfigIO.exe and choose the last option "Restore Default CnPack IDE Wizards Config info".

After that at starting Delphi that error appears... i use BDS2006 by the way... well i think i must reinstall as you say

Top
 




All times are GMT++8, the time now is 2024-4-20 12:04

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.007786 second(s), 8 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP