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. AfxBeginThread() with a function in the main class

AfxBeginThread() with a function in the main class

Scheduled Pinned Locked Moved C / C++ / MFC
c++comhelpquestion
23 Posts 5 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.
  • M Mark Salsbery

    Johpoke wrote:

    Maybe its like a gold-member only emotion.

    Nope.  I was so proud when I found it all by myself, since I know nothing about web programming :) ;P

    Mark Salsbery Microsoft MVP - Visual C++ :java:

    J Offline
    J Offline
    Johpoke
    wrote on last edited by
    #21

    :jig: :~ :jig:

    //Johannes

    M 1 Reply Last reply
    0
    • J Johpoke

      :jig: :~ :jig:

      //Johannes

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #22

      :laugh:

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      1 Reply Last reply
      0
      • J Johpoke

        Ah yes now it compiles, thanks. But when i add a function to it (one that is connected to CThreadDemoDlg) i get the cant call a nonstatic member function.. error C2352: 'CThreadDemoDlg::SomeFunction' : illegal call of non-static member function see declaration of 'SomeFunction' So how should i go about calling the function? thanks again!

        //Johannes

        A Offline
        A Offline
        Ahmad Al Maraghi
        wrote on last edited by
        #23

        u don't understand the problem:(

        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