Click here to Skip to main content
15,892,839 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Team,

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

C#
[DllImport("user32.dll")]
        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
Comments
[no name] 3-Jul-12 11:23am    
what makes you think that it's a violation of the EULA?
Sergey Alexandrovich Kryukov 3-Jul-12 11:44am    
Unbelievable. Did Microsoft scared people that badly? :-)
--SA
[no name] 3-Jul-12 11:44am    
It would seem that every single programmer is violating the EULA then....
Sergey Alexandrovich Kryukov 3-Jul-12 11:46am    
Well... only on Windows. :-)
--SA
Sergey Alexandrovich Kryukov 3-Jul-12 11:46am    
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...
--SA

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900