This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
They certainly look like Windows API functions. If they're not working, check the reason why. GetLastError() will always return the last error that occurred, which you can then either format (search for how to) or look up using the direct value.
Stephan van Hulst wrote:Hard to say without seeing your code. The methods you refer to sound like they're either from the Windows API , or your own methods.
hi, Stephan, above is the code
I can activate app2 which hide in the system tray in winxp 32 bit
but cant activate the app2 hide in the system tray in windows 7 professinal 32/64bit
btw, for the windows7 professional the default setting, cant create the file in the folder of 'c:\Program Files' , and need to type sth to allow it to access
also in the windows 7 professional 32/64 bit
and a little confused, when I using the app1 in the eclipse which open normal cant ativate
when I using the app1 in the eclipse which open as administrator can ativate
or is there anything need I to change for the windows7 professional 32/64 bit security?