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. Managed C++/CLI
  4. Managed C++ starting unmanaged threads?

Managed C++ starting unmanaged threads?

Scheduled Pinned Locked Moved Managed C++/CLI
c++designhardwarequestion
6 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.
  • D Offline
    D Offline
    dlfarney
    wrote on last edited by
    #1

    I have a managed C++ (windows.forms) application that needs to start unmanaged threads (real-time hardware stuff) that will run in the background until the application is terminated. The interface commuication between the managed UI and the unmanaged threads needs to be both ways with pointer references. Is this possible? And how would it be done? Thank you, Della

    P 1 Reply Last reply
    0
    • D dlfarney

      I have a managed C++ (windows.forms) application that needs to start unmanaged threads (real-time hardware stuff) that will run in the background until the application is terminated. The interface commuication between the managed UI and the unmanaged threads needs to be both ways with pointer references. Is this possible? And how would it be done? Thank you, Della

      P Offline
      P Offline
      Paul Selormey
      wrote on last edited by
      #2

      Lets start this way, have ever programmed background thread in C++? Best regards, Paul. Jesus Christ is LOVE! Please tell somebody.

      D 1 Reply Last reply
      0
      • P Paul Selormey

        Lets start this way, have ever programmed background thread in C++? Best regards, Paul. Jesus Christ is LOVE! Please tell somebody.

        D Offline
        D Offline
        dlfarney
        wrote on last edited by
        #3

        Yes, I have programmed background threads. What's your point? Thanks, Della.

        P 1 Reply Last reply
        0
        • D dlfarney

          Yes, I have programmed background threads. What's your point? Thanks, Della.

          P Offline
          P Offline
          Paul Selormey
          wrote on last edited by
          #4

          farnster wrote: What's your point? You should then have tried it with the case you are refering to and report any problem. If you have never programmed a thread then you will need a startup code but having done it I see no reason why you should not try it first. Best regards, Paul. Jesus Christ is LOVE! Please tell somebody.

          J 1 Reply Last reply
          0
          • P Paul Selormey

            farnster wrote: What's your point? You should then have tried it with the case you are refering to and report any problem. If you have never programmed a thread then you will need a startup code but having done it I see no reason why you should not try it first. Best regards, Paul. Jesus Christ is LOVE! Please tell somebody.

            J Offline
            J Offline
            Joao Vaz
            wrote on last edited by
            #5

            Paul, I bought the book "Advanced .NET Remoting" because of your review on Amazon, I'm only beginning to read it, and I just let you known that if I don't like the book, my reason to return it , will be that a fellow CPian played a trick on me :rolleyes: Cheers,Joao Vaz And if your dream is to care for your family, to put food on the table, to provide them with an education and a good home, then maybe suffering through an endless, pointless, boring job will seem to have purpose. And you will realize how even a rock can change the world, simply by remaining obstinately stationary.-Shog9 Remember just because a good thing comes to an end, doesn't mean that the next one can't be better.-Chris Meech

            P 1 Reply Last reply
            0
            • J Joao Vaz

              Paul, I bought the book "Advanced .NET Remoting" because of your review on Amazon, I'm only beginning to read it, and I just let you known that if I don't like the book, my reason to return it , will be that a fellow CPian played a trick on me :rolleyes: Cheers,Joao Vaz And if your dream is to care for your family, to put food on the table, to provide them with an education and a good home, then maybe suffering through an endless, pointless, boring job will seem to have purpose. And you will realize how even a rock can change the world, simply by remaining obstinately stationary.-Shog9 Remember just because a good thing comes to an end, doesn't mean that the next one can't be better.-Chris Meech

              P Offline
              P Offline
              Paul Selormey
              wrote on last edited by
              #6

              :laugh::laugh::laugh: I stand by my review and will write a new book for you if this does not make the grade ;P Anyway, welcome to the .NET Remoting - be prepared to answer my questions on the forum on .NET Remoting since I will be starting a project on this next 2 weeks. Best regards, Paul. Jesus Christ is LOVE! Please tell somebody.

              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