DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Sergey Guest

    Using non-mfc source code inside mfc project

    Hi ALL !
    Part of non-mfc source code (C like code using winsock 1.1) was placed
    into mfc console project.
    Also all libraries from old project settings were included.
    .....
    Many LNK2001 errors : unresolved external symbol ....
    Is it possible to asseble such project ?

    Thank you very much for any suggestions.

    --
    Best regards
    Sergey




  2. #2
    Tom Guest

    Re: Using non-mfc source code inside mfc project


    "Sergey" <Dr-Agon@mail.ru> wrote:
    >Hi ALL !
    >Part of non-mfc source code (C like code using winsock 1.1) was placed
    >into mfc console project.
    >Also all libraries from old project settings were included.
    >.....
    >Many LNK2001 errors : unresolved external symbol ....
    >Is it possible to asseble such project ?
    >
    >Thank you very much for any suggestions.
    >
    >--
    >Best regards
    > Sergey
    >


    Have you tried declaring your external functions as extern "C"?
    >
    >



  3. #3
    Sergey Guest

    Re: Using non-mfc source code inside mfc project


    > Have you tried declaring your external functions as extern "C"?


    I placed them in one cpp module.



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links