CnPack Forum


 
Subject: Problems with CnScript API in Delphi XE2
Starina
新警察
Rank: 1



UID 67799
Digest Posts 0
Credits 16
Posts 4
点点分 16
Reading Access 10
Registered 2013-2-22
Status Offline
Post at 2015-3-11 21:28  Profile | Blog | P.M. 
Problems with CnScript API in Delphi XE2

Hello!

I have a problems while migrating old (Delphi 7) scripts to DelphiXE2.
Old   scripts   used  some  Tools  Api  functions  those have not work
correctly  at  DelphiXE2.  For  example, at Delphi 7 i have used IOTAProjectGroup method
GetProjectCount.   But  in  DelphiXE2  that  occurs  acess  violation.
Same with GetProject method. GetModuleCount of IOTAProject interface returns 0 always.
Now  i  am  using cnpack functions like CnOtaGetProjectCountFromGroup,
those is working well. Is that as planned, or is that a bug of CnPack?
Another  thing,  is  i  cant use function IsTextForm (it returns False
always).
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2015-3-13 16:25  Profile | Blog | P.M. 
Thanks for you report. Maybe it's a bug related to unicode IDE, I'll check it.
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2015-3-20 14:05  Profile | Blog | P.M. 
Hi, we checked it. ToolsAPI changes a lot since D2007, our registration for ToolsAPI are incompatible so this error occurs.

We'll make the registration again in next version. but it needs some day.
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2015-3-25 09:39  Profile | Blog | P.M. 
We fixed this problem in 703 nightly build version. Could you download and verify it ?

http://www.cnpack.org/downbuilds.php
Top
 




All times are GMT++8, the time now is 2024-11-23 16:22

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

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