📄 insidecom.java
字号:
//
// Auto-generated using JActiveX.EXE 5.00.2918
// ("C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VJ98\jactivex.exe" /javatlb /c2j /creg /xh /wfc /w /xi /X:rkc /l "C:\WINDOWS\TEMP\jvcD320.TMP" /nologo /d "C:\My Documents\Microsoft Press\Inside COM+\Samples\Exceptions\Obtaining" "C:\My Documents\Microsoft Press\Inside COM+\Samples\Exceptions\Obtaining\Component.tlb")
//
// WARNING: Do not remove the comments that include "@com" directives.
// This source file must be compiled by a @com-aware compiler.
// If you are using the Microsoft Visual J++ compiler, you must use
// version 1.02.3920 or later. Previous versions will not issue an error
// but will not generate COM-enabled class files.
//
package component;
import com.ms.com.*;
import com.ms.com.IUnknown;
import com.ms.com.Variant;
/** @com.register(clsid=2652CA66-D6CF-11D2-BB51-006097B5EAFC, typelib=2652CA65-D6CF-11D2-BB51-006097B5EAFC, version="1.0", description="InsideCOM")*/
public class InsideCOM implements IUnknown,com.ms.com.NoAutoScripting,component.InsideCOM_DispatchDefault
{
// toString UNMAPPABLE: Name is a keyword or conflicts with another member.
// public String toString() {
// throw new com.ms.com.ComFailException(0x80004001); // E_NOTIMPL
// }
// notifyAll UNMAPPABLE: Name is a keyword or conflicts with another member.
// public void notifyAll() {
// throw new com.ms.com.ComFailException(0x80004001); // E_NOTIMPL
// }
// hashCode UNMAPPABLE: Name is a keyword or conflicts with another member.
// public int hashCode() {
// throw new com.ms.com.ComFailException(0x80004001); // E_NOTIMPL
// }
public Variant wait(Variant Parameter0, Variant Parameter1) {
throw new com.ms.com.ComFailException(0x80004001); // E_NOTIMPL
}
// notify UNMAPPABLE: Name is a keyword or conflicts with another member.
// public void notify() {
// throw new com.ms.com.ComFailException(0x80004001); // E_NOTIMPL
// }
// equals UNMAPPABLE: Name is a keyword or conflicts with another member.
// public boolean equals(Object Parameter0) {
// throw new com.ms.com.ComFailException(0x80004001); // E_NOTIMPL
// }
public int Sum(int Parameter0, int Parameter1) {
throw new com.ms.com.ComFailException(0x80004001); // E_NOTIMPL
}
// getClass UNMAPPABLE: Name is a keyword or conflicts with another member.
// public Object getClass() {
// throw new com.ms.com.ComFailException(0x80004001); // E_NOTIMPL
// }
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -