Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / May 2008

Tip: Looking for answers? Try searching our database.

Visual Studio 2005: Iterator debugging -> Assertion

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hans Stoessel - 20 May 2008 10:19 GMT
Hi

I convert an existing project with gSOAP from Visual Studio 2003 to Visual
Studio 2005. I use the current gSoap version 2.7.10.

- Generate the header file from a wsdl file using wsdl2h -o
CPSServer.h CPSServer.wsdl CPSServerCBP.wsdl CPSServerRedSys.wsdl

- Generate the header and source files form CPSServer.h using
soapcpp2.exe -d $(InputDir) -L -C -x -I C:\Programme\gsoap-2.7
\gsoap\import\ "$(InputPath)"

- Compile and link my application

This works fine with Visual 2003, but in 2005 I have an assertion
ITERATOR LIST CORRUPTED. Seems that Visual 2005 makes a test from the
lists or vectors. I suppose, my list is empty and the begin-method gives
this
assertion. The applicatiuon seems to work, but I have a lot of this
assertions!

- What can I do?

- Do I have to set other options in my project or for wsdl2h or
soapcpp2?

- Can I disable this assertion?

I found the defines _HAS_ITERATOR_DEBUGGING=0 and _SECURE_SCL=0. But I can't
implement this defines in my source files, because the files are generated
during the compiling. Can I define it in my project settings?

Thanks
Hans
David Lowndes - 20 May 2008 12:25 GMT
>This works fine with Visual 2003, but in 2005 I have an assertion
>ITERATOR LIST CORRUPTED. Seems that Visual 2005 makes a test from the
[quoted text clipped - 10 lines]
>implement this defines in my source files, because the files are generated
>during the compiling. Can I define it in my project settings?

Hans,

Yes, you can add those definitions to your project preprocessor
settings - but it'd be good to be sure you're not sweeping a potential
issue under the carpet before you do that.

Dave

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.