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. .lib in 6.0

.lib in 6.0

Scheduled Pinned Locked Moved C / C++ / MFC
comquestion
2 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.
  • L Offline
    L Offline
    LOSTTWARE com
    wrote on last edited by
    #1

    In 6.0 "#using" is not a valid command. I want to do this: #using but it won't let me. How do you say that in 6.0? LOSTTWARE.com

    M 1 Reply Last reply
    0
    • L LOSTTWARE com

      In 6.0 "#using" is not a valid command. I want to do this: #using but it won't let me. How do you say that in 6.0? LOSTTWARE.com

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      #pragma comment( lib, "msimg32.lib" ) This embeds a command to the linker in the object file generated by the compiler for this source file. MFC uses comment pragmas to force linking to the appropriate MFC runtime library files depending on your definitions. The #using directive is for importing a managed library for use in managed C++ code.

      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