c++ - FindWindow is not working? -


i want know why code not working?

    hwnd hwnds = findwindow(null,(lpctstr)"calculator"); 

it returns null hwnds....

any idea how fix this? thank :)

dont cast string.

hwnd hwnds = findwindow(null,_t("calculator")); 

Comments

Popular posts from this blog

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -