import vs include

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • worlman385@yahoo.com

    import vs include

    So the difference between import and include is that:

    import = used for binary library like DLL or .Lib files. it's very
    similar to include that it load all the header (function definition)
    from the DLL file so that we can use the header file just like include

    include = just include header (source file)

    =============== ===========

    #import "c:\Program Files\Common Files\System\AD O\msado15.dll" \
    rename("EOF", "EndOfFile" )
  • Victor Bazarov

    #2
    Re: import vs include

    worlman385@yaho o.com wrote:
    So the difference between import and include is that:
    There is no "import" in Standard C++ (since you have posted this in
    'comp.lang.c++' , I feel obligated to let you know).
    [..]
    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask


    Comment

    • Alexander Dong Back Kim

      #3
      Re: import vs include

      On Mar 28, 5:17 am, worlman...@yaho o.com wrote:
      So the difference between import and include is that:
      >
      import = used for binary library like DLL or .Lib files. it's very
      similar to include that it load all the header (function definition)
      from the DLL file so that we can use the header file just like include
      >
      include = just include header (source file)
      >
      =============== ===========
      >
      #import "c:\Program Files\Common Files\System\AD O\msado15.dll" \
      rename("EOF", "EndOfFile" )
      #import is used for .NET Framework.

      Look up the MSDN or goodle. Don't ask to these C++ maniacs they are
      gonna get pissed off =P

      Cheers,
      Alexander D. B. Kim

      Comment

      Working...