Skip to main content
1-Visitor
October 21, 2015
Question

C API Response not working

  • October 21, 2015
  • 2 replies
  • 1758 views

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

    2 replies

    1-Visitor
    October 21, 2015

    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.

    ubischoff1-VisitorAuthor
    1-Visitor
    October 22, 2015

    The problem is already at the first command.

    ubischoff1-VisitorAuthor
    1-Visitor
    October 22, 2015

    I found the problem.

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