4 Replies Latest reply on Jan 21, 2011 4:57 PM by 833266

    C2664 errors after upgrading from db client 10g to 11g

      Hi, after upgrading from db client 10g to 11g, the compiler gave C2664 errors:

      AddCxrCh.cpp(2071) : error C2664: 'sqlglm' : cannot convert parameter 1 from 'char [513]' to 'unsigned char *'
      Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
      make: *** [AddCxrCh.obj] Error 2

      The same code was compiled fine when using db client 10g. I know I can easily fix this error by changing the code but there are more than one sqlglm statements used. I am seeking a way that will solve the issue by changing the compiler's settings.

      Thank you