Click here to Skip to main content
15,905,144 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I have moved Visual 6.0 C++ project from computer runs Win XP OS to WIN 7 32 bit OS
The C++ project builds proxies.dll that successfully has been registering in Win XP .
But after I transferred the project to Win 7 32 bit & have built proxies.dll ,the regsvr32 cannot register proxies.dll & even any message is not given as error.


What problem maybe with creating this dll under Win 7,maybe some configuration adoption needed, how to catch where the registry has been failed?

can you help please?

What I have tried:

I run it from command line with administrative rights & UAC is lowest in WIN 7
but registry failed w/o message
Posted
Updated 25-May-16 22:00pm
Comments
Richard MacCutchan 26-May-16 3:44am    
Without more information it is impossible to guess.

1 solution

Hi
I build proxy dll in Visual Studio 6.0 WIN7 and trying to registry it with regsvr32, the registry tool didn't gave any error message & registry failed.
(In Win XP the registry of proxy dll is succeeded)

I opened this dll in Dependency Walker (in Win 7)
the error is in IERTUTIL.dll
The system cannot find the file specified
API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.dll
API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.dll
API-MS-WIN-CORE-WINRT -STRING --L1-1-0.dll
DCOMP.DLL
IESHIMS.dll

what additional info may help?
 
Share this answer
 
Comments
Nika34 26-May-16 4:54am    
can help somebody?
I cannot register in Win 7 proxy dll created after build on Win 7 OS
dll created after build on XP passing registry successfully.
In dependency dll program the error is :
The system cannot find the file specified:
API-MS-WIN-CORE-WINRT-STRING-...
barneyman 26-May-16 22:00pm    
if regsvr32 doesn't give any errors (and you were UAC elevated) then the registration worked ...

it sounds like the proxy isn't proxying ... define 'doesn't work' please

is this a proxy/stub or just a proxy - is the com object it's proxying for registered .. if you watch the regsvr32 process with procmon.exe is it making the right registry entries
Nika34 5-Jun-16 2:53am    
I tried to register COM object with regsvr32 doesn't give any error & any success.I checked inside the registry - the com is not registered.
How can I debug what is wrong in proxy.dll (COM object)?
I tried open procmon.exe & didn't understand what I can check with it.
(Couldn't find regsvr32.exe / proxy.dll)
Please help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900