CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Results 1 to 4 of 4

Hybrid View

  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
    cilu's Avatar
    cilu is offline Moderator/Reviewer/MS MVP Power Poster cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+)
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,349

    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
    cilu's Avatar
    cilu is offline Moderator/Reviewer/MS MVP Power Poster cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+) cilu has a reputation beyond repute (3000+)
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,349

    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.

+ Reply to Thread

Tags for this Thread

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

Click Here to Expand Forum to Full Width