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. General Programming
  3. C / C++ / MFC
  4. static library instance member scope

static library instance member scope

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharp
4 Posts 2 Posters 0 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.
  • Z Offline
    Z Offline
    zildjohn01
    wrote on last edited by
    #1

    i have a question about scope of items in a static library. is it possible to give access to members of a class to functions within the library, but not functions in the application referencing the library (such as the 'internal' keyword in c#) without specifying 'friend' for every class i need to have access to it? sorry i worded that weird :laugh::laugh:

    C 1 Reply Last reply
    0
    • Z zildjohn01

      i have a question about scope of items in a static library. is it possible to give access to members of a class to functions within the library, but not functions in the application referencing the library (such as the 'internal' keyword in c#) without specifying 'friend' for every class i need to have access to it? sorry i worded that weird :laugh::laugh:

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      No, I don't think so. Christian Graus - Microsoft MVP - C++

      Z 1 Reply Last reply
      0
      • C Christian Graus

        No, I don't think so. Christian Graus - Microsoft MVP - C++

        Z Offline
        Z Offline
        zildjohn01
        wrote on last edited by
        #3

        thanks it's hard moving from managed back to unmanaged:-D

        C 1 Reply Last reply
        0
        • Z zildjohn01

          thanks it's hard moving from managed back to unmanaged:-D

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Yeah, I've moved from C# back to C++, and while I love it overall, there are definately things I notice are 'missing' ( although the same is true going the other way ) Christian Graus - Microsoft MVP - C++

          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