The information in this article applies to:
SYMPTOMSWhen generating Component Object Model (COM) wrapper classes for Microsoft Message Queue (MSMQ) J++ generates the following error comment in MSMQMessage.java:
CAUSEThis occurs because getClass() is a method of the Class class and therefore the typelib generator will not generate this function. RESOLUTION
Following are two methods you can use to resolve this error:
Add the following code to MSMQMessage.java:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce BehaviorMicrosoft Visual J++ 1.x:From the Tools menu, select the Java Type Library Wizard and then import MSMQ. For Visual J++ 6.x: From the Project menu, select Add COM Wrapper and then import MSMQ. Additional query words:
Keywords : |
Last Reviewed: January 12, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |