Funny situation with UpdateLayeredWindow in managed C++
By ganton ~ July 28th, 2008. Filed under: WinForms.
Few days ago, I was reviewed a old code on managed C++ where UpdateLayeredWindow function is used. I post a problem importing the function using DllImportAttribute in my old post which I cannot understand why happened. Today I started to translate this code into C# in order to use it and to write a blog post about it and I realized that I do not need to import UpdateLayeredWindow function as I didn’t import other Win32 functions used in the code. That is why because I can access to all Win32 structures and functions directly from managed C++ code :).