{"id":291,"date":"2009-05-12T23:33:39","date_gmt":"2009-05-12T18:03:39","guid":{"rendered":"http:\/\/techtwaddle.net\/?p=291"},"modified":"2011-04-12T23:33:55","modified_gmt":"2011-04-12T18:03:55","slug":"applications-pviewce-process-viewer-provided-with-sdk-samples","status":"publish","type":"post","link":"https:\/\/techtwaddle.co.in\/blog\/2009\/05\/12\/applications-pviewce-process-viewer-provided-with-sdk-samples\/","title":{"rendered":"Applications: PViewCE, Process Viewer provided with SDK samples."},"content":{"rendered":"<p><span style=\"font-family: Comic Sans MS;\">Well, I was browsing through the samples that come with Windows Mobile SDK and was surprised to find that they provide a process viewer! You can find the sample at the following path:<\/span><\/p>\n<div style=\"text-align: justify;\"><br style=\"font-family: Comic Sans MS; color: rgb(0, 0, 128);\" \/><br \/>\n<span style=\"font-family: Comic Sans MS; color: rgb(0, 0, 128);\">&lt;WinMob6Std_InstallDir&gt;\\Samples\\Common\\CPP\\Win32\\PViewCE<\/span><br style=\"font-family: Comic Sans MS;\" \/><br \/>\n<br style=\"font-family: Comic Sans MS;\" \/><br \/>\n<span style=\"font-family: Comic Sans MS;\">I ran the sample on the emulator and it provided much more features than the process viewer I built in the previous <a href=\"http:\/\/geekswithblogs.net\/TechTwaddle\/archive\/2009\/05\/26\/applications-creating-a-simple-ui-application-from-scratch-process-viewer-again.aspx\">posts<\/a>. You can view information about the modules loaded by a particular process, information about all the threads running in the process etc. The api&#8217;s used are <span style=\"color: rgb(0, 0, 128);\">Module32First()<\/span>, <span style=\"color: rgb(0, 0, 128);\">Module32Next()<\/span>, <span style=\"color: rgb(0, 0, 128);\">Thread32First()<\/span> and <span style=\"color: rgb(0, 0, 128);\">Thread32Next()<\/span> to get information about modules and threads respectively. And they work exactly like <span style=\"color: rgb(0, 0, 128);\">Process32First()<\/span> and <span style=\"color: rgb(0, 0, 128);\">Process32Next()<\/span> that we used.<\/span><br style=\"font-family: Comic Sans MS;\" \/><br \/>\n<br style=\"font-family: Comic Sans MS;\" \/><br \/>\n<span style=\"font-family: Comic Sans MS;\">Its not hard to add the features into our process viewer, except that I am a little lazy to do it.<\/span><br style=\"font-family: Comic Sans MS;\" \/><br \/>\n<br style=\"font-family: Comic Sans MS;\" \/><br \/>\n<span style=\"font-family: Comic Sans MS;\">Anyways, I came across another sample called SpinTest, which really excited me! So I am gonna dig deeper into the sample and find out how it works and lets see if we can do something fun from what we learn. You can find the sample in the following path:<\/span><br style=\"font-family: Comic Sans MS;\" \/><br \/>\n<br style=\"font-family: Comic Sans MS;\" \/><br \/>\n<span style=\"font-family: Comic Sans MS; color: rgb(0, 0, 128);\">&lt;WinMob6Pro_InstallDir&gt;\\Samples\\PocketPC\\CPP\\win32\\Spintest<\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Well, I was browsing through the samples that come with Windows Mobile SDK and was surprised to find that they provide a process viewer! You can find the sample at the following path: &lt;WinMob6Std_InstallDir&gt;\\Samples\\Common\\CPP\\Win32\\PViewCE I ran the sample on the emulator and it provided much more features than the process viewer I built in the &hellip; <a href=\"https:\/\/techtwaddle.co.in\/blog\/2009\/05\/12\/applications-pviewce-process-viewer-provided-with-sdk-samples\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Applications: PViewCE, Process Viewer provided with SDK samples.<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1ktFF-4H","_links":{"self":[{"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/posts\/291"}],"collection":[{"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/comments?post=291"}],"version-history":[{"count":1,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/posts\/291\/revisions"}],"predecessor-version":[{"id":292,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/posts\/291\/revisions\/292"}],"wp:attachment":[{"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/media?parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/categories?post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techtwaddle.co.in\/blog\/wp-json\/wp\/v2\/tags?post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}