Tag Archives: COM

COM4J Error – QueryInterface failed : Access is denied. : .\com4j.cpp

After generating the COM4J code to wrap a COM object, via the tlbimp.jar, I was getting the following error when calling the createComObjectName method on the ClassFactory: QueryInterface failed : Access is denied. : .\com4j.cpp:163 at com4j.ComThread.execute(ComThread.java:203) at com4j.Task.execute(Task.java:25) at … Continue reading

Posted in Programming | Tagged , , , | Leave a comment