Professional Web Applications Themes

xp_srv_paraminfo_sample - Microsoft SQL / MS SQL Server

Hi When I run the xp_srv_paraminfo_sample in VC++ 6.0, I am getting the error "Undeclared Identifier: ODS_VERSION". When this line is commented, I am getting the linker error. Are there anyone to me to solve the problem ? Ahamad...

  1. #1

    Default xp_srv_paraminfo_sample

    Hi

    When I run the xp_srv_paraminfo_sample in VC++ 6.0, I am
    getting the error "Undeclared Identifier: ODS_VERSION".
    When this line is commented, I am getting the linker
    error. Are there anyone to me to solve the problem ?

    Ahamad
    Ahamad Guest

  2. #2

    Default Re: xp_srv_paraminfo_sample

    Hi,
    have you either included the SQL Versions of the LIB and Include files into
    your project or copied these into you VC++ directories?

    --
    I hope this helps
    regards
    Greg O MCSD
    http://www.ag-software.com/ags_scribe_index.asp. SQL Scribe Doentation
    Builder, the quickest way to doent your database
    http://www.ag-software.com/ags_SSEPE_index.asp. AGS SQL Server Extended
    Property Extended properties manager for SQL 2000
    http://www.ag-software.com/IconExtractionProgram.asp. Free icon extraction
    program
    http://www.ag-software.com. Free programming tools
    "Ahamad" <com> wrote in message
    news:087b01c35bdb$825e7620$gbl... 


    Greg Guest

  3. #3

    Default Re: xp_srv_paraminfo_sample

    You are #including the wrong version of srv.h, use the one that comes with
    SQL Server 2000 (or 7.0)
    C:\Program Files\Microsoft SQL Server\80\Tools\DevTools\Include\srv.h

    And linked against:
    C:\Program Files\Microsoft SQL Server\80\Tools\DevTools\Lib\opends60.lib

    Net

    Please reply only to the newsgroups.
    This posting is provided "AS IS" with no warranties, and confers no rights.
    You assume all risk for your use.
    Copyright SQLDev.Net 1991-2003 All rights reserved.

    "Ahamad" <com> wrote in message
    news:087b01c35bdb$825e7620$gbl... 


    Gert Guest

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139