Home Help Center

MFC & STLPort

simpleysimpley Member ✭✭
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

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    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.
  • simpleysimpley Member ✭✭
    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 ?
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    I'm afraid you cannot use both STL versions together. Your best option would be to upgrade to Visual C++ 7.1/2.
Sign In or Register to comment.