X64 LoadLibrary
I've got a control panel applet that was built for x64. It's a utility applet and can be used to perform component registrations. When users try to use it to register 32 bit components it fails since you cannot load a 32 bit dll into a 64 bit process.
Is there a way for me to tell what type of component (32 bit/64 bit) the user is trying to load? If so, I can use that information to present a message and stop the process.