CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2009
    Posts
    2

    Post unresolved external symbol sqlcxt

    Hi,
    I am using ProC code in my 64 bit application.

    i am getting the following error while building it:

    error LNK2001: unresolved external symbol sqlcxt

    I am linking to orasql9.lib.

    Can u tell me which library I have to link?

    Actually this is working fine for 32 bit application.


    I have added extern"C" in sqlcxt definition.

    extern "C"
    {
    void sqlcxt (void **, unsigned int *,struct sqlexd *, const struct sqlcxp *);
    void sqlcx2t(void **, unsigned int *,struct sqlexd *, const struct sqlcxp *);
    void sqlbuft(void **, char *);
    void sqlgs2t(void **, char *);
    void sqlorat(void **, unsigned int *, void *);
    }



    Does any one has any idea why I am getting this?

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: unresolved external symbol sqlcxt

    I don't know what ProC is, but you should link to the library that exports struct sqlcxp. I supposed you have some documentation for this.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  3. #3
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: unresolved external symbol sqlcxt

    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  4. #4
    Join Date
    Dec 2009
    Posts
    2

    Re: unresolved external symbol sqlcxt

    error LNK2001: unresolved external symbol "void __cdecl sqlcxt(void * *,unsigned int *,struct sqlexd *,*struct sq*lcxp const* )" (?sqlcxt@@YAXPEAPEAXPEAIPEAUsqlexd@@PEBUsqlcxp@@@Z)

    But after adding extern "C" in the PL/SQL code

    I am getting the following error:

    extern "C"
    {
    void sqlcxt (void **, unsigned int *,struct sqlexd *, const struct sqlcxp *);
    }

    error LNK2001: unresolved external symbol sqlcxt

    Please Help!!!!!!

    I am using Oracle 9i client on x64 platform.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured