axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Yves Baudy <>
Subject RE : Improving Hanlder writing api
Date Thu, 26 Feb 2004 09:00:51 GMT
Hi Roshan,

Your problem "look like a pointer offset issue". But I'm not an expert 
in C/C++ programming. In the CVS code I saw this code:

         virtual int initializeForTesting() = 0;

If in the code you use pointer to access functions (in other part) in 
release mode pIHeaderBlock->getFirstChild() may target wrong function. 
But without your code is difficult to help more.



 >hi Jean,
 >The code is not commited yet to CVS. I have a problem which troubles >me,
 >but which I still unable to sort out. The new code (i.e proposed 
 >below) works well in Debug build. But the code doesn't work at Release
 >build. i.e
 >(For a good understnding of this code block look at the bottom of this 
 >IHeaderBlock* pIHeaderBlock=
 >if (pIHeaderBlock != NULL) {
 >        BasicNode* pBasicNode= pIHeaderBlock->getFirstChild();
 >         ..........
 >In Release build the execution flow doesn't enter to
 >the  pIHeaderBlock->getFirstChild();. The if block is evaluated as >true.
 >But it doesn't enter to the pIHeaderBlock->getFirstChild() method. (I 
 >put a log to see whether it enters to this method, but the execution 
 >doesn't enter to it.) But without a single change in the Debug build it
 >works fine. Well so I still can't commit it. I also use the lates CVS
 >update. Also the SOAP request which I use contains the SOAP Header in 
 >expected manner.
 >Your ideas will be greately appreciated in this problem.

View raw message