Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4120584
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:14:28+00:00 2026-05-20T23:14:28+00:00

Good morning, I´m facing a very strange problem on which I haven´t found a

  • 0

Good morning,

I´m facing a very strange problem on which I haven´t found a solution yet.
I hope someone could give me a clou.

I´m having a class compiled to a static lib.
I´m using this class in a simple console program to perform tests on that class.

The class worked like a charm until I added a new data member (std::string) to the class.
Even if I don´t use that string I get strange errors when the dtor of the class is called (access violation when the string got no value or bufferoverflow when the string got initialized).

Debugging the class showed that the new std::string is not present though a the old members are there.

I even tried to initialize that string in the ctor (strLPath.str(“Appletree”)) and output it before the dtor.
The output of the string shows something like “Ap tre “.

When I remove that new string everything is fine again.

Can somebody help me ?

Thx for any answers in advance.

Phil

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T23:14:29+00:00Added an answer on May 20, 2026 at 11:14 pm

    thx to everybody who were spending time thinking about my problem.

    Anyway – i solved it last night.

    When I created the test program I was a lazy fool it seems.

    Instead of including the original header, I copied it to the test project.

    Don´t know what got into me that eve.

    Sorry for wasting your time!

    Regards,
    Phil

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good Morning everyone, I'm facing yet another problem in my path of learning Android.
Good morning! We have a SVN-Repository, which holds a VS-Solution. In this solution are
Good Morning, I have Stuck in a strange problem. I want to open PDF
Good Morning, I have a very odd error working in adobe flexbuilder 3. Ever
Good Morning/Afternoon all, I have a ASP:grid which displays current versions of Terms and
Good morning, I have problem with using MasterPage and jQuery. I using jQuery UI
Good morning experts, I have an array which contain integer numbers, and I have
Good morning, I was wondering if one of you could help me - should
good morning programers, I have this small code which content a news control panel
Good morning. I have an XML file which contains lists of warning and errors

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.