Saturday, October 23, 2010

Nanfang Daily: looking forward to the first General Secretary of micro-Bo



General Secretary Hu Jintao of the micro-Bo opened yesterday morning at the People's Network, to the evening, there are over 10,000 fans. To digest the matter, feel that this is the meaning. First, micro-Bo opened eight in the morning of New Year, which is most of the first working day of the government departments; second annual National "," forthcoming, I do not know whether this micro-Bo, general secretary of the "two sessions" during the Interactive deliberately set.

People's Network to act with style, not easily come up with the General Secretary of the microblogging accounts to joke Moreover, this account actually the audit by the People's Network, so the microblogging for the time being I can be held that it was opened by General Secretary. Open microblogging national leaders in fact is not surprising that Obama had run for president on a big help by twitter, Medvedev and Putin are also attached great importance to the role of the Internet. Bo, general secretary of the opening will be followed by micro-managing, what information will be released, are exciting topics.

In recent years, the state propaganda department of public opinion more and more attention on the network. People's Network and other large national network television news sites and the emergence of the Chinese official symbol of the rise of online media. Today, China's Internet has become a gradually mature field of politics, public opinion outside the system through the Internet again and again produced a powerful force, the voice on the Internet within the system is relatively weak, and this is a more interesting difference abroad. Foreign political figures and ordinary people have their own screen name, social tools, and personal blog, have their own web space. China's political figures seem to exist inherently divide and the Internet, they believe in less talk and bureaucratic principles, there is a strong transmission network effect, so their voices the brink of extinction. In such circumstances, any person on the Internet within a system of activities produce a lot of marginal effect, government officials opened blog or microblogging interaction with users often become hot news. Opening of a deputy departmental level cadres had enough popular microblogging, let alone this level, general secretary of the Communist Party's highest leaders.

In this context, the General Secretary General Secretary of micro-Bo is not simply a personal micro-Bo. I guess, general secretary of the significance of this is that forces within the system can encourage access to the Internet, there are voices within the system more conducive to expanding power of the Internet within the system's voice; the other hand, by virtue of the general secretary's personal prestige to attract Internet users concerned about the central decision-making, the completion of the national level to communicate with the public. To be sure, as long as the general secretary is really through the microblogging news release, whether the first of what will become the network asked the governance and a milestone in China's political life.

Looking forward to the first General Secretary of micro-Bo.







Recommended links:



can i copy ps3 games how to cack ps3 is it



09 'happy to steal food' in 2010 what we steal?



Best Encryption Tools



My favorite Timers And Time Synch



Mito Xiu 1 minute transfiguration "Impressionism" Photo



Lei Jun Said Kingsoft Feeling Lonely After The Listing



TOD to WMV



VBScript Pattern Properties



Quality control in the "Statistics" Several concepts



Rising claims the former executives was leaked 2.31 million



MOV to iPod



MP4 To FLV



Chip PC industry suppliers and the Evolution of two-man



Timers And Time Synch evaluation



SHI Yuzhu giant empire base



FREE from interference, I use parental controls Assistant Ada



Wednesday, October 20, 2010

National Domain Name defeat ". COM"


Then something of value, if only shelved, also difficult to obtain public favor. CN domain name registration of the final volume to 5.3 million beyond the domestic COM domain names, its power is in the rich and wide range of applications.

Present, as Sina, Baidu, Sohu's fire performance of the Nasdaq in the United States, "China concept" strong impact with the international Internet community's attention, the most dazzling terms. However, the Internet's first side "flag" the rise is called lonely entrants, it is our familiar ". CN".

"Flag"

In the distant in October 1990, Professor Qian Tianbai behalf of the Chinese, the official in the Internet domain name registered distribution management center of China's top-level domain. CN, and established the first Chinese CN domain name server. Mysterious and strange at the time on the Internet, just as quietly plugging the side of "flag", from China has its own online identity.

聽聽聽 4骞村悗锛屼腑鍥藉叏鍔熻兘鎺ュ叆鍥介檯浜掕仈缃戯紝CN鍩熷悕鐨勯《绾ф湇鍔″櫒涔熺粨鏉熶簡鈥滄梾灞呪?寰峰浗鐨勫巻鍙诧紝姝e紡杩佸洖鍥藉唴銆?997骞碈N鍩熷悕娉ㄥ唽绠$悊鏈烘瀯鈥斺?涓浗浜掕仈缃戠粶淇℃伅涓績(涓嬬О鈥淐NNIC鈥?姝e紡缁勫缓锛孋N鍩熷悕鐨勫彂灞曠敱姝よ蛋鍑烘繁闄紝閫愭涓烘櫘閫氱綉姘戞墍鐔熸倝銆佹帴鍙椼?

聽聽聽 鍦–NNIC鎴愮珛涔嬪垵锛孋N鍩熷悕娉ㄥ唽閲忓彧鏈夊尯鍖?000鏉ヤ釜銆備絾鍒?005骞?鏈堬紝CN鍩熷悕娉ㄥ唽閲忓凡杈惧埌70澶氫竾涓紝鎴愪负浜氭床娉ㄥ唽閲忔渶澶х殑鍥藉椤剁骇鍩熷悕銆傚崐骞翠箣鍚庯紝CN鍩熷悕缁堜簬涓?妇绐佺牬鐧句竾锛屾垚涓哄叏鐞冪鍏ぇ鍥藉椤剁骇鍩熷悕銆傝繖涓?敞鍐岄噺鍦?006骞村勾搴曡鍒锋柊鍒?80澶氫竾涓紝鎺掑悕涔熶笂鍗囧埌涓栫晫绗洓浣嶃?

聽聽聽 鍘嗗彶鐨勬寚閽堝仠鐣欏湪2007骞?鏈堬紝CNNIC鍚戜笘鐣屽鍛婏紝CN鍩熷悕娉ㄥ唽鎬婚噺杈惧埌530涓囷紝澶у箙瓒呰秺COM鍩熷悕(Commercial organizations锛岀粍缁囧煙鍚?鍥藉唴娉ㄥ唽閲忥紝杩涘叆涓栫晫鍥藉椤剁骇鍩熷悕涓夌敳姒滃崟锛屽熀纭?祫婧愮殑寮哄娍鍙戝睍涓轰腑鍥戒簰鑱旂綉鍙戝睍娉ㄥ叆浜嗘柊鐨勫姪鎺ㄥ墏銆?br />
聽聽聽 鍏ㄦ皯鈥滅粌鍏碘?

聽聽聽 涓嶤N鍩熷悕鐨勮繀閫熷.澶х浉瀵瑰簲鐨勬槸锛?0骞翠箣鍓嶏紝涓浗浠呮嫢鏈?0涓囩殑缃戞皯锛?0骞翠箣鍚庯紝涓浗缃戞皯鏁伴噺鍒欑獊鐮翠簡1.4浜裤?鍏ㄦ皯鎬х殑搴旂敤淇冭繘CN鍩熷悕鍦ㄧ煭鏃堕棿鍐呭疄鐜颁簡澶ц法姝ョ殑璺宠穬寮忓彂灞曘?

聽聽聽 鍑轰簬瀵圭數瀛愭斂鍔″拰淇℃伅瀹夊叏鐨勯渶姹傦紝CN鍩熷悕鏈?棭鍦ㄦ斂搴滄満鏋勫緱鍒板箍娉涘簲鐢ㄣ?鍏ㄥ浗浜哄ぇ缃戙?涓浗鏀垮簻缃戙?鏂板崕缃戠瓑鍏崇郴鍥借姘戠敓鐨勭綉绔欓兘鍚敤浜咰N鍩熷悕浣滀负涓诲煙鍚嶏紝鍚勭骇鏀垮簻缃戠珯涔熺悍绾峰甫澶村姞寮哄煙鍚嶄娇鐢ㄨ鑼冿紝鐩墠楂樿揪97%鐨勭渷绾ф斂搴滅綉绔欏煙鍚嶈鑼冧娇鐢–N鍩熷悕銆傚幓骞村寳浜?008濂ヨ繍浼氭寮忓惎鐢╞eijing2008.CN涓诲煙鍚嶄篃涓?椂浼犱负浣宠瘽銆?br />
聽聽聽 鍦ㄦ斂搴滄満鏋勫惎鐢–N鍩熷悕鐨勭ず鑼冧笅锛屾捣灏斻?涓夋槦绛変紬澶氱煡鍚嶄紒涓氫竴娆℃?鏁扮櫨涓狢N鍩熷悕鐨勬敞鍐岃鍔ㄦ寲鎺樺嚭浜咰N鍩熷悕鐨勪环鍊兼墍鍦紱鑱斿悎鍒╁崕鎺ㄥ箍涓崕鐗欒啅鏃舵敞鍐寊hyg.cn鐨勮鍔ㄤ篃寮曞緱鍏朵粬浼佷笟鍦ㄦ帹骞挎椿鍔ㄤ腑鏁堜豢銆傚湪浜掕仈缃戝叕鍙稿拰鍥戒紒500寮虹瓑闆嗕綋鍚敤CN鍩熷悕琛屽姩鐨勫甫鍔ㄤ笅锛屾牴鎹潈濞佺粺璁★紝涓浗20涓富娴佽涓氫腑锛屽凡鏈?0%鐨勪紒涓氬惎鐢ㄤ簡CN鍩熷悕銆?br />
聽聽聽 鏀垮簻鍜屼紒涓氬CN鍩熷悕鐨勫簲鐢ㄧ粰缃戞皯鐨勭ず鑼冩晥搴旀槸宸ㄥぇ鐨勶紝杩欏姞閫熶簡澶т紬鍖栧簲鐢ㄧ殑鍒版潵銆傚緢澶氱綉姘戝紑濮嬩富鍔ㄥ皾璇曘?浣撻獙CN鍩熷悕鐨勫簲鐢紝骞跺湪鎺㈢储鍑烘柊鐨勫簲鐢ㄦā寮忥紝鍚稿紩鏇村鐨勪汉鍔犲叆锛屽舰鎴愪簡鑹?鐨勪簰鍔紝鐩存帴淇冭繘浜咰N鍩熷悕鐨勭垎鍙戙?

聽聽聽 CN澶у弽鏀?br />
聽聽聽 鐒惰?锛孋N鍩熷悕鐨勭垎鍙戠粷闈炴槸涓?绠?崟鐨勪豢鏁堣涓恒?

聽聽聽 鈥滀笉浠呭湪娉ㄥ唽鏉冪泭涓婃洿鏈変繚闅滐紝CN鍩熷悕鐨勬敞鍐屾墜缁篃鏇翠负绠?究蹇嵎銆佽闂洿涓虹ǔ瀹氥?鈥濅竴浣嶄粠COM鍩熷悕杞姇CN鍩熷悕搴旂敤鐨勬敞鍐岃?璇达紝瀵笴N鍩熷悕浠峰?鐨勯噸鏂拌璇嗭紝璁╀粬鎶涘純浜嗏?COM鍩熷悕鏄浗闄呯殑銆丆N鍩熷悕鏄浗鍐呯殑鈥濈殑閿欒瑙傚康銆?br />
聽聽聽 浣滀负CN鍩熷悕涓ゅぇ浠茶鏈烘瀯涔嬩竴锛屼腑鍥藉浗闄呯粡娴庤锤鏄撳鍛樹細鍩熷悕浜夎涓績绉樹功闀挎潕铏庤〃绀猴紝CN鍩熷悕鐢变腑鍥借嚜涓荤鐞嗭紝鍦ㄤ簤璁徊瑁佷腑閲囩敤涓枃璇█銆侀?鐢ㄤ腑鍥芥硶寰嬶紝鐩告瘮COM鍩熷悕鐢卞浗澶栨満鏋勪徊瑁佽?瑷?紝涓浗娉ㄥ唽鑰呭湪CN鍩熷悕浜夎涓幏鑳滃嚑鐜囪杩滆繙楂樺嚭锛岄伩鍏嶄簡鍦–OM鍩熷悕绾犵悍涓婇伃閬囩殑鍙嶅悜鍩熷悕鎺犲ず銆?br />
聽聽聽 鑰屾嵁CNNIC鎶?湳鎬荤洃鏉庢檽涓滀粙缁嶏紝涓轰簡瀹炵幇CN鍩熷悕璁块棶閫熷害鍜岀ǔ瀹氭?鐨勬彁楂橈紝CN鍩熷悕涓嶄粎鍦ㄥ幓骞村仛浜嗛噸鏂伴儴缃诧紝杩樹笌闊╁浗绛夊悎浣滃湪娴峰浜掓斁鏈嶅姟鍣紝鍒囧疄淇濋殰浜咰N鍩熷悕璁块棶鐨勭ǔ瀹氶珮鏁堛?杩戞湡锛孋NNIC姝e湪灏辨缇庤缃瓹N鍩熷悕灞曞紑璋堝垽锛屽苟鏈夋湜鎸鸿繘娆х編锛屼互鏂逛究娴峰鐢ㄦ埛璁块棶CN鍩熷悕銆?br />
聽聽聽 浣滀负涓浗浜掕仈缃戝熀纭?祫婧愶紝CN鍩熷悕鏄紒涓氱殑浜掕仈缃戝搧鐗屾爣璇嗭紝鏄腑鍥戒紒涓氶?寰?浗闄呭寲鐨勬ˉ姊侊紝涔熸槸璺ㄥ浗浼佷笟瀹炵幇鏈湡鍖栫殑閲嶈鎵嬫銆傚浜庝腑鍥藉箍澶х綉姘戞潵璇达紝CN鍩熷悕鍒欐槸浠栦滑涓嶅彲鎴栫己鐨勭綉缁滆韩浠借瘉锛屽洜涓哄畠浣撶幇浜嗕釜浜哄湪浜掕仈缃戜笂鐨勭嫭鏈夎韩浠姐?

聽聽聽 姣棤鐤戦棶锛孋N鍩熷悕杩欎簺浠峰?鍜岀壒鑹查?娓愯鍙戞帢鍜岃鍙紝鏄疌N鍩熷悕娉ㄥ唽閲忕獊鐮?30涓囥?鍦ㄥ浗鍐呰秴瓒奀OM鍩熷悕鐨勬牴鏈師鍥犮?

聽聽聽 鈥滀綔涓哄浗瀹跺煙鍚嶆敞鍐岀鐞嗘満鏋勶紝绠$悊缁存姢CN鍩熷悕鐨勮繍琛屾槸涓?釜閲嶈鑱岃兘锛屼篃鏄疌N鍩熷悕鍙戝睍鐨勫熀纭??鑰岃瀹炵幇CN鍩熷悕鍙戝睍鐨勭獊鐮达紝杩樺繀椤诲皧閲嶅競鍦鸿寰嬨?鈥滳NNIC鍔╃悊涓讳换鍒樺織姹熷鏄銆?br />





相关链接:



"Crocodile Group" under the chip, "national character"



2006 IPTV in China Summit less what?



avgnsx exe Error quick clean up



XviD to WMV



Ministry of Information Industry, Dalian today on the AVS will determine THE acceptance of IPTV comm



AVI TO DivX



Adventure And Roleplay reviews



Articles ABOUT Desktop



A New Generation Of Master Screenshot Captor Screenshot



MKV to Zune



A Fully CG Production Process - The First Draft (the Original Painting)



CLR 4.0 new content in abnormal State of confusion



Decrypt the World Trade Center's First building built on the ruins of



Photoshop retouching images (e) remove color cast



"Aion," Summed Up Their Experience With The Bow Trap Star



Wednesday, October 6, 2010

Note that the specifications of DVD burners support


Judging from the current market trend, DVD burner and CD-RW burner as homogenization quite common, whether in technical or functional, are close to each brand, but after further digging, but also many details of the issues to consider.

While all DVD burners, but not DVD burners can use the DVD recording of the disc, carved out of the DVD disc can be in all the DVD drive to use, because the DVD burner also has specifications, standards points. As the initiator and the development of standards for non-uniform, DVD Burner consists of DVD + RW and DVD-RW, DVD-RAM three criteria.

(1) DVD-RAM is the earliest of the DVD specifications, evolved from Panasonic's PD, so it is with the technical specifications of PD, there are many similar places. Panasonic DVD-RAM original design, there is a very important purpose, which is higher read performance data, so DVD-RAM drive is not indexed by traditional methods, using the ZCLV not the same with the average CLV, but with MO somewhat similar, that is, there will be division of the above sectors, the more close to the inner ring of the paragraphs, the slower, the more the faster outer ring, the search data is very fast, but within each section, the speed is the same. Coupled with DVD-RAM formatted data format for fixed length data packets, so the data format is similar with the hard data, it in all cases the reaction speed. But the drawback of this design is, to read DVD-RAM discs, DVD drive must change the drive motor design in a way which makes it possible to read DVD-RAM optical drive small quantity, but also indirectly lead to DVD-RAM CD-ROM read compatibility is not stable film.

(2) DVD-R/RW standard by the Pioneer Pioneer raised in 1998, due to a longer history, but also R / RW and launched, reusable burn, remove, store data or audio-visual media, and most DVD players currently machine compatible recording DVD disc price is currently the most expensive recording formats. Drawback is burning fast enough, R speed is only 2x, RW speed is only one speed, but now there 4x models. DVD-RW has the advantage of good compatibility, but also to DVD video format to save data, it can be played in DVD machine. But it is a big drawback format takes a half hour. In addition, DVD-RW offers two recording modes: video recording mode called, and another called DVD video mode. The former mode feature rich, but not compatible with the DVD player, the user needs to choose either format.






Recommended links:



MKV to MP4



Picked E-Mail Tools



DreamWorks, Paramount Blu-ray Defection SERAP 150 Million U.S. Dollars Compensation



RMVB to MP4



STAMP effect in the production of Fireworks



How to resolve bad superblock at error message



Enterprises through on the ladder to find candidates Japanese enterprises Daquan Raiders



Focus DREAMWEAVER MX 2004



Ping command usage



3G2 To MOV



Chen Zhou wears a hijab birth listed on the first pack only the concept of



e-cology in the micro-series 9 PAN



Easy COMPUTER Education



Wednesday, September 29, 2010

Let the old computer "rejuvenation"



Analysis: Wang Xiao in

I remember that weekend night, a friend called and said his home computer reformatted, and newly installed system is Windows98SE + Office2000; only the sound card driver is automatically identified, all drivers are properly installed. Operation result: Speaker to issue a long song; no network login; document traditional Chinese characters appear as square-shaped part.

鈽?鈽?sound problems

Came to the scene, I see that this is an old Pentium computer. Frequency MMX166, 64MB RAM, sound card for the TOPSTAR-TM-858 model, the system's driver library can be identified and installed drivers, but when playing sound files, voice blew more than. I would first check the System Properties control panel, sound card installed correctly, interrupts do not conflict. Check speaker connector did not pick the wrong, in theory, Windows98SE identified the driver version will definitely drive better than the factory version of the new, compatibility issues do not exist, it is set on the issue.

Go to Control Panel, find the multimedia options, the preferred recording equipment: SOUNDSYSTEM534RECORD; playback device of choice is: SOUNDSYSTEM534PLAYBACK. Click the drop-down options for playback there is also a: SB16WAVEOUT (220), immediately changed SB16WAVEOUT (220), sweet music starts floating from the speakers inside out.

鈽?鈽?network problems

Then log on problem solving network. View the network settings, protocol correctly; look modem driver installed correctly, test normal, dial your voice loud, long time no response is logged, simply set up his network connection to delete the original and re-establish a network connection, enter the property, the "Sign network "and" NetBEUI "," IPX / SPX "earlier untick OK. Then dial-up, smooth a successful connection.

鈽?鈽?document problem

Into the C drive Windows / Fonts directory, and nearly all types of font files, ask a friend if choose to install Windows98 is a typical installation, answered yes. It strange, the original can be identified, after re-install does not recognize it? A friend asked whether the Japanese can achieve input? I suddenly remembered in the IE browser allows browsing and multi-language input, but need to install the IE browser in the custom install, Windows98 system bundled IE4.0 version, there is no identification with traditional Chinese characters and input. I immediately got IE5.5 installed, specifically added Chinese Traditional navigation and input options, restart, then run the document, complex characters immediately displayed.







相关链接:



mapgis basic knowledge and SIMPLE learning materials



[Learning] CKM's Six Characteristics



Review Telnet Servers



Recommend Firewall And Proxy Servers



Auto auto parts order will be the first commercial capital Of China held in Shiyan



Experts say too early to lower domestic oil prices



Compare Audio Players



Reviews Themes And Wallpaper



MKV to VOB



God USED to measure BI



3GP TO MPEG



Graphical Modeling AutoCAD2000 Football



what is best divx DVD to xbox 360 software



AVI To IPod



"Blue SCREEN" hardware reasons and solutions



Saturday, September 25, 2010

Pipeline


This talk will explore the channels and see what it is, to what purpose. To make it more lively and interesting, I will use the Edit control, how to change the background color and text color to illustrate this technique.

Theory:

Channel itself is the two side channels. You can use pipes between processes, data exchange within the same process, just as portable wireless telephones. One end of the pipe to the other, he can make use of communication channels and you had.

There are two channels, namely, the famous pipe and anonymous pipes. Anonymous pipe is a pipe has no name, that does not need to know when to use them in their names. The famous pipe on the contrary, before use must know its name.

Features can also be classified according to the pipeline, that is one-way or two-way. One-way pipeline, the data could only move along one direction, from one end of the flow of the other side, while two-way channels of data can be exchanged freely between both ends. Anonymous pipes are often famous for one-way pipe is usually a two-way. Famous pipe commonly used for multiple clients contact a server network environment.

This talk will discuss it in detail anonymous pipe. Anonymous pipe main purpose is as a parent and child process, child process, the link between the communication channel. Problems in dealing with the console, anonymous pipe is quite useful. Console application that is input and output using the console as a Win32 application. A console like a DOS window. But the console application is really, truly 32-bit application, it can use other graphics programs, like GUI function, but it happens to use the console Bale.

Console application there are three criteria used to handle input and output, which is the standard input, standard output and standard error handles. Standard input for reading from console, or access information to the console standard output is used to write or print information. Standard error could not redirect the output for reporting errors.

Console application can be obtained by calling the function GetStdHandle to handle these three. A graphical application without the console, if one calls GetStdHandle will return error; If you really want to use the console, you can call AllocConsole to allocate a new console to use, but when processing is complete, do not forget to call FreeConsole the release of the console.

Anonymous pipes used most of its function is redirect the child process standard input and standard output. Parent process can be a console or a graphics program, and the child process must be a console application. As we all know, the console application using the standard input and output handles. To redirect input and output, you have to point to pipe with one end of the handle to replace the standard handle. Console application does not know what we used to point at one end of the handle of any pipeline, which will handle the handle as a standard look. To use object-oriented terminology, this is a polymorphism. Because the child process without any change, so this method is very useful.

Console Application on another point to be grasped is that it was standard from which the handle. When a console application is created, the parent has two options: for the child process to create a new console or to the child process inherits its own console. If you use the latter, then the parent process itself must be a console application, or if a GUI application, it must first call AllocConsole assigned a console.

By calling CreatePipe to create an anonymous pipe, and its prototype is:

CreatePipe proto pReadHandle: DWORD, pWriteHandle: DWORD, pPipeAttributes: DWORD, nBufferSize: DWORD

pReadHandle double word pointer variable point to read end of pipe handle.
pWriteHandle double word pointer variable point to pipe write end of the handle
pPipeAttributes double word pointer variable, point SECUR99vY_ATTRIBUTES structure, can be used to decide whether to read and write handles inherited by child processes
nBufferSize proposed pipeline to leave the buffer size of the user, it is only suggested values can be NULL to use default values
If the function succeeds the return value is nonzero, and zero otherwise. After a successful call, you get two handles, a point to read the pipe end and the other pointing to the write end of pipe. Now I will take focus to redirect the output of sub-standard console application to your process steps required. Note that this method is different from my Borland's API reference on the case. Win32 API Reference on the assumption that the parent process is a console application, so the child process to inherit the standard handles it. In most cases, however, we need to redirect the output to the console application GUI application.

Create anonymous pipe to use CreatePipe, also do not forget to SECUR99vY_ATTRIBUTES structural members bInheritable set to TRUE, it can inherit the handle.

Now ready to create the process CreateProcess function of the parameters, it can only load the child console application. STARTUPINFO is an important structure, which determines the child process the appearance of the main window appears, it is our essential goal. Through this structure can hide the main window and the pipe handle is passed to the child process.

The following are the members must be filled:

cb STARTUPINFO the size of the structure
dwFlags binary flag, which determines the structure of which members of the force also determines the main window is displayed or hidden state. In our program, a combination of the use STARTF_USESHOWWINDOW and STARTF_USESTDHANDLES
hStdOutput and hStdError you want to use the child process standard output and standard error handles, for us, we will write end of pipe as a child process standard output and error. So when the child process standard output or standard error to send a message, it actually put the information passed to the parent process through a pipe
wShowWindow decision to show or hide the main window is. We do not want to show the child process's main window, so to the members buy into SW_HIDE
Call CreateProcess to create a child process, but after the success of the child process calls still is active. It was put into the memory but did not immediately run.

In the process of closing the parent write end of pipe is necessary. This is because the parent process does not use the pipeline to write the handle, and if there are two write a pipeline terminal, will not work, so we read out the data from the pipeline must be closed before the end of the pipeline to write. But not closed before calling CreateProcess, or pipe it broke. You should just return CreateProcess and reading the data written before the closure of the pipeline end.

Function ReadFile can now read side Reading in the pipeline data. By using ReadFile, can make the child process is running. It will begin and when it to standard output (actually the writing end of pipe) to write data, the data will be sent to the read end of pipe. It should be kept calling ReadFile until it returns 0, that is no longer read the data. Reading from the data channel you can make any deal, in our case it is displayed in the Edit control.

I remember reading after use closed pipe handle.

Code example:


.386
. Model flat, stdcall
option casemap: none
include masm32includewindows.inc
include masm32includeuser32.inc
include masm32includekernel32.inc
include masm32includegdi32.inc
includelib masm32libgdi32.lib
includelib masm32libuser32.lib
includelib masm32libkernel32.lib
WinMain PROTO: DWORD,: DWORD,: DWORD,: DWORD

. Const
IDR_MAINMENU equ 101; the ID of the main menu
IDM_ASSEMBLE equ 40001

. Data
ClassName db "PipeWinClass", 0
AppName db "One-way Pipe Example", 0 EditClass db "ED99v", 0
CreatePipeError db "Error during pipe creation", 0
CreateProcessError db "Error during process creation", 0
CommandLine db "ml / c / coff / Cp test.asm", 0

. Data?
hInstance HINSTANCE?
hwndEdit dd?

. Code
start:
invoke GetModuleHandle, NULL
mov hInstance, eax
invoke WinMain, hInstance, NULL, NULL, SW_SHOWDEFAULT
invoke ExitProcess, eax

WinMain proc hInst: DWORD, hPrevInst: DWORD, CmdLine: DWORD, CmdShow: DWORD
LOCAL wc: WNDCLASSEX
LOCAL msg: MSG
LOCAL hwnd: HWND
mov wc.cbSize, SIZEOF WNDCLASSEX
mov wc.style, CS_HREDRAW or CS_VREDRAW mov wc.lpfnWndProc, OFFSET WndProc
mov wc.cbClsExtra, NULL
mov wc.cbWndExtra, NULL
push hInst
pop wc.hInstance
mov wc.hbrBackground, COLOR_APPWORKSPACE
mov wc.lpszMenuName, IDR_MAINMENU
mov wc.lpszClassName, OFFSET ClassName
invoke LoadIcon, NULL, IDI_APPLICATION
mov wc.hIcon, eax
mov wc.hIconSm, eax
invoke LoadCursor, NULL, IDC_ARROW
mov wc.hCursor, eax
invoke RegisterClassEx, addr wc
invoke CreateWindowEx, WS_EX_CLIENTEDGE, ADDR ClassName, ADDR AppName, WS_OVERLAPPEDWINDOW + WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, 400,200, NULL, NULL, hInst, NULL
mov hwnd, eax
. While TRUE
invoke GetMessage, ADDR msg, NULL, 0,0
. BREAK. IF (! Eax)
invoke TranslateMessage, ADDR msg
invoke DispatchMessage, ADDR msg
. Endw
mov eax, msg.wParam
ret
WinMain endp

WndProc proc hWnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM
LOCAL rect: RECT
LOCAL hRead: DWORD
LOCAL hWrite: DWORD
LOCAL startupinfo: STARTUPINFO
LOCAL pinfo: PROCESS_INFORMATION
LOCAL buffer [1024]: byte
LOCAL bytesRead: DWORD
LOCAL hdc: DWORD
LOCAL sat: SECUR99vY_ATTRIBUTES
. If uMsg == WM_CREATE
invoke CreateWindowEx, NULL, addr EditClass, NULL, WS_CHILD + WS_VISIBLE + ES_MULTILINE + ES_AUTOHSCROLL + ES_AUTOVSCROLL, 0, 0, 0, 0, hWnd, NULL, hInstance, NULL
mov hwndEdit, eax
. Elseif uMsg == WM_CTLCOLORED99v
invoke SetTextColor, wParam, Yellow
invoke SetBkColor, wParam, Black
invoke GetStockObject, BLACK_BRUSH
ret
. Elseif uMsg == WM_SIZE
mov edx, lParam
mov ecx, edx
shr ecx, 16
and edx, 0ffffh
invoke MoveWindow, hwndEdit, 0,0, edx, ecx, TRUE
. Elseif uMsg == WM_COMMAND
. If lParam == 0
mov eax, wParam
. If ax == IDM_ASSEMBLE
mov sat.niLength, sizeof SECUR99vY_ATTRIBUTES
mov sat.lpSecurityDescriptor, NULL
mov sat.bInheritHandle, TRUE
invoke CreatePipe, addr hRead, addr hWrite, addr sat, NULL
. If eax == NULL
invoke MessageBox, hWnd, addr CreatePipeError, addr AppName, MB_ICnERROR + MB_OK
. Else
mov startupinfo.cb, sizeof STARTUPINFO
invoke GetStartupInfo, addr startupinfo
mov eax, hWrite
mov startupinfo.hStdOutput, eax
mov startupinfo.hStdError, eax
mov startupinfo.dwFlags, STARTF_USESHOWWINDOW + STARTF_USESTDHANDLES
mov startupinfo.wShowWindow, SW_HIDE
invoke CreateProcess, NULL, addr CommandLine, NULL, NULL, TRUE, NULL, NULL, NULL, addr startupinfo, addr pinfo
. If eax == NULL
invoke MessageBox, hWnd, addr CreateProcessError, addr AppName, MB_ICnERROR + MB_OK
. Else
invoke CloseHandle, hWrite
. While TRUE
invoke RtlZeroMemory, addr buffer, 1024
invoke ReadFile, hRead, addr buffer, 1023, addr bytesRead, NULL
. If eax == NULL
. Break
. Endif
invoke SendMessage, hwndEdit, EM_SETSEL, -1,0
invoke SendMessage, hwndEdit, EM_REPLACESEL, FALSE, addr buffer
. Endw
. Endif
invoke CloseHandle, hRead
. Endif
. Endif
. Endif
. Elseif uMsg == WM_DESTROY
invoke PostQuitMessage, NULL
. Else
invoke DefWindowProc, hWnd, uMsg, wParam, lParam ret
. Endif
xor eax, eax
ret
WndProc endp
end start
Analysis:

This example calls ml.exe to compile a program called test.asm, and redirect the output to the client area ml.exe the Edit control. When the program is loaded, as usual to register the window class and create the main window. In the main window is created in the process of the first thing to do is to create the output for the display program ml.exe Edit control.

Now interesting things come, we will change this Edit control text color and background color. When the Edit control will repaint the client area, it will send WM_CTLCOLORED99v message parent window. Parameters wParam contains the controls for painting the client area of their device descriptor handle (HDC). We can use this mechanism to modify the characteristics of HDC.

. Elseif uMsg == WM_CTLCOLORED99v
invoke SetTextColor, wParam, Yellow
invoke SetTextColor, wParam, Black
invoke GetStockObject, BLACK_BRUSH
ret
SetTextColor the text color to yellow, the background color to black. Finally, we return to a black by calling GetStockObject and get a handle brush. Processing WM_CTLCOLORED99v must return a brush handle, because Windows will use the brush to repaint the background of Edit control. In this case, I hope the background is black, it returns the handle of a black brush.

Now when the user selects Assemble sub-menu, it will create an anonymous pipe.

. If ax == IDM_ASSEMBLE
mov sat.niLength, sizeof SECUR99vY_ATTRIBUTES
mov sat.lpSecurityDescriptor, NULL
mov sat.bInheritHandle, TRUE

Before calling CreatePipe must be filled SECUR99vY_ATTRIBUTES structure. If we do not care about security, you can fill in the lpSecurityDescriptor members of NULL. bInheritHandle you must be TRUE, so the pipeline can only be inherited by child processes handle.

invoke CreatePipe, addr hRead, addr hWrite, addr sat, NULL

After that, we call CreatePipe to create a pipeline, if successful, then the variable hRead and hWrite will be filled pipe corresponding read and write end of the handle end.

mov startupinfo.cb, sizeof STARTUPINFO
invoke GetStartupInfo, addr startupinfo
mov eax, hWrite
mov startupinfo.hStdOutput, eax
mov startupinfo.hStdError, eax
mov startupinfo.dwFlags, STARTF_USESHOWWINDOW + STARTF_USESTDHANDLES
mov startupinfo.wShowWindow, SW_HIDE

The next step is to complete the structure of the STARTUPINFO. Call GetStartupinfo parent process with the default values to fill STARTUPINFO structure. If you want to both work in Windows9x and Windows NT, we need to call GetStartupInfo to fill STARTUPINFO structure. Call returns, you can modify the important members of the. Because we want the child process output to the parent process rather than the default standard output and standard error, so we hStdOutput and hStdError Ode to write into the pipe end of the handle. To hide the main window of the child process, must be assigned to member variables wShowWidow SW_HIDE. Finally, the members assigned to STARTF_USESHOWWINDOW and STARTF_USESTDHANDLES dwFlags to specify the members of the hStdOutput, hStdError and wShowWindow is effective.

invoke CreateProcess, NULL, addr CommandLine, NULL, NULL, TRUE, NULL, NULL, NULL, addr startupinfo, addr pinfo

Now call CreateProcess to create a child process. Note To make the pipe work, the parameter bInheritHandles must be set to TRUE. invoke CloseHandle, hWrite successfully created after the child process, the parent process must close the write end of pipe. We have to write end of the handle to pass through the structure STARTUPINFO a child process. If you do not shut down, then there are two write-side pipe, but this channel will not work. Therefore, it must create a child process, but after reading the data to close the handle.

. While TRUE
invoke RtlZeroMemory, addr buffer, 1024
invoke ReadFile, hRead, addr buffer, 1023, addr bytesRead, NULL
. If eax == NULL
. Break
. Endif
invoke SendMessage, hwndEdit, EM_SETSEL, -1,0
invoke SendMessage, hwndEdit, EM_REPLACESEL, FALSE, addr buffer
. Endw

Are now ready to process standard output from the child read the data. Until no more data, and that only when the ReadFile returns NULL out of circulation, or that it will be waiting for data. Before we call the ReadFile call RtlZeroMemory to clear the memory, and replaced with a pipe read handle file handles. Note that the maximum length of read data 1023 (sizeof (buffer) -1), because we need to accept the character into an Edit control that can handle ASCII string. When ReadFile returns, put the data passed to Edit control. However, this has a small problem, if you use SetWindowText API to write data to the Edit control, the new data will overwrite the old data already exists, and we want to add new data behind the existing data. To achieve this goal, first by sending a message wParam is -1 the EM_SETSEL, the Edit control the input focus moves to the end of the text; and then send a message to add data back EM_REPLACESEL.

invoke CloseHandle, hRead

When ReadFile returns NULL when out of loop on the read handle and close the pipeline.






Recommended links:



Operators tangle: 3G what is The best billing



Ten problems of answers interview sample



Comparison E-Mail Tools



The Surprise Move To Improve Alternative Network



3GPP converter



Seagate Layoffs Affected 1,100 People In China: Li Xudong Transferred To Retire



MP4 To Flash



"Nobunaga's Ambition 12 Innovations," 55-year Survival Of The Road Ota



View from the MIS MIS Success or failure of their own



Ghost 20 Little-known Practical Parameters



MP4 to 3GP



Recommend Mail Servers



Baidu, eNet, "Jurisprudence" has been criticized



Compare Browser Tools



My FAVORITE Anti-Virus Tools



Tuesday, September 21, 2010

Flash light and shadow effects of the word


Flash has powerful animation features are well known, and especially in the Text effect of the more prominent examples of the use of Flash in the more classic and popular technology - Mask (Mask), to produce the text of the lighting effects can make ordinary The text looks more colorful.

1. Start Flash MX and create a new video, set video as beige, the color code is # FF9933, video size can be arbitrarily set, according to the number of text and text size to adjust.

2. Select "File / Import" command, from the outside into a suitable video image, image content is not strictly limited, as long as the more colorful images can be, and here we have chosen the familiar with the Windows logo a picture of blue sky, and its import video.

3. Create a graphic element, named Cloud, enter the component editor, will be dragged in front of the imported bitmap editor to adjust its position to the middle of the editor, shown in Figure 1:



Figure 1

4. Back to the main scene in the movie, rename the default layer Layer1 as Cloud, and on which to insert a new layer named Word, select the first keyframe layer Word, and then from the toolbox Select the Text tool, enter in the middle of the stage version "IBM", where text can be set to your actual needs, and then in the Properties panel to set the appropriate font and text size, set the scene shown in Figure 2 is completed Houzhu said:



Figure 2

5. Before continuing down to do we also need to consider the example of the use of masking techniques to achieve, so the location of the mask layer must be set correctly, the final lighting effect is a word in the text on the flow of light and shadow, so According to this point can determine the mask layer should be a layer containing the text of the Word, create lighting effects layer should be a mask layer, which is below cloud level, the key issues identified, we can continue.

6. Back to the cloud layer, select the first keyframe of this layer, then cloud from the library component will be dragged into the stage, so that it covers the front of the input text "IBM", and to the right and the component cloud the right of the text is relatively homogeneous, as shown in Figure 3:



Figure 3

In the first two layers 60 respectively, into the key frame, select the last frame of the cloud layer, drag the right level of the component cloud, that the left side of the left and text alignment shown in Figure 4:



Figure 4

Finally set the layer cloud from the first frame to 60 frames for the movement transitions, and set the layer word for the mask layer, so the whole effect on the completion of the production, the final time line shown in Figure 5:



Figure 5

7. The final release works, the effect shown in Figure 6:



Figure 6

The simple steps, you create the effect of good lighting words, the mask of a very wide range of applications in flash, using it can make a lot of beautiful effects, I hope Members can understand.






Recommended links:



Forgot Win XP to resolve password problems



Avi To Mpeg Converter Free



comparison PRINTER



Ballmer: ten years of Full digitization of traditional media



Servlet With MIDlet Activation



"Era of exploration of the beginning of 1404," talk about my own experience



Dell CEO or forced to replace him within a six potential SUCCESSORS to the election



Teaching And Training Tools Report



Report FTP Clients



Rmvb Ps3



Baidu cheating, universally condemned?



Compilation of various Source - DEV



Mts format



Rmvb Quicktime



Review Health And Nutrition



Psychosomatic syndrome after holiday REVELRY



Wednesday, August 4, 2010

PPT to teach you to easily modify the colors in the clip art



In making the presentation, in order to achieve satisfactory results we often insert a nice clip art. But sometimes the opposite effect will play, as is the program comes with clip art components, its color is fixed, so the overall effect may be inconsistent with the page.

In fact, we do not have to worry about for the help of image re-rendering function we can easily modify the clip art in any one area of color. Preferred selected into the picture, it appears that a "picture" floating toolbar does not appear if you can start right-click the clip art, select "Show Picture Toolbar" command can.

Next, click on the toolbar "picture re-coloring" button in the left side of the open window you can see the original color and change into two columns, which is expressed the need to modify the original colors, change is the changed color, then we can select the appropriate required the original color, and "changed to" select a new color. While the bottom can also choose to change the clip art and clip art fill the background of two, each to make a change, we only need to click "Preview" button to display the revised look.

Changes after repeated many times until the color of the clip art in line with the overall style page, we can click "OK" button to complete the modified.







Recommended links:



Easy to use FTP Servers



STORAGE Online Gaming



Who told PANDA burning incense on a job?



Ulead SmartSaver Pro 3.0 Cheats bit of COMMUNICATION (12)



Xu Xiangchun: Long And Short Term Iron Ore Negotiations, And Worry



Modern Shipbuilding Mode Of The Piping Manufacturer



Unicom announced 3G policy of nine formal commercial debut basic package file



Health And Nutrition for you



What conditions should be maliciously REGISTERED domain name?



Lists E-Commerce



Ps3 rmvb



Foxconn jumped reproduction of a female employee Jumped 7th Floor



Convert Flac To Mp3



Mp4 to mp3 converter



how to convert avi to WMV



Can all four Fanggao Peng EFFECTIVENESS of the upper floor by Show