Archived

This forum has been archived. Please start a new discussion on GitHub.

MFC & STLPort

ICE depends on STLport-4.5.3. and MFC depends on its own stl acturally , so if I want to use ICE with MFC, the two kinds of STLs could conflict each other, so how to solve this problem when I need use ICE with MFC or any other kinds of STL? thanks

Comments

  • marc
    marc Florida
    I wasn't aware of that MFC uses STL. Are you sure?

    In any case, Ice only requires STLport if you use Visual C++ 6.0, which is an outdated version with a broken STL library. If you use Visual C++ 7.0 or higher, you can use the STL that is included.
  • thanks your reply, yeah, I know mfc do not need any stl.

    my question is if I use ICE in my programe, i should use STLPort, but parts of my programe need another kind of stl, so if I should use VC++ 6.0, how can I solve the confliction between the two kinds of stl ?
  • marc
    marc Florida
    I'm afraid you cannot use both STL versions together. Your best option would be to upgrade to Visual C++ 7.1/2.