Questions tagged [com4j]

a Java library that allows Java applications to seamlessly interoperate with the Microsoft Component Object Model; a Java tool that imports a COM type library and generates the Java definitions of that library.

75 questions
0
votes
1 answer

How can I find the typelib identifier of the DirectShow interfaces for use with COM4j

I'm trying to interact with a webcam from Java on Windows (without going through the FMJ or JMF frameworks) by using COM4j. However, I'm unable to find the typelib identifier for Direct Show in order to build the interfaces. The COM4j site…
Jherico
  • 28,584
  • 8
  • 61
  • 87
0
votes
0 answers

com4J on Win64 connecting to a Win32 application

I have a 3rd-party Windows application that is 32-bit; it provides typelibs so I can connect to it from VBS, but only using the WScript.exe from %WINDIR%\SysWOW64. I can generate the Java classes to access the COM objects with tlbimp.jar without any…
tquadrat
  • 3,033
  • 1
  • 16
  • 29
0
votes
0 answers

HPQC OTA Client Java API - Get Testcase History

I'm using ota client java api to retrieve the test case details. Can someone please explain how to get history record of each testcases from hpqc using OTA client for Java API. (using IHistoryRecord Interface).
0
votes
2 answers

How to import COM4j as Eclipse Plugin?

I am following the guide shown in https://molteni.wordpress.com/2012/10/16/connect-hp-quality-center-with-java-using-com4j-tutorial/ to generate resources of COM4J. This is how the COM4J folder looks like I tried to create an Eclipse plugin based…
abiieez
  • 3,139
  • 14
  • 57
  • 110
0
votes
1 answer

com4j 80040111 CoCreateInstance failed : ClassFactory cannot supply requested class

I want to write CD/DVD Burning Program in Java. After searching I found this Solution given over here. I followed it but when I run this program I got error : Exception in thread "main" com4j.ExecutionException: com4j.ComException: 80040111…
0
votes
2 answers

In which DLL is the COM interface iStream defined?

I'm a complete newbie to Windows and COM programming, trying to use com4j in order to call a COM object from Java. Com4j generates Java interfaces from COM definitions "often found in .ocx, .dll, .exe, and/or .tlb files" . It was easy for me to…
Youval Bronicki
  • 1,922
  • 2
  • 18
  • 18
0
votes
1 answer

How to retrieve COM4J Requirement Coverage list

I am trying to get QC Requirement coverage by using COM4J. I am able to get list of test cases which ever covered the requirement but I don't know how to get the Test case id and name etc, IReqFactory…
0
votes
1 answer

Get Test cases from Test Plan using OTA

I have the following structure in QC Test Plan > Subject > Sample(Folder Name) > Scenario (Sub Folder) > TC1 (Test Case ) How can i retrieve TC1 using OTA and Java. Written the following code to get the Test folders , but not able to get the…
Vivek
  • 2,091
  • 11
  • 46
  • 61
0
votes
1 answer

Adding additional repository to Maven 3

I want to add to my project some special dependeny from some repository. For this I add the repository in my pom: jenkins-repo Jenkins Repository
MiamiBeach
  • 3,261
  • 6
  • 28
  • 54
0
votes
1 answer

Why can't my WebLogic server find the *.dll, other than whan it is already loaded in another classloader?

I'm developing a java Web Application, which uses a com4j library to connect to, and extract data from an external database. My application work seamlessly on my localhost, which runs a maven/jetty setup. However, I need the application to be…
jumps4fun
  • 3,994
  • 10
  • 50
  • 96
0
votes
2 answers

Connecting to HPQC from 64bit JAVA

While trying to cennect HPQC from a 64bit machine(having 64bit JAVA, and ECLIPSE), I am getting the below mentioned exception: Exception in thread "main" com4j.ExecutionException: com4j.ComException: 80040154 CoCreateInstance failed : Class not…
Parag
  • 107
  • 1
  • 1
  • 4
0
votes
0 answers

Register com4j*.dll on 64bit win 2008 r2 Server and run OTAClient

I have tried all the solutions available on net for registering the right dll. First the Issue: One third party tool uses OTAClient jar which was created through com4j bridge. While creating the tool, the script works fine in local(64 bit) and…
Vinay Gupta
  • 213
  • 3
  • 16
0
votes
1 answer

How to get array data with CATIA using com4j API to get point coordinate?

I try to retreive information from catia usig com4j. Some methods require to pass an array in argument to retreive information but the array is never populated. In this example is to get coordinate from a point in catia. The declaration of the…
tao
  • 3
  • 3
0
votes
0 answers

JAVA SE stopped working while connecting to project on QC/ALM Server from java application using OTAClient and com4j

I tried connecting java with QC with help of OTAClient and com4j. It is getting connected to server and then the login was also successful. But when it comes to connecting to a particular project and domain it takes some time, works and then says…
0
votes
1 answer

Messed up file IO

I apparently did just that and have no clue how. Or why... or what exactly, either. Allright, here's the setup: I'm running an OpenDSS Simulation using the OpenDSSEngine.dll and a com4j java interface generated by this process:…
ainawing
  • 11
  • 4