Dynamic DllImport

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hey folks,

I'm trying to DllImport the SendMessage and SetWindowTheme APIs, but
maintain backward compatibility with Win2k and stay cross-platform
with Mono. So I need a way to import these APIs if they are there but
fail gracefully if they aren't. Any ideas?

.