Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. cannot use _RecordsetPtr when importing msado15.dl

cannot use _RecordsetPtr when importing msado15.dl

Scheduled Pinned Locked Moved Database
questiontutorial
2 Posts 2 Posters 13 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bartek
    wrote on last edited by
    #1

    Hello, when i import msado15.dll i do not get _RecordsetPtr. I can use _Recordset but i do not know how to get item data. i found in the samples the code but it always uses _RecordsetPtr. how can i get _RecordsetPtr ? or what is eqivalent usage of _Recordset to the _RecordsetPtr's call: _RecordsetPtr Rs1;variant = Rs1->Fields->GetItem (_variant_t ("name"))->Value; thank you PS I use: #import "c:\program files\common files\system\ado\msado15.dll" \ no_namespace rename "EOF", "getEOF"); _COM_SMARTPTR_TYPEDEF(_Recordset, __uuidof(Recordset));

    R 1 Reply Last reply
    0
    • B Bartek

      Hello, when i import msado15.dll i do not get _RecordsetPtr. I can use _Recordset but i do not know how to get item data. i found in the samples the code but it always uses _RecordsetPtr. how can i get _RecordsetPtr ? or what is eqivalent usage of _Recordset to the _RecordsetPtr's call: _RecordsetPtr Rs1;variant = Rs1->Fields->GetItem (_variant_t ("name"))->Value; thank you PS I use: #import "c:\program files\common files\system\ado\msado15.dll" \ no_namespace rename "EOF", "getEOF"); _COM_SMARTPTR_TYPEDEF(_Recordset, __uuidof(Recordset));

      R Offline
      R Offline
      Robert Dickenson
      wrote on last edited by
      #2

      Well i've been using _RecordsetPtr as a member in header files. I had a quick look at one of my sources and this is everything that I include, so it's probably in one of these. Good luck, Robert Dickenson. /* #include "stdafx.h" // stdafx only includes the following two: */ #include #include #import "C:\Program Files\Common Files\System\ADO\msado15.dll" \ no_namespace rename("EOF", "EndOfFile") #include #include #include

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups