Click here to Skip to main content
12,556,922 members (49,468 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# Windows C#4.0
Hello Team,

I have developed one C# Windows Application in which I have Liked to User32.Dll as below -

        private static extern UInt32 GetWindowThreadProcessId(Int32 hWnd, out Int32 lpdwProcessId);

I am going to copyright my application and Sell it.
My Question is - Linking to user32.dll (As mentioned above) is against Microsoft EULA?

Please help.
Posted 3-Jul-12 5:16am
Wes Aday 3-Jul-12 11:23am
what makes you think that it's a violation of the EULA?
Unbelievable. Did Microsoft scared people that badly? :-)
Wes Aday 3-Jul-12 11:44am
It would seem that every single programmer is violating the EULA then....
Well... only on Windows. :-)
Why would you need this function? Don't be so surprised: if you do something unusual and need help, I, for example, would prefer to know it if makes any sense before thinking about to spend time for answering...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.161026.1 | Last Updated 3 Jul 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100