// Linepic.cpp: implementation of the CLinepic class.//本模組為繪圖模組,再擷取到裝置上下文後,即可繪製,但需表單模組在需要時//調用InvalidateRect(Rect* rect)使繪圖區失效,從而觸發Onpaint事件。同時,//需要在表單的Onpaint函數中添加函數,將記憶體dc中繪製的圖形拷至表單的dc中//created by huang.haihong////////////////////////////////////
1。在view-classwizad-autometion中點擊add class-from a type library,選擇execl。exe(office2003)。2。從列表中選取_Application/_Workbook/_WorkSheet/Range/Workbooks/Worksheets 6項,確定,工程目錄下會加入excel.cpp和excel.h。3。在你的某個。h檔案中添加excel相關變數,也可以直接在函數裡定義: _Application ExcelApp;
import org.eclipse.swt.widgets.*;protected static final Display r_swtDisplay = new Display();protected static final Shell r_swtShell = new Shell(r_swtDisplay);/** * Center the window in screen */protected void centerInScreen(){int nLocationX =
於在Windows2003下如何?類似Linux下tail命令功能的方法,請見讓windows也擁有tail功能一文 把控制台的資訊輸出到%CATALINA_BASE%\logs\catalina.out裡:一、修改startup.bat中call "%EXECUTABLE%"start%CMD_LINE_ARGS%為call "%EXECUTABLE%" run %CMD_LINE_ARGS%二、修改catalina.bat中rem Execute Java with the
文章目錄 Problem DescriptionProblem Troubleshooting Problem DescriptionAn inadvertent deadlock in the application code can cause a server to hang. For example, a situation in which thread1 is waiting for resource1 and is
上周在AIX6.1下安裝weblogic10.3.0,並配置了hacmp叢集環境,但是接下來的幾天遇到了掛起問題,為此還加班了一天。現象描述:Weblogic啟動後,10到30分鐘就會hang住,應用和管理主控台都無法訪問。強制kill -9 pid後連接埠無法釋放,使用rmsock 命令查看連接埠顯示Wait for exiting processes to be cleaned up before removing the socket。分析及處理過程1. 用ps –ef | grep