最近使用VB6.0,遇到諸多麻煩的問題,就是關於.dll的問題。在將來源程式引入本機後,需要對用到的.dll檔案進行註冊。但有時會有所改動以致於在系統中註冊的檔案無法適應改動後的環境,就會出現 Runtime Error 430Class dose not support automation or does not support expected interface.的錯誤提示。 解決辦法:手工使用regsvr32 /u /s XXX.dll
安裝: 1.在Ubuntu的軟體中心的功能表列中的編輯下面開啟軟體源-》其他軟體-》添加,輸入:> deb http://ppa.launchpad.net/wine-cn/ppa/ubuntu lucid main 2.然後在Ubuntu軟體中心的wine-cn欄目中安裝Microsoft Windows Compatibility Layer(Binary Emulator
Cocoa中定義了NSImage、CGImage和CIImage三種圖片類型,關於三者的區別如下(來源於網路,供參考):NSImage is an abstract data type that can represent many different types of images, as well as multiple representations of an image. It is often useful when the actual type of image is not
In general==========There are planar and packed modes.- Planar mode means: You have 3 separate images, one for each component,each image 8 bits/pixel. To get the real colored pixel, you have tomix the components from all planes. The resolution of
在跑struts2的時候有時候會出現上面的錯,特別是新手,這種情況是在struts2進階的POJO訪問時候出現的s警告: Error setting expression 'user.password' with value '[Ljava.lang.String;@1cb2dd1'ognl.OgnlException: target is null for setProperty(null, "password", [Ljava.lang.String;@1cb2dd1) at
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";mso-bidi-font-family:Arial;color:#333333'>在這裡介紹兩種方法產生jarmso-hansi-font-family:"Times New
public class ImageUtil { public static Image ZoomImage(Image src, int desW, int desH) { Image desImg = null; int srcW = src.getWidth(); // 原始映像寬 int srcH = src.getHeight(); // 原始映像高 int[] srcBuf = new int[srcW *