cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

C API Response not working

ubischoff
1-Newbie

C API Response not working

Hi,

I'm using the C API 4.15 with Integrity 10.7 and Visual Studio 2010.

Creating the integration point, the sesson an the command works without erros.

With "mksCmdRunnerExecCmd" I get a response pointer.

Working with this pointer I always get  = null.

- mksResponseGetResult(MyResponse);   = null

- mksResponseGetFirstWorkItem  works, but  mksWorkItemGetResult(workItem)  = null

In all cases the error code  = 0

In the example in  "Always Null response"  there is the same problem.

The Java API  and the command line works fine without problems.


Can anybody help ?

Is there any logging possibility to find out the problem ?

Thanks

Uwe

3 REPLIES 3

Are you supplying hostname, port, user, and password with every command? That was something I ran into. I thought I only needed to specify it when creating the session.

The problem is already at the first command.

I found the problem.

I was wrong. I have to be careful what functions are possible with the received respond.

Top Tags