I am really curious as to why you would want to call CreateWindowEx, but
nonetheless here is your answer.
You need to use a DllImport attribute. i.e. -
[DllImport("user32.dll")]
Of course there is going to be some data marsheling involved to convert clr
types to native.
A good resource for this is
www.dotnetinterop.com
Take care!
Nathan Neitzke
Embry Riddle University
Daytona Beach, FL
"Patrick Blackman" wrote:
Need example of using WinAPI "CreateWindowEx" in c# any help would be
appreciated.