2 Replies Latest reply on Jul 12, 2011 8:09 PM by user8601773

    unresolved external symbol _sqlcxt

    761517
      hello

      i was trying to compile Pro*C program on windows 7 professional 64 bit with visual studio, and I get the following error while linking library. Please help!

      envionment:
      windows 7 professional 64 bit
      Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64)
      visual studio(i tried both 2005 and 2008)

      error LNK2019: unresolved external symbol _sqlcxt referenced in function.
      error LNK2019: unresolved external symbol _sqlglm referenced in function.

      the program was compiled and worked on windows xp/oracle 9/visual studio 2005 just fine.

      Thanks in advance.

      Ivan
        • 1. Re: unresolved external symbol _sqlcxt
          user8601773
          try this:

          in the IDE go to project properties, configuration manager and create a new config for 64bit platform - I had exaqctly the same issue when porting existing code that runs fine using 10g lib but wouldn't find sqlcxt using 11g lib under win7 64 and vs2010 - changing platform to 64bit fixed it for me