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 8080943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:34:08+00:00 2026-06-05T16:34:08+00:00

I have two vc++ dll projects, which will generate two dlls. A vector<vector<string>> object

  • 0

I have two vc++ dll projects, which will generate two dlls. A

vector<vector<string>> 

object will pass from one dll to another dll. Both of the projects are configured as multithreaded debug dll. And both can be compiled succesfully on vc++ 2008 AND vc++ 2010. However, only the dlls generated from vc++ 2008 projects work. The dlls will be used by another dll compiled under MSDEV version 6.0. So my question is why the

vector<vector<string>>

object cannot be passed between the dlls builted by vc++ 2010? Thx:)

  • 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-06-05T16:34:10+00:00Added an answer on June 5, 2026 at 4:34 pm

    You can not use STL types in DLL interfaces, if you plan to use different compiler versions for the DLL and the code that uses it.

    The implementations of vector and string may differ (and they seem to do in your case), and you will get problems like this.

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

Sidebar

Related Questions

I have two projects, the DLL project which has all my logic and data
I have a VS solution with two projects: one is the actual code (which
I have two WIN32 DLL projects in the solution, main.dll should call a function
My C# WinForms solution has two projects. A DLL which is the main project
I have a project which i need to build in two different configurations. One
In my WiX projects I have two custom actions, in the same DLL. Both
I have two projects: 1) a project written in Visual C++ 2005 which targets
Imagine we have a solution with 2 projects: MakeDll (a dll app), which creates
I have two class libraries MyLibrary.dll and MyLibraryEditor.dll for a Unity runtime and editor
I have this c# web app that relies heavily on two dll files that

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.