I have a custom DLL when trying to instantiate in a XP box, I get "Error 70 - Permission Denied". If i login as Administrator then this DLL works fine.
More info, I created a new folder, copied the dll into that folder, regsitered that DLL, still i got the same error.
Interesting factor i found was, I have another DLL, in another machine i got the same error, but then i figured that the if DLL file was read-only then i was getting "Error 70", after changing it to not read-only the problem was solved. But in this machine it does not work at all. The logged in user will be part of "Users" and "Powerusers" group.
I know that it is some permission setting with XP, but dont know what to change and where to change. Any help is greatly appreciated.
Application : VB6
DLL : VB6
Dim obj as TestObject.clsTest
Get error in this line -> Set obj = New TestObject.clsTest