{"id":193,"date":"2009-04-01T19:44:06","date_gmt":"2009-04-02T03:44:06","guid":{"rendered":"http:\/\/xiehang.com\/blog\/?p=193"},"modified":"2009-04-01T19:44:06","modified_gmt":"2009-04-02T03:44:06","slug":"ppcam-progress","status":"publish","type":"post","link":"https:\/\/xiehang.com\/blog\/2009\/04\/01\/ppcam-progress\/","title":{"rendered":"PPCam progress"},"content":{"rendered":"

I’ve created the main window (support close only \ud83d\ude41 ), and added codes to make sure there is always only one instance running (CreateMutex), as running multiple instances of P2P programs will be just a mess to me, hard to understand.<\/p>\n

The problem for now is, the PPCam application always has a command window, I have no idea where it comes from, have to check around.<\/p>\n

Also, I need to find documentation that explains “use type”, I’m trying my best to avoid using “use <package>” as I want to explicitly specify what the owner package is, because I’m still learning the language now thus better to know where come all those definitions.<\/p>\n

I will check in the source code once I solve the command window problem, it is a must.<\/p>\n","protected":false},"excerpt":{"rendered":"

I’ve created the main window (support close only \ud83d\ude41 ), and added codes to make sure there is always only one instance running (CreateMutex), as running multiple instances of P2P programs will be just a mess to me, hard to understand. The problem for now is, the PPCam application always has a command window, I […]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/193"}],"collection":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/comments?post=193"}],"version-history":[{"count":2,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/193\/revisions"}],"predecessor-version":[{"id":195,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/193\/revisions\/195"}],"wp:attachment":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/media?parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/categories?post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/tags?post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}