HTA and MS Vista usage

Useful things for PivotCubeX - code examples, algorithm solutions etc

Moderator: Alex Zencovich

HTA and MS Vista usage

Postby AlexZencovich » Sun Oct 07, 2007 7:32 am

Problem:

Attempt to use PivotCubeX in HTA (compiled HTML) application in MS Vista may produce error like 'zCube.dll is not registered' altrough HTML or VB applications will works on same PC. Seems like Vusta scurity doe not allow for HTA application acces from ActiveX control for another OLE control.

Solution:
First of - thanks for Mr. Steven Lim from Polaris Net, Malaysia)

It has something to do with VISTA DEP (Data Execution Prevention). I turned DEP off on Vista and the HTA could work.

This is how I turn DEP off:
Disable DEP in Vista:

1. Click Start
2. Click All Programs
3. Click Accessories
4. Right Click on Command Prompt
5. Left click on Run as Administrator
6. Click the Allow button if it asks you for permission
7. Type or copy and paste this into the command prompt window:

bcdedit.exe /set {current} nx AlwaysOff

8. Hit enter and you should see the confirmation: Operation Completed Successfully
9. Reboot and DEP should be off.

Dark side:
Problem is - DEP is important to Vista security I think...so not all customers would be happy to turn it off. Would be nice to be able to install program without so many security holes on Vista.
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am

Return to PivotCubeX

Who is online

Users browsing this forum: No registered users and 1 guest

cron