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. Call back function

Call back function

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
3 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.
  • N Offline
    N Offline
    NicholasCougar
    wrote on last edited by
    #1

    Hi, call back function is said to be called by Operation system only. I want to make a call back funtion myself and control the time and place it is called. Can I make it? Would you please append an example ? Thank you. Best regard. One concrete prolem is worth a thousand unapplied abstractions.

    T C 2 Replies Last reply
    0
    • N NicholasCougar

      Hi, call back function is said to be called by Operation system only. I want to make a call back funtion myself and control the time and place it is called. Can I make it? Would you please append an example ? Thank you. Best regard. One concrete prolem is worth a thousand unapplied abstractions.

      T Offline
      T Offline
      Tom Archer
      wrote on last edited by
      #2

      Are you saying you want to implement a callback between one piece of your code and another? Cheers, Tom Archer Author, Inside C# Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.

      1 Reply Last reply
      0
      • N NicholasCougar

        Hi, call back function is said to be called by Operation system only. I want to make a call back funtion myself and control the time and place it is called. Can I make it? Would you please append an example ? Thank you. Best regard. One concrete prolem is worth a thousand unapplied abstractions.

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        Once is enough, asking over and over only annoys people, especially when the first ask is only two posts down. You want to look at function pointers, that is how callbacks work and it's just as easy to impliment your own if you want to. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002

        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