Thread: C++ .NET - "inconsistent dll linkage" - What's that?

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    72

    C++ .NET - "inconsistent dll linkage" - What's that?

    Google isn't being much help on this one... I'm trying to compile a project I originally started under Linux. I'm getting all kinds of "inconsistent dll linkage" warnings. Anyone know what they are or what they refer to? My warnings look like this:

    c:\CVS\HDKProjects\MLInclude\MLClient.C(12) : warning C4273: 'MLClient::getLicenseDir' : inconsistent dll linkage
    c:\CVS\HDKProjects\MLInclude\MLClient.C(35) : warning C4273: 'MLClient::ML_LICENSE' : inconsistent dll linkage
    HT_Initdata.C(29) : warning C4273: 'HT_Initdata::HT_Initdata' : inconsistent dll linkage
    HT_Initdata.C(36) : warning C4273: 'HT_Initdata::~HT_Initdata' : inconsistent dll linkage
    HT_Initdata.C(46) : warning C4273: 'HT_Initdata::initialize' : inconsistent dll linkage
    HT_Initdata.C(67) : warning C4273: 'HT_Initdata::checkin' : inconsistent dll linkage
    HT_Initdata.C(74) : warning C4273: 'HT_Initdata::checkout' : inconsistent dll linkage
    HT_Initdata.C(125) : warning C4273: 'HT_Initdata::resize' : inconsistent dll linkage
    HT_Initdata.C(165) : warning C4273: 'HT_Initdata::indexScale' : inconsistent dll linkage


  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    C4273

    gg

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    72
    oh wow... a whole new world of error explanations - thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Passing .Net Bitmap to C++ Dll
    By xJJx in forum C++ Programming
    Replies: 4
    Last Post: 01-30-2009, 05:16 AM
  2. dll communicating between each other
    By cloudy in forum C++ Programming
    Replies: 5
    Last Post: 06-17-2005, 02:20 AM
  3. making a dll in .net 2.0 and than using it in .net 1.1
    By Rune Hunter in forum C# Programming
    Replies: 2
    Last Post: 04-19-2005, 01:59 PM
  4. C++ .Net DLL return values
    By shuesty in forum C++ Programming
    Replies: 15
    Last Post: 01-19-2003, 05:39 PM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM