zCube.dll and Windows (XP, Vista, Windows7) issues

Moderator: Alex Zencovich

zCube.dll and Windows (XP, Vista, Windows7) issues

Postby AlexZencovich » Sun Feb 25, 2007 11:09 am

Hi,

There was several email I got about problem with registering of zCube.dll in MS Windows Vista.

Yes. It is true.
Problem really exists, if you will run regsvr32.exe zCube.dll you may get error message like
'Module zCube.dll was loaded but there was unable to call DllRegisterServer, error code 0x80004005'

This error message mean nothing for zCube.dll. It is Vista security message (very informative? :( ) which mean 'Access denied' or 'You have not rights to run this command'(in normal words)

To solve problem you may do the next

way A

1. Go to Windows start menu
2. Find menu item "command prompt" and make right click
3. Select menu item "Run as Administratior" (it is not just a joke - even if you login is Administrators group member, you have not corresponding rights!)
4. Run Command prompt as Adiminstartor
5. Locate directory where zCube.dll placed (do you remember how to navigate in MS DOS? It will very useful knowledge within MS Windows Vista - latest step of software technology :) )
5 Run regsvr32.exe zCube.dll. Now it will successful because you have corresponding rights.

way B

Turn off User Account Control
1. Go to Control panel=>User Accounts->Turn User Account Control on or off.
2. Uncheck checkbox on panel (You may got BSOD screen after that, don't worry - it is Windows :) )
3. Reboot your PC.
4. Run PivotCube installation or call regsvr32.exe zCube.dll from command prompt

After install you may turn it on.

PS Sorry for some sarcasm. But Vista security really just a nasty for usual, every day work.
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

Re: zCube.dll and Windows (XP, Vista, Server 2003 etc) issues

Postby AlexZencovich » Thu Jul 24, 2008 5:08 pm

That info provided by Christine Bliddal from Lawson (former Intentia)

Problem

We get an "Error Accesing memory location" - when trying to register the PivotCubeXlib.ocx
at one of our customers.
I think it might be a Microsoft error but still wanted to hear if it is that an error you have seen before (or have fix to :-)) ?

Solution

It was not Vista but Windows Server2003.
We found that it had to do with DEP (Data Execution Protection).

The issue was that they had an AMD processor (which are the only ones with DEP enabled (I've later been told)).
That had DEP enabled.

We found that

Disabling DEP (by
My Computer -> Properties -> Advanced -> Startup and Recovery -> Setting -> Edit
Change /NoExecute=.. to /NoExecute=AlwaysOff
Reboot)

Made it possible to register the components (and then everything worked :-)).
(Then you can always enable DEP afterwards.)
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

Re: zCube.dll and Windows (XP, Vista, Server 2003 etc) issue

Postby AlexZencovich » Mon Sep 13, 2010 3:51 pm

If you have tried to install zCube.dll in Windows7 64bit be sure

1. It is not copied to Program Files directory (that is for 64 bit applications). Better to create own dir like c:\PivotCube or d:\PivotCube or c:\MyFiles\PivotCube etc.

2. Copy zCube.dll to that directory

3. Run command line within "Run as administrator" mode

4. Run command regsvr32.exe zCube.dll from tha place where you have copied zCibe.dll
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 News

Who is online

Users browsing this forum: No registered users and 0 guests

cron