Saturday, October 23, 2010

Firefox 3.7 will update the interface denies plagiarism Chrome



Firefox earlier had exposed new interface design style has been approved by Mozilla, will be used in Firefox 3.7 and 4.0 update. The new interface hides the menu bar, the stop button and refresh button combined. Mozilla bookmark function may also be innovative, will present the bookmarks menu and bookmarks toolbar into a small tool (Widget).

In the 3.7 release, the next version 4.0 will continue to interface to edit, and merge the address bar and search box. Other change is the tab bar will be moved to the top of the same as Chrome. Mozilla said that he did not copy the Chrome or other browsers.









Mozilla stressed that the new system in order to make their interface does not seem out of date, update the interface is necessary. In Windows Vista and Windows 7 on, Firefox's interface appears bloated and does not support Aero Glass special effects, icons, and the overall results are also incompatible.

Mozilla said that he did not copy the Chrome or other browsers, that because the browser to solve the problems are similar, resulting in the inevitable crash design. Chrome, Firefox and Safari are based on open source engines like structures, where their only Competition is the need to interface and user experience. Mozilla said that "good things worth learning should be for their own use, firefox has a lot of the results of original application in the browser."

Mozilla is also trying to improve other platforms Firefox interface issues, such as Linux version will also be placed at the top of a similar change in the tab bar. As for the Mac version, changes are relatively smaller. Mozilla will learn from the latest increase applies to iTunes 9 bright type skin effect. Official said the Mac version of Firefox does not need to as "obsolete" Windows version did make such a huge change.







Recommended links:



Servlet Programming with Servlet Display Pictures



3G2 to MPEG



God used to measure BI



The possibility of strengthening the domestic soft landing means 3G is expected in October to Distri



Picked Audio Recorders



How to control DATAWINDOW in PB modify column Properties



Matroska to MP4



Picked Games Board



Getting Started with Corel Draw 10 (4) hands to create vector graphics (1)



Juniper Networks Inc.



ASF to AVI



portable bar code scanners scan 1d amp 2d



Premier Download Managers



Directory Help Tools



Simulation using Flash MX stage 5 Lantern



Thursday, October 14, 2010

Before making any decisions



Set system goals of management status

A Holdings Co., Ltd. (referred to as "A Company") is a large state-owned assets XXX City management company. The company's "15" period to complete the overall transformation, the establishment of a competitive advantage. "Eleventh Five-Year" period, A company plans to introduce strategic investors, the implementation of joint-stock reform, industrial restructuring efforts, focus on key industry advantages in natural resources, timely withdrawal does not have the market competitiveness of the industry, so that there is, do certain things. However, with competition growing and constantly expanding business scale, A company's existing budget management system to meet internal management and control, response to market competition stretched. Management recognized that to achieve the "Eleventh Five-Year" strategic planning vision, improve the management level, the establishment of a "tailored" the comprehensive budget management system is urgent. In this situation, the first management company, analyzed the current situation:

1. 2 architecture, multi-level management of the organizational model

"15" period, A company's successful restructuring of equity stripping and secondary industry, and gradually formed a two-stage architecture, multi-level management and organization. That is based on the two subsidiary strategy, large amounts of direct investment and financing decision-making management and operational analysis through regular meetings will be two operating subsidiaries, to guide and control. Two subsidiary responsible for themselves and their subordinate units in operation and management. This relationship led to the budget shares organizational system can not reflect the company's industry A section on development.

2. Decentralized accounting and reporting system

A company by the affiliated companies to submit financial statements required by headquarters on a regular basis, then by the accounting entity accounting separately in the same industry, different entities of the accounting system and information system was not uniform.

3. Budget management system can not meet the requirements of the development strategy

Before the project, A company has not yet formed a standardized budget management system. According to the requirements of the SAC the city, A company organized in the various subsidiary companies budgetary planning and reporting, however, this budget is mainly applied to outside investors, the lack of internal management and decision support and operational guidance. Performance appraisal objectives and the implementation of the management responsibilities to operations subject to the book, the budget goal-oriented control weakened.

4. The lack of an effective budget tool

A company's original budget using EXCEL, a spreadsheet as a tool for budget analysis and its access control function is weak, there is the following defects or deficiencies: (1) difficult to effectively coordinate and manage the budget for the unit to participate in the budget; (2) can not be a matter of control; (3) the workload budget; (4) difficulties in multi-angle, flexible, three-dimensional reflect the data; (5) formula set complex, error-prone, confusing sets of data.

In the current situation based on the analysis, combined with "Eleventh Five-Year Plan" Vision, A comprehensive budget management system for companies to implement the objectives were set:

? Improve the corporate governance structure;

? For centralized financial management, accounting system to promote the unity and perfection;

? A management control system, an important part;

? Implementation of the budget software, to achieve seamless integration of information systems and improve data efficiency.

Implementation of targeted ideas

As both a comprehensive budget management planning, coordination, motivation, evaluation, organizational learning and other functions, and thus become a modern enterprise management and control of the main methods. However, within the company, a comprehensive budget management system of secret key management is not a panacea, it should be with the company's strategic planning, performance management systems to form an organic interaction. To this end, A comprehensive budget management system in the design process, adhere to and reflect the following design ideas:

1. Strategic planning, comprehensive budget and performance management, management of closed-loop interact

In business management, strategic planning, comprehensive budget and performance management are inseparable organic whole, the three form a closed loop (see Figure 1). Only three of the efficient interaction of the enterprise to achieve the strategic objectives, the budget played an important role in connecting link.






Figure 1, strategic planning, overall budget, to form a closed-loop performance management

2. And the control group pattern matching, a comprehensive budget management model developed in two phases

Combined with the company's development strategy, A company is the investment management structure to manage both operations management and operation features of the hybrid structure development. Group on the control plates of different industries to varying degrees: the implementation of priority development of industry and close control of the operation managed with strong features; on nurturing the development of industry, appropriate and timely development of industries out of industries, the operation managed more prominent features. Therefore, in mixed mode to fully consider the future development trend, so that the comprehensive budget management system has good continuity and scalability based on, A company that at the present stage can be used wholly and holding subsidiary classification management (operations management) control mode, with the company's organizational model A development and management tools to gradually mature, and then gradually transition to the close management of hierarchical management and the combination of hybrid control mode.

(1) in the current period, A company should adopt a comprehensive budget management at different levels (see Figure 2).

Group holding company headquarters is responsible for overall strategic planning, strategic objectives and the determination of the annual operating plan; two units of a major investment and financing the budget approval and the balance of key indicators, the Group summary of the budget, direction and supervision of two corporate budget management; approval major budget adjustment applications.

Two companies under the Group's overall strategic guidance to determine the strategic action plan and annual operating plans; issued under the Group's strategy to target the specific preparation of operating budget; implementation of the Group's budget approval; mandate in the group to process budget adjustments; accepted in the Budget Management Group guidance.

(2) In the next 2-5 years, the gradual transition to management at different levels and close management of mixed-mode combination.

In the mixed management model, A corporate headquarters priority to the development industry to gradually strengthen the management, production, sales and other business activities related to major decision-making into the group control area and formed a management mode; still used in other industries management at different levels, to form the hierarchical management and close management of the combination of hybrid management model.






Figure 2 A comprehensive budget classification management company

3. Through a comprehensive budget management system to Advance Financial Management Group, a comprehensive upgrade

Comprehensive budget management to group strategy-oriented, can unify the two holding subsidiaries Part and financial management objectives, to promote the group in coordination; overall budget of the co-ordination of resources can be deployed, Ping Heng internal investment and financing plans to ensure the Group Finance healthy development; the same time, to ensure that resources allocated to the best priority in creating value for shareholders, increasing return on investment. Headquarters and the focus of two holding companies of the full budget in a unified platform for the preparation of information systems, and promote the Group's internal financial accounting and reporting system of unity.

4. To establish a system by the combination of budget information system

A decision of the company's two-tier management strategic decision-making at headquarters and subsidiaries operating decision-making in detail information needed to the degree and angle differences. Therefore, the budget system should not only be from the industry, product categories, customers and suppliers by providing a summary of the budget of different data management to meet the information needs of the Group headquarters, but also to combine the sales of various subsidiaries of different policies, supply chain management, cost accounting requirements, to meet the subsidiary departments of the budget preparation and analysis needs. At the same time, the system needs to have good scalability to meet the company's management development. To improve the efficiency of budget preparation and analysis, to reduce duplication, the budget system but also with other information systems (ERP or financial system) to achieve seamless integration, to maximize information sharing.

Implementation of Budget Management Information

In the established ideas, we first budget A's organization and processes necessary to sort out and adjust, set up to build a budget from the target, then budget control and analysis of the budget system. On this basis, for the implementation of information technology.






Figure 3 A company's overall budget management system

1. Budget management organization and processes comb

A company's budget management system, including budget preparation, implementation and feedback on the three main parts. Which, by the establishment of budget targets, business plans and budgeting constitute the three links; budget monitoring and budget execution in parallel; through budget analysis and reporting of budget performance feedback information for the revised budget targets, business plans and management methods. Budget preparation, implementation and feedback form a mutually reinforcing closed loop (see Figure 3).

Budgeting to strategic planning to guide the group. Before you start the budget-setting, coping strategies, planning and implementation of the strategy is reviewed and adjusted to ensure that strategic objectives, plans and budgeting and the basis for correct guidance.






Figure 4, the budget development process

Budget development is a key part of overall budget management, including the establishment of goals, develop operating plans and budget of three activities. There is interdependence among the three, the relationship between interaction, and sometimes need to repeatedly cycle through (see Figure 4). Figure 5 reflects the budget statements of the subsidiaries and group relations system.






Figure 5 Group budget report system

A holding company headquarters and two subsidiaries of control in different ways. A corporate headquarters of major projects focused on pre-approval, post hoc analysis, control and audit monitoring. The two subsidiaries of the things in the budget implementation monitoring.

The basic range of budget analysis of the contents of the budget report. A company has confirmed the importance of differences in standards, the importance of standards to the content focus of the budget report. Meanwhile, the budget also clearly involved in the various departments of internal and external information gathering and budget analysis functions. Through several levels, from top to bottom as the way to ensure that all levels of managers to obtain the needed information.

Budget analysis report is a summary of budget implementation, but also to adjust the budget, operating plans or make proposals for action to improve the program. In the budget analysis report will be the main responsibility for overall implementation of the budget, significant differences, differences in the causes and improving the proposals in detail.

Budget adjustments into the budget adjustments and budget adjustment of goals. A target company's strict control on the budget adjustments. As a result of changes in the business environment is really necessary adjustments must meet strict approval procedures. Scroll through the preparation of the budget the budget adjustment manner. Quarterly rolling budget preparation, to increase the budget guide to action.

Overall budget target identification, implementation and performance evaluation and control measures need to combine in order to give full play to its goals the role of management and process control. On the other hand, the budget also provides for the performance evaluation based on measurable. Therefore, the budget targets is an important part of performance appraisal. Meanwhile, the budget is also a group of performance management performance assessment need to focus on one aspect.

2. Selection and Design

Combined with the needs of budget management system, A software company on the budget functions were clear:

? Multi-angle, flexible display data;

? Rigorous, flexible access control so that the effective participation of the entire organization's budget management platform;

? Powerful model of financial intelligence and analysis, simple set formula;

? Flexibility to create management reports;

? Able to achieve the financial or business system interfaces;

? Support flexible budgets, rolling budgeting.

Comprehensive budget management application system design brings a complete, practical, stable, scalable, secure, advanced, open economy, the overall design principles. Control system with the company match, the project team designed a two-tier management, multiple sets of application software application model. Two sets of application mode design allows A corporate headquarters and subsidiaries and between subsidiaries have maintained the relative independence of the budget to meet the needs of different individuals, but also to build a unified platform that enables a consistent budget management nature, the units can be standardized and unified under the guidance of full participation in budget management.

3. Configuration

A subsidiary of the company headquarters and the system configuration is based on the program, give full consideration to the individual company's business, it is necessary to meet the budget of each subsidiary based on the standard requirements (ie, the basis of the budget report submitted to the request), also To meet the needs of its subsidiaries in the sales policy, the production cycle, scheduling methods, cost accounting, supply chain management, investment and financing decision-making, and many other operating characteristics. A whole group of companies established headquarters not only meet the standard requirements, but also guide the budget of each subsidiary of specific operating system.

Another feature is the configuration of all points, the classification of subsidiaries aggregated budget data. Sub, a subsidiary of data through tools into the budget A software company's headquarters in order to achieve the Group's integration of data between headquarters and subsidiaries, what they want the budget management objectives. Therefore, the application of a unified budget for the software, A corporate headquarters can not only view the aggregate data, you can also separately view a specific budget for each unit of data to understand the specific business trends, obtain specific decision support information.

4. Integration

HAL software tool that comes with the completion of the budget system and other information systems integration. The tool has an intuitive graphical user interface, just a simple drag and drop, can be the butt of data. At present, the docking has been achieved not only the actual accounting system UFIDA, Kingdee, gold abacus and other mainstream software, including A self-developed corporate ERP and MRPII systems.

HAL tool interface program can generate executable file. Adoption of the budget custom software menu interface program articulated in the budget for the software menu. End-users can automatically access the menu by clicking the actual data can also be set cycle automatically by the system on a regular basis to obtain the data. Budget system and the actual operating system, seamless integration, data collection efficiency greatly improved.

5. System Development

A model taking into account the future development of company management, A company's budget system has flexible scalability. In the Group will gradually change management model both operational management and operation of the management features of a hybrid mode, the group can be incorporated into the management of enterprise level close the budget model, and the headquarters of the budget into the application system, and thus more timely and detailed grasp of the budget preparation and implementation, to improve decision-making efficiency.

Case Reference

As a diversified development of large enterprise groups, A company has extensive experience in budget management reference.

First, the complexity of enterprise groups, forms of organization, budget management system design requires a full analysis based on group strategy, combined with group organization model. To give full play to the role of information systems to deal with the current organizational structure and process necessary adjustments.

Secondly, the need to consider the information needs of different management levels. System by the combination of the budget model will ensure the unity of the Group on the budget requirements and specifications to meet the information requirements of strategic decision-making; and retain the subsidiary's individual budget model designed to meet the operational management needs.

Third, the overall budget management system requires both the development consistent with the Group management situation and the need to guide management improvement. Budget reporting and analysis system design, one need to consider management's current management needs and means, on the other hand also need to give full play to the budget system as a management control tool, lead management improved.

Fourth, the system selection needs to take into account the difference subsidiary of applications, select the versatile, easy to integrate with different systems, with flexible information extraction and query capabilities of the software. Meanwhile, with the excavation depth analysis of the data management requirements of the enhanced choice of software should be in data analysis, display and warning has scalability or match, mature analysis tools can be necessary to achieve timely development and upgrade.







Recommended links:



Guo Wei, CEO of God Code: I not only Chuluanbujing also more excited the more chaotic



Kunming, Yunnan province ASRock core agent signing



Wizard Timers And Time Synch



Fireworks 4.0 Zhezhao Daquan ---- second class to create a bitmap Zhe Zhao



Flash To MPEG



Mito Xiu 1 minute transfiguration "Impressionism" Photo



Recovery Software Faq



Community 2.0 My Community I call the shots



RMVB To MP4



SWF To MPEG4



Easy To Use Adventure And Roleplay



VC + + dynamic link library (DLL) program in layman's language (1)



TOYOTA Authorized Dealer



Visual Basic to create "five star" level control



White male Mecca Enterprises



Tuesday, October 12, 2010

Operation of supermarkets to dealers Suggestions



The so-called hypermarkets is the general area of 5,000 square meters of retail supermarkets, it is characterized by abundant products, shopping environment and good service in place, etc., for suppliers, wholesalers high cost account a long period, large areas, departments, independent, professional and strong. Therefore, the corresponding operating supermarkets have to understand the features and some of the provisions.
First, understand the rules of the game supermarkets.

This is important, every mall has its own rules of the game, some rules are clear rules, some rules are unspoken rules, and it will be some change at any time. If you do not understand the consequences of that action when you are always wrong, a lot of problems, It's hard to figure out.

Mall rules of the game is mainly the following three areas

1, cargo

Divided into delivery, replacement, return.

Delivery is generally an order from the store, the supplier within a specified time goods taken on the line. Delivery involves two issues: the quantity and delivery rate of the smallest package; (some stores a single number; some stores in the whole thing to be goods, orders him and packaging rate is the rate the company's entire packaging line) there is the arrival rate (for example: order above is the 10 varieties, you deliver only five species, obviously your arrival rate), this must go to note that if you arrival rate is low, often out of stock, Some varieties will be encrypted or shelves.

Replacement main is broken some product packaging, the supplier is responsible swap.

Returns general supplier that is very simple, not that beat back one, the goods back in time come? In fact not so simple. Main is the return of the price, return price of some supermarkets is the last computer purchase price. Cases: 220ML shampoo, original price is 17 yuan for, especially for the price of 10 yuan, activity time on June 1 - 6 of 14, your delivery time is billed at 10 yuan / bottle, usually we think Return is by 10 yuan / bottle return 鎵嶅. If you do not know the rules of hypermarkets in return, maybe you will find when you return is in accordance with the original returned to you. You and to coordinate the procurement, that others do not, that is useless, because the computer program can not be changed. So be sure to ask what provisions of hypermarkets return? If the supermarkets return price is the last purchase price to return the computer, that is the end of shipment schedule of activities to restore the original price, the products are not returned before, do not give him a delivery (as you re-delivery, even a bottle is according to the original price for delivery, returns, it is the price as you back up the order), a word must return such goods to be sent to him this species. Sometimes the procurement is through to the next order you to let you into the trap! !

2, single

Divided into orders, back orders, tax receipt.

Order refers to the supermarkets According to the supplier to the supplier inventory and replenishment under the notice. (Usually supermarkets have a safety stock requirements) order is time-bound. For example: the goods delivered in five days, the goods delivered within ten days, a lot of people think that of course delivery as long as possible, so that they can stocking it? In fact, this is the wrong understanding. 30 days a month, if requested within 10 days of delivery you, then you can only get 3 month sub-standard (30/10), delivered in three days, you can send 10 times per month. 3 days is definitely good. Why? You can timely replenishment ah!

Receipt is sent to you in accordance with the orders to supermarket goods, supermarket receipt certificate issued to you, to seal stamped receipt. Note that the supermarket back to you and you alone are the number of consistent delivery of the species, to carefully check, wrong, no way to make up, back to paragraph one is a statement of evidence must be properly kept.

Tax receipt is the amount in accordance with paragraph statement, open to the store of value-added tax invoices. Tax receipt is the delivery or reduce the amount of returns in accordance with the amount of delivery, this has to be clarified. What time to send the tax receipt? Tariff and other account information be sure to ask. Time must be provided to the tax receipt sent to the supermarket, otherwise it will affect the end section.

3 votes

Divided into two checks, invoices, bills of exchange

Invoice is the cost to the supplier after deduction account credentials.

Store checks and money orders is the way of payment to the supplier.

The game needs and procurement rules and the relevant part of the personnel for communication to know.

Second, Purchasing Guide's approach, and the cost of substitution treatment.

1 Purchasing Guide's approach

In accordance with the requirements of Marketplace, recruitment Purchasing Guide, go through relevant procedures, admission promotions.

2 Substitution

Purchasing Guide is the supplier of the replacement or store requests to replace Purchasing Guide substitutions. Substitution involves Shopping guide management fees, training expenses, clothing expenses. Marketplace Shopping guide to understanding the relevant processes and replacement provisions of Purchasing Guide Shopping guide management fees when replacing or not to re-pay? Training fees have to pay?

3, Shopping guide the management of

Shopping guide to and sign a agreement that if there is theft in the stores or major disciplinary actions, the consequences should be borne entirely Purchasing Guide. (Agreement a copy to the store) asked the Purchasing Guide to strictly observe the provisions of store management, in particular, can not have theft and carrying gifts to the stores outside the behavior.

Third, the business operation of hypermarkets

Supermarkets are mainly to do image volume to make money by going through the activities of the operation to move up sales.

1, to outstanding Purchasing Guide sent to supermarkets.

Purchasing Guide that good sales ability, communication skills, high quality, but also the situation will be a guest relations, but also abide by regulations. Good horse with a good saddle. 34 lines entirely Purchasing Guide to recommend the brand products, so good Purchasing Guide is very important!

2, activities to move up market

Supermarkets mainly through the activities move up market, and therefore a good grasp of each of the schedule of activities, what competitors product, price, each launching their own what kind of product is bundled or discounted? Shopping guide to not increase? Every time a few products? These must be planned, in advance and store the relevant departments to communicate better.

3, improve the relationship between the relevant departments

First relates to our business competence and a few people the information they find out, targeted to launch. But the decision to sell off feeling good relationship is one of the elements. Because they also have the task, there are corresponding indicators!

Hypermarkets very professional operation, we need managers and sales personnel study more, to master, so as to operate hypermarkets in the course of its capability.







相关链接:



reviews Firewall And Proxy Servers



Good Registry TOOLS



Flash to MPEG



Using "replace" ONE-TIME elimination of the hard carriage return



RAILWAY



Automation Is Everywhere



DVR-MS To MPG



SPECIAL steps: maneuvers, decisive miles



SWF to MP4



PLM On The 411



turn myspace video into iriver e150



ALL roads lead to full high-definition video equipment HD Thunder



When the doctor came to their computers for health



Bitmap image synthesis model and channel together



Tuesday, October 5, 2010

Process


This lesson we will learn: What is the process? How to generate and terminate a process?

Initial knowledge:

What is the process? Here is my guide in excerpts from the WIN32 API explanation:

"A process is an ongoing process of Yingyong, which includes: private virtual address space, code, data and other operating system resources, Piru access to the pipeline process Ke Yi, Wen Jian Hu Tongbuduixiang Deng Deng."

From the above definition you can see, a process that has several objects: address space, the implementation of the module and the other the implementation of the program to open or create any objects or resources. At a minimum, a process must include the executable module, the private address space and more than one thread. What is the thread then? A thread is actually an implementation unit. When WINDOWS generate a process, it automatically generates a main thread for the process. The thread is usually the first instruction from the module started. If the process needs more threads, which can then be generated explicitly.

When WINDWOS received the news production process, it will be generated for the process private memory address space, then the executable file is mapped to the space. Produced in the process under WIN32 the main process, you can also call the function CreateProcess to create your process more threads.

CreateProcess prototype is as follows:

CreateProcess proto lpApplicationName: DWORD,
lpCommandLine: DWORD, lpProcessAttributes: DWORD,
lpThreadAttributes: DWORD,
bInheritHandles: DWORD,
dwCreationFlags: DWORD,
lpEnvironment: DWORD,
lpCurrentDirectory: DWORD,
lpStartupInfo: DWORD,
lpProcessInformation: DWORD

Do not be intimidated by so many parameters, in fact, most of which you can ignore the parameters (so that they have the default value).

lpApplicationName -> executable file name (with or without path). If this parameter is NULL, it must be passed in the parameter lpCommandLine file name.
lpCommandLine -> For the implementation of the documents passed to the command line parameters. If lpApplicationName is NULL, it must be specified in the parameter, such as: "notepad.exe readme.txt".
lpProcessAttributes and lpthreadAttributes -> specify the process and the main thread of the security attributes. You can set them all as NULL, so set the default security attributes.
bInheritHandles -> flag. Whether the process used to set up a new process created inherits all of the open handles.
dwCreationFlags -> There are several signs here set in order to determine the behavior you want to create the process, for example: You may want to create a process does not want it immediately after the run, so it really can be used before running some tests and revision . You can also set a new course here all the thread priority, usually it is set to NORMAL_PRIOR99vY_CLASS.
lpEnvironment -> point to the environment block pointer, generally, the environment block contains several environmental string. If this parameter is NULL, then the new process created process inherits the environment block.
lpCurrentDirectory -> point to the current directory as well as the child process to set the "current directory" path. If NULL, then the process of succession to create the "current directory" path.
lpStartupInfo -> point to start a new process structure pointer STARTUPINFO. WINDOWS STARTUPINFO tell how to display the appearance of the new process. There are many members of the parameter variable, if you do not want what's special about the new process can call GetStartupInfo function to create a process with the startup parameters to fill STARTUPINFO structure variables.
lpProcessInformation -> pointer to point to PROCESS_INFORMATION structure, the structure variable contains a number of unique identity in the process some member variables:

PROCESS_INFORMATION STRUCT
hProcess HANDLE?; handle to the child process
hThread HANDLE?; handle to the primary thread of the child process
dwProcessId DWORD?; ID of the child process
dwThreadId DWORD?; ID of the primary thread of the child process
PROCESS_INFORMATION ENDS
Process handle and process ID are two different concepts. Process ID is like a unique value, but the process handle is a WINDOWS API calls related to a return value obtained. Can not handle the process to identify the uniqueness of a process, because this value is not unique. Create a new process called CreateProcess after the process was created, and CerateProcess function returns immediately. You can call the function to test whether the process GetExitCodeProcess end. The function prototype is as follows:

GetExitCodeProcess proto hProcess: DWORD, lpExitCode: DWORD

If the call succeeds, lpExitCode contains the query process status code. If you mean STILL_ACTIVE to show that the process still exists. You can call the function TerminateProcess to force a process to terminate. The function prototype is as follows:

TerminateProcess proto hProcess: DWORD, uExitCode: DWORD

You can specify any of the exit value. A process with the end of the function is not good, because the process of loading the dynamic link library, and will not get the news out of the process is.


Examples:
In the following example, when the user selects the menu item "crate process" when we create a new process. It will go to the implementation of "" msgbox.exe ". If the user wants to terminate the new process, you can select the menu item "terminate process". At this time, the application checks whether the process terminated by still, if there are calls TerminateProcess function to terminate it.
.386
. Model flat, stdcall
option casemap: none
WinMain proto: DWORD,: DWORD,: DWORD,: DWORD
include masm32includewindows.inc
include masm32includeuser32.inc
include masm32includekernel32.inc
includelib masm32libuser32.lib
includelib masm32libkernel32.lib

. Const
IDM_CREATE_PROCESS equ 1
IDM_TERMINATE equ 2
IDM_EX99v equ 3

. Data
ClassName db "Win32ASMProcessClass", 0
AppName db "Win32 ASM Process Example", 0
MenuName db "FirstMenu", 0
processInfo PROCESS_INFORMATION <>
programname db "msgbox.exe", 0

. Data?
hInstance HINSTANCE?
CommandLine LPSTR?
hMenu HANDLE?
ExitCode DWORD?; Contains the process exitcode status from GetExitCodeProcess call.

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

WinMain proc hInst: HINSTANCE, hPrevInst: HINSTANCE, CmdLine: LPSTR, 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_WINDOW +1
mov wc.lpszMenuName, OFFSET MenuName
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, CW_USEDEFAULT,
CW_USEDEFAULT, 300,200, NULL, NULL,
hInst, NULL
mov hwnd, eax
invoke ShowWindow, hwnd, SW_SHOWNORMAL
invoke UpdateWindow, hwnd
invoke GetMenu, hwnd
mov hMenu, 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 startInfo: STARTUPINFO
. IF uMsg == WM_DESTROY
invoke PostQuitMessage, NULL
. ELSEIF uMsg == WM_IN99vMENUPOPUP
invoke GetExitCodeProcess, processInfo.hProcess, ADDR ExitCode
. If eax == TRUE
. If ExitCode == STILL_ACTIVE
invoke EnableMenuItem, hMenu, IDM_CREATE_PROCESS, MF_GRAYED
invoke EnableMenuItem, hMenu, IDM_TERMINATE, MF_ENABLED
. Else
invoke EnableMenuItem, hMenu, IDM_CREATE_PROCESS, MF_ENABLED
invoke EnableMenuItem, hMenu, IDM_TERMINATE, MF_GRAYED
. Endif
. Else
invoke EnableMenuItem, hMenu, IDM_CREATE_PROCESS, MF_ENABLED
invoke EnableMenuItem, hMenu, IDM_TERMINATE, MF_GRAYED
. Endif
. ELSEIF uMsg == WM_COMMAND
mov eax, wParam
. If lParam == 0
. If ax == IDM_CREATE_PROCESS
. If processInfo.hProcess! = 0
invoke CloseHandle, processInfo.hProcess
mov processInfo.hProcess, 0
. Endif
invoke GetStartupInfo, ADDR startInfo
invoke CreateProcess, ADDR programname, NULL, NULL, NULL, FALSE,
NORMAL_PRIOR99vY_CLASS,
NULL, NULL, ADDR startInfo, ADDR processInfo
invoke CloseHandle, processInfo.hThread
. Elseif ax == IDM_TERMINATE
invoke GetExitCodeProcess, processInfo.hProcess, ADDR ExitCode
. If ExitCode == STILL_ACTIVE
invoke TerminateProcess, processInfo.hProcess, 0
. Endif
invoke CloseHandle, processInfo.hProcess
mov processInfo.hProcess, 0
. Else
invoke DestroyWindow, hWnd
. Endif
. Endif
. ELSE
invoke DefWindowProc, hWnd, uMsg, wParam, lParam
ret
. ENDIF
xor eax, eax
ret
WndProc endp
end start

Analysis:
Application creates the main window, save the menu handle for later use. When the user in the main menu, select the "Process" menu item, the message processing received WM_IN99vMENUPOPUP news, we here modify the pop-up menu in the menu item "Enable" and "non-enabled" to the same menu with different display.
. ELSEIF uMsg == WM_IN99vMENUPOPUP
invoke GetExitCodeProcess, processInfo.hProcess, ADDR ExitCode
. If eax == TRUE
. If ExitCode == STILL_ACTIVE
invoke EnableMenuItem, hMenu, IDM_CREATE_PROCESS, MF_GRAYED
invoke EnableMenuItem, hMenu, IDM_TERMINATE, MF_ENABLED
. Else
invoke EnableMenuItem, hMenu, IDM_CREATE_PROCESS, MF_ENABLED
invoke EnableMenuItem, hMenu, IDM_TERMINATE, MF_GRAYED
. Endif
. Else
invoke EnableMenuItem, hMenu, IDM_CREATE_PROCESS, MF_ENABLED
invoke EnableMenuItem, hMenu, IDM_TERMINATE, MF_GRAYED
. Endif

The reason why we deal with the purpose of the message is to make the menu look different when displayed to a user-friendly to use. For example; the new process has not been run, we light up (enable) "menu item" start process ", but grayed out (not enabled) menu item" terminate process ". When the new process is running, the menu's appearance on should be the opposite.
First, we call GetExitCodeProcess function, which handles incoming returned by the CreateProcess. If GetExitCodeProcess returns FALSE, then that process has not been run, we let the menu item "terminate process" grayed out; If you return TRUE, said the new process has started, we re-test is running, which is equal to STILL_ACTIVE by comparing the ExitCode to complete If equal, that process is still running, we let the menu item "start process" grayed out, because in our simple application process does not provide the ability to run multiple processes.

. If ax == IDM_CREATE_PROCESS
. If processInfo.hProcess! = 0
invoke CloseHandle, processInfo.hProcess
mov processInfo.hProcess, 0
. Endif
invoke GetStartupInfo, ADDR startInfo
invoke CreateProcess, ADDR programname, NULL, NULL, NULL, FALSE,
NORMAL_PRIOR99vY_CLASS,
NULL, NULL, ADDR startInfo, ADDR processInfo
invoke CloseHandle, processInfo.hThread

When the user selects the menu item "start process", we first test structure in the member variable hPRocess PROCESS_INFORMATION is turned off. If this is the first time you start the application process, which the variable is 0, because we are. Data section defined structure have been initialized when the value is 0. If the value is not 0, then that the new process has ended, but we have yet to close the process handle (in order to reduce the reference count of the process), we are here to complete the action.
We call GetStartupInfo function to start filling the information structure variables, and the variable will be passed to the CreateProcess function to. Call CreateProcess to generate a new process, we do not check the return value of the function is to simplify the problem, in practice, to do the work. After the call to CreateProcess, we immediately close the structure parameters in the process information returned handle to the main thread to close the thread handle in order to reduce the kernel object reference count, or even if the thread exits, the kernel object is still miserable exist in the kernel is not released, it will cause resource leaks. Process is actually the same reason we do not close the process handle is there because later on we have to use the handle to get some information related to the process and, as threads, our application does not need its information.

. Elseif ax == IDM_TERMINATE
invoke GetExitCodeProcess, processInfo.hProcess, ADDR ExitCode
. If ExitCode == STILL_ACTIVE
invoke TerminateProcess, processInfo.hProcess, 0
. Endif
invoke CloseHandle, processInfo.hProcess
mov processInfo.hProcess, 0

When the user selects the menu item "terminate process", we call the function GetExitCodeProcess to check whether the new process there, if there TerminateProcess we call the function to end it. In addition, we closed off the handle because we no longer have it.






Recommended links:



WMV To MOV



Evasive: Intel's monopoly Defense



My Favorite Covert Surveillance



MPEG4 to WMV



"Grey Dove" into a small penguin confuse users into a "chicken"



FLASH to MPEG



a hungapp in iexplore.exe Repair now



Huawei million loss may be greater than was the resignation of



Thunder turned to commercial content channels: forced out of the exploration



Wizard Icons



Next-generation Console Out Of Stock, 2007 To Continue



Yunjie: Mr. Chen in The "correction"?



When the doctor came to their computers for health



Report Audio Video Tools



Saturday, September 25, 2010

Steel City rational expectations change gradually



The recent construction steel market is relatively calm, steel mills and dealers began to pay more attention to the rational market changes, changes gradually from stocks, steel price adjustment, market changes and the network around the upper and more ways are to understand the market changes, so the help of various decision-making late changes in the market, from this perspective, changes in steel city of the more rational.

Building with steel and sheet steel varieties such as price changes influenced by changes in demand, its price volatility is also greater. Looking at changes in the steel market in recent years, especially in construction steel and plate, its steel production capacity by the requirements phase of enlargement and the common role of the more prominent periodicity.

Building this year change in terms of steel, Handan Iron & Steel Prices High Line from the June 28 of 3690 yuan (per ton, the same below) down to 3,540 yuan, from July 8 of 3540 yuan to 3310 yuan down, and from July 18 of 3310 yuan to 3230 yuan down, high-wire prices down 20 days to 460 yuan, can be up and down are unstable. In the "gold 9 silver 10" of the season, the steel is almost no change and stability, highlighting the steel mills and distributors experience sharp fluctuations in the strengthening of post-rational consciousness.

After several fluctuations in the price after the steel enterprises should realize the harm capacity expansion, in order to expand their competition will eventually lead to the disorder in the industry, steel prices is to increase the current behavior of the main added value of products rather than increasing production , with minimal manpower and resources to create a huge benefits. Steel mills to market ability is very important, and this demonstrates the importance of market research and forecasting, Tong Guo understanding of needs, develop the production that meets market requirements development policy would be yes is very necessary to the conduct Genbenjueding Suoyigangchang the market trend.

Moreover, the steel should also be reflected in the rational account of the agreement and end the sale of policies. Timely and necessary to improve the sales policies and sales agreements household policy is necessary, the current agreement amount of household energy delivery from the steel mills, steel shipments accounted for 70% of the remaining 30% is steel straight terminals. So the enthusiasm of farmers to improve the agreement to some extent stabilize the market.

From the dealer, the current steel industry, competition is intense, unregulated competition there, like the low-price competition, shoddy and other means to disrupt the normal operation of the market, but also broke the price stable.

In addition, a number of uncontrollable factors also affect the rational development of steel prices, led to changes in the volatile steel prices. Inter-regional price differences as a result of price instability. Mid to late 10, the Beijing market Shougang, Tangshan Steel prices in the production of high line around 3110 yuan, 3070 yuan price of common line, while the market leading brands of Shijiazhuang High-line price of 3250 yuan, general line price of 3200 yuan, Shijiazhuang, Beijing market resources into the market is inevitable, so the recent wire Shijiazhuang market prices could still go either; but the Beijing Shijiazhuang market than the market price of rebar by 70 yuan, so the market Rebar prices in Shijiazhuang Beijing market will not be temporary influence will remain stable in the short period of time.

Throughout October the operation of the market, the overall feeling is rational, steel demand increased slowly in the next performance is not strong, but flat to down, the market leading brands of resources is not great, prices are also relatively strong in considerable narrowing of small-brand market space, to stabilize the market price.

However, the domestic steel market prices far below the stability of the international steel market price stability, the rational development of the domestic steel market should also continue, the steel city to change more in a "more balanced supply and demand," the development trend, so as to raise the overall level of the domestic steel industry, including the level of competition, profitability, sales levels. Therefore, the distribution of steel chain should play out in each and every level of it, looking forward to the domestic steel market go healthier and more robust.







Recommended links:



SEO copy content and DUPLICATE content



Me introduce the judges to do creative practice contest Hugo



Paladin 4 fox task entrusted Home



Shanghai University Graduates Overall Employment Rate Of 07 97.25%



Review Strategy And War Games



New Economy Weekly cover story: the role of Angel Zhou Hongyi and more



Best Astronomy



My favorite Server Applications



TD Commercial trial on April 1 the minimum consumption of 118 yuan a complete experience



Reduce carbon emissions, EastFax paperless fax you the more green the more resounding



MPG To 3GP



OGM to MKV



Palm On Screen Keyboard 2



MOD to MPG



Wednesday, July 28, 2010

Compression bag watch the highlights (2)


Select "Create temp.zip" after, ACDZip selected files will be automatically compressed by ZIP format quickly compressed into temp.zip files, stored in the current directory. From the figure we can see that ACDZip intelligent than the WinZip is that, compress it for multiple files in the archive can be automatically named, while WinZip, you must select "Add to Zip" Mingling then Shuru compressed package name, Bijiao trouble.

Select "Create Archive ..." allows you to easily create 8 different types of archive, open the command, will pop up a "Create" dialog box, you can "Save as type" drop-down list box, select the compression created package type.

Like how? However, this feature not available in other compression software functions yo, and even to support a large number of WinRar compression formats have to candidly admit defeat it!

2, extract the package

Double-click the archive to automatically open the compressed file. As can be seen from the figure used in the unique ACDZip similar Explorer archive file management, on the left window is the folder bar on the right window is the file list column, which is a document management especially with multiple directory Structural compression and decompression package management operations such as providing a great convenience.






Recommended links:



ts Video format



avi to Iphone



flv to Mov converter



Music TV infringement trial basis have a special levy to the views of the community



Winamp visual effects studio creating Flash



Got hit by Baidu PPC



Compare Flash Tools



Simple NETWORK And Internet



Who Won The Dream Of The Vast Cultural Kai



TS files



Wizard Audio Recorders



Sun head of the delisting refuted rumors are unfounded conspiracy



China IPTV-What is the short Board?



Tear down the horse-tert-break "AION" Legend of the strongest NPC



Wednesday, July 21, 2010

3G in the United States to see the embarrassment and disappointment of China



Look up Google, as much as many as 2.5 million "3G dream," 2360000 "3G revolution" website. Can not say that is not sacred, not spectacular. To 3G can do any good? Can say very few clear .

"Leading the Future, achievements dream", so high-profile ad can be said to shock the world. However, the domestic 3G has been heard more, appear less like a kung fu master of deep, not easily appear. Until this year in May, was officially unveiled. Now most of the 3G mobile phone consumers be seen and heard, and could be more to regret and disappointment.

The embarrassment of the current 3G propaganda. Handset can also be put up ugly, but its mysterious ads Xuanhu basic things can be used on a large unpleasant had not; can use the function with the original 2G era of almost the same price is also more expensive. It is said to be 3G take the "high end" of the user generally known as "noble family." out of the operating room, etc., look at the services and the "package" form, a deep sigh: "Why to 3G?"

In fact, China 3G can refer to the practice of the United States. The United States is developing the first national 3G standard and has a country, but has not been able to provide consumers with fixed-priced wireless services, 3G development has been relatively slow, come a a long detour. Verizon, Sprint, AT & T have been too much emphasis on the revolutionary 3G, high-end market began to cultivate from the user, resulting in lack of application services, user interest to the embarrassing situation. By 2007, the U.S. also not a more successful business 3G network.

But this past few years, the U.S. mobile operators complete a modified one: 淇濊瘉 Putong phone user fees within the fixed line, mobile phone all Peizhi not high, all free Song; Bingju phone number can Gensui carrier as item No. .3 G Du is a custom service, not a package "sets" of the user.

3G operators on the one hand the United States continuously improve 3G network construction, to ensure 3G speed, which is the key to the entire application. Verizon, Sprint, AT & T and other well-known companies have been transforming the U.S. 3G networks, the introduction of new technology to ensure the network speed and stability. On the other hand, the majority of operators are actively involved in the joint launch of a variety of downstream devices and 3G services, and positive change in the original high-end strategy, the majority of mobile phone users with a more affordable 3G services. At present the United States 3G handset on the related application software has reached more than 20,000 kinds of species.

June 2007-June 2008, the United States the number of 3G mobile phone users jumped 80 percent, to 64.2 million, accounting for the total number of mobile communication users 28.4%, but also to the United States as the world's most dynamic and the market value of the 3G area.

3G meandering paths from the United States has been enlightened as far as Chinese 3G, the most important task is to "landing", it launched a real mobile phone network service, should not always lofty.

One thing I am confused, Chinese telecom companies have been arguing the superiority of the standard, or even to hit the U.S. television advertising. The problem is, 3G so stressed that something needs standards?

A lot of money to invest in 3G in order to prove the correctness of an unknown source saying there: "third-rate companies make products that make second-rate enterprise platform, enterprise-class standards to do." There was a similar "first-class vendors selling rules , second-tier vendors selling technology, third-vendors selling products ".

Refer to these very philosophical cautionary rhetoric, in fact, suggesting to the upper levels, units, or institutional investors: our existing 3G standard, more platforms, it is first-class enterprises, and at least a second-rate.

However, any platform, standard, or even business culture, If the end does not implement real Ji enough to provide more useful consumer products and services to customers faster and better and cheaper 鍦?solution to this problem, will become a "mirror in flower, in the water. "

Most of the development standards, rules of business are starting from the product until the product chain as consumers and an indispensable part before gradually transition to the rules and standards. The primary purpose is not monopoly and exclusive product lines but the formation of other products, other companies can refer to the standard, making their products better, faster penetration into other or new areas.

If Bill Gates created Microsoft's original intention is not to become the industry standard and rules to make the products and services. He has only one thought, to make companies and individuals want to buy the software. In the PC area, obviously the first step is operating system, the second step is the office software.

Now Microsoft is in these two areas of near-monopoly status, not by "standard" worked out, not by "rules" delineated out, but 20 years of brutal competition in the products, more and more enterprises and individual choice results. standard products on the market authority from the initiative, the validity of rules derived from consumer products, dependence and loyalty.

To speed up 3G "civilians" of speed

3G on the amount to anything in the standard is important, equally important platform, but the key is to get real benefits to mobile phone users, "civilians" of the 3G can enjoy "a dream come true." Even the best public relations and marketing strategy, no real products and services based on the waste will eventually become a mere formality, and even into the board, "the emperor's new clothes." just bankrupt American General is a good example.

3G standards have, the largest mobile phone market with two dominant, in fact, China's 3G not given any priority to become the leading industry. Instead, opinionated, behind closed doors, do not give more than 600 million mobile phone users real benefits, not "civilians "of the fresh enjoyment, it seems the priority in our hands, may tossing a few times back in the hands of others.







相关链接:



Free download mp4 to 3gp



Apple CD WAVE MP3 ID3 Tag to AAC Burner



Lean Shipbuilding Theory AND Practice in Foreign



free download wmv to 3gp CONVERTER



RECOMMEND Hobby



Beautiful images grabbed



Converter Flv To Mp3



Ps3 rmvb



Merry MP3 DVD-Audio AC3 To WMA Editor



Open DVD To DivX



evaluation PIMS And Calendars



Explosion WMV to DVD



Youtube Movie to RM Program



Audio CD/DVD Dumper