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. How to include omnithread in my application?

How to include omnithread in my application?

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionvisual-studiocomtutorial
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.
  • A Offline
    A Offline
    ashishbhatt 0
    wrote on last edited by
    #1

    Hi All, I am using VC++ win32 application in VS 2005.I have created one project as win32 and now I want to add one another project which is omnithread into same solution.I want to make it as static library. How can I use omnithread.h,nt.h and nt.cpp files in this project.And what my project settings I have to change?Please suggest me.I tried this by reading the Readme.Win32 but I did not get success. Can anyone test the application making new project with including other project as omnithread and use this project's classes into the ohter project in the same solution. You can download these files from the below link. http://www.koders.com/cpp/fidB630376C86E504519D0CBF450C0AA4358CFC3915.aspx?s=omnithread.h[^] If you get any idea or any suggetion then reply me. Thanks in Advace.

    Ashish Bhatt

    I 1 Reply Last reply
    0
    • A ashishbhatt 0

      Hi All, I am using VC++ win32 application in VS 2005.I have created one project as win32 and now I want to add one another project which is omnithread into same solution.I want to make it as static library. How can I use omnithread.h,nt.h and nt.cpp files in this project.And what my project settings I have to change?Please suggest me.I tried this by reading the Readme.Win32 but I did not get success. Can anyone test the application making new project with including other project as omnithread and use this project's classes into the ohter project in the same solution. You can download these files from the below link. http://www.koders.com/cpp/fidB630376C86E504519D0CBF450C0AA4358CFC3915.aspx?s=omnithread.h[^] If you get any idea or any suggetion then reply me. Thanks in Advace.

      Ashish Bhatt

      I Offline
      I Offline
      Iain Clarke Warrior Programmer
      wrote on last edited by
      #2

      Hmmm, where to start. Simple answer: #include "omnithread.h" And add nt.cpp to your project. Longer answer: If you're struggling to include a header, then threads may be overly ambitious. Bit Longer answer: Is there a reason you're not asking on www.koders.com where the files are from? I know that *I'm* not going to make a dummy project, download those files, work out what they're about, test it, then tell you. That's the sort of thing you PAY people for. Iain.

      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