Click here to Skip to main content
15,896,153 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have a query regarding communicating 64 bit exe or dll with 32 bit components.

is there any way to dll or we have to write a wrapper or directly we can have acces changing the registry settings.

What I have tried:

communicating 64 bit exe or dll with 32 bit components
Posted
Updated 20-Apr-16 1:43am

1 solution

A 64 bit EXE can't call 32 bit assemblies.
See here: 64 bit app calling 32 bit dll?[^] for suggestions.

And as far as the registry goes, access is restricted in the same way to both 64 and 32 bit assemblies - and is likely to be more strict rather than less. Unless you need to change registry settings for a different application, you would be better off ignore it completely, and using your own local storage instead. If nothing else, local storage won't require process elevation!
 
Share this answer
 
Comments
Gayle123 20-Apr-16 7:55am    
Please let me know a way to do that ... i have to do .. for one of my projects ..
OriginalGriff 20-Apr-16 8:32am    
Follow the link - as I said, it gives some suggestions.
Gayle123 21-Apr-16 6:05am    
not great explanation

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