Windows 平台下,使用OS files 代替raw devices,步驟如下: 1) If the ASM instance was not created, then create an ASM instance thru the DBCA .2) Update the initialization parameter file with the next hidden parameter:Connected to:
Windows表單控制項進行安全執行緒調用 [caven 發表於 2006-4-8 16:49:32]用Visual Studio 2005寫了個很簡單的程式,主要是在主表單外建立了一個線程,讓它專門重新整理進度條。曾經在Visual Studio 2003裡寫過這個程式並且可以正常啟動並執行,2005裡卻出現了異常。“線程間操作無效:不是從建立它的線程裡訪問。”哦,後來才發現這是2005的新特點。。對 Windows 表單控制項進行安全執行緒調用 使用多線程提高 Windows
找了一下,網上有網友出現類似問題,故障歸結為:userinit.exe檔案丟失及其相關註冊表索引值錯誤導致不能正常登入系統癥狀:登入後立刻自動登出userinit.exe一般位於系統目錄下,比如在 Windows XP 系統中就是在C:/WINDOWS/SYSTEM32/下面,檔案屬性中的描述是:Userinit Logon Application,同時在註冊表中有一個索引值指向這個檔案:HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows
1) Shutdown all datbases that are running on the box using the +ASM instance for storage management 2) Use emca -x <sid> to remove the Database Console for each instance3) Remove the service for the instances ORADIM -DELETE -SID
使用多線程提高 Windows 表單應用程式的效能時,必須注意以安全執行緒方式調用控制項。樣本訪問 Windows 表單控制項本質上不是安全執行緒的。如果有兩個或多個線程操作某一控制項的狀態,則可能會迫使該控制項進入一種不一致的狀態。還可能出現其他與線程相關的 bug,包括爭用情況和死結。確保以安全執行緒方式訪問控制項非常重要。.NET Framework
編寫隨Windows啟動自動啟動並執行程式通過設定和讀取註冊表,可以實現我們的應用程式隨Windows的啟動即可執行檔功能。下面就是實現的代碼:Form1.vbImports Microsoft.Win32.RegistryPublic Class Form1 Inherits System.Windows.Forms.Form#Region " Windows 表單設計器產生的程式碼 " Public Sub New() MyBase.New() '該調用是 Windows