10844 : phGantXControl.ocx under Vista Home Premium

Question

I’m can not register the phGantXControl.ocx under Vista Home Premium ( I’m using the command :regsvr32 phGantXControl.ocx). The system returns that a call to the DllRegisterServer failed with the error code : 0x80004005. Also (maybe for the same reason?) I can not import this activex into the Delphi 7 IDE. Please help me as I’m in the proccess of migrating my develpment from XP to new vista and I’m faced with many combatibility problems.

Answer

You must run regsvr32 as administrator in Vista. Just start a command prompt and choose “Run as administrator”, then execute regsvr32.

Further info on installing the phGantXControl.ocx in Vista Ultimate. You must have the UAC (the advanced user rights thingy) turned ON.

Leave a Reply