>>Even if you declare it this way?
>>
>>
>>Public Environment As IBM.WMQ.MQEnvironment
>>
>
>The naming of the variable is not a factor. Yes, I tried to use this approach.
Then the problem is that IBM.WMQ.MQEnvironment is not CLS-compliant. That means that the IBM guys are not using FxCop for thier providers. In any case, your code will work in most cases. The potential problem is that you may have some breaking condition if you subclass this Environment class from any other language, as C# or J#, for example. Don't worry too much about this exept if you are producing a librrary that many other people will use.
Regards,