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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. what that means

what that means

Scheduled Pinned Locked Moved C#
c++
3 Posts 3 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.
  • 3 Offline
    3 Offline
    3bood ghzawi
    wrote on last edited by
    #1

    Hi all, i need helping about if (pcap_addr.Addr != IntPtr.Zero)</ is that mean (at C++): if (pcap_addr.Addr != null)

    OriginalGriffO V 2 Replies Last reply
    0
    • 3 3bood ghzawi

      Hi all, i need helping about if (pcap_addr.Addr != IntPtr.Zero)</ is that mean (at C++): if (pcap_addr.Addr != null)

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      MSDN[^] says "The value of this field is not equivalent to a null reference" So, not quite, but similar.

      If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • 3 3bood ghzawi

        Hi all, i need helping about if (pcap_addr.Addr != IntPtr.Zero)</ is that mean (at C++): if (pcap_addr.Addr != null)

        V Offline
        V Offline
        V 0
        wrote on last edited by
        #3

        I would read the first as there is/was "something", but it is not valid. The second is more like, there is "nothing" or "not applicable", not applicable is even more correct I think.

        V.

        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