DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Page 1 of 4 123 ... LastLast
Results 1 to 15 of 59

Thread: callback function

  1. #1
    CB Guest

    callback function


    vb4 does not have the "addressof" operator. so how can i determine the address
    of a function, so I can use in my api calls.

    thanks
    cb

  2. #2
    Karl E. Peterson Guest

    Re: callback function

    Upgrade.
    --
    http://www.mvps.org/vb


    "CB" <CBABINO@MRWEISER.COM> wrote in message news:392c46cf$1@news.devx.com...
    >
    > vb4 does not have the "addressof" operator. so how can i determine the address
    > of a function, so I can use in my api calls.
    >
    > thanks
    > cb




  3. #3
    Karl E. Peterson Guest

    Re: callback function

    Upgrade.
    --
    http://www.mvps.org/vb


    "CB" <CBABINO@MRWEISER.COM> wrote in message news:392c46cf$1@news.devx.com...
    >
    > vb4 does not have the "addressof" operator. so how can i determine the address
    > of a function, so I can use in my api calls.
    >
    > thanks
    > cb




  4. #4
    bob butler Guest

    Re: callback function

    Karl E. Peterson <karl@mvps.org> wrote in message
    news:392c47be$1@news.devx.com...
    > Upgrade.
    > --
    > http://www.mvps.org/vb
    >
    >
    > "CB" <CBABINO@MRWEISER.COM> wrote in message

    news:392c46cf$1@news.devx.com...
    > >
    > > vb4 does not have the "addressof" operator. so how can i determine the

    address
    > > of a function, so I can use in my api calls.


    ROFLMAO
    Don't know why that strikes me so funny, but thanks for the laugh. It's
    been a looong day.




  5. #5
    bob butler Guest

    Re: callback function

    Karl E. Peterson <karl@mvps.org> wrote in message
    news:392c47be$1@news.devx.com...
    > Upgrade.
    > --
    > http://www.mvps.org/vb
    >
    >
    > "CB" <CBABINO@MRWEISER.COM> wrote in message

    news:392c46cf$1@news.devx.com...
    > >
    > > vb4 does not have the "addressof" operator. so how can i determine the

    address
    > > of a function, so I can use in my api calls.


    ROFLMAO
    Don't know why that strikes me so funny, but thanks for the laugh. It's
    been a looong day.




  6. #6
    Mike Culley Guest

    Re: callback function


    Karl,

    This is a myth - you can do callbacks in VB4. I will get a sample going,
    but it will take a day or so before I get the time.

    Michael Culley

    "Karl E. Peterson" <karl@mvps.org> wrote:
    >Upgrade.
    >--
    >http://www.mvps.org/vb
    >
    >
    >"CB" <CBABINO@MRWEISER.COM> wrote in message news:392c46cf$1@news.devx.com...
    >>
    >> vb4 does not have the "addressof" operator. so how can i determine the

    address
    >> of a function, so I can use in my api calls.
    >>
    >> thanks
    >> cb

    >
    >



  7. #7
    Mike Culley Guest

    Re: callback function


    Karl,

    This is a myth - you can do callbacks in VB4. I will get a sample going,
    but it will take a day or so before I get the time.

    Michael Culley

    "Karl E. Peterson" <karl@mvps.org> wrote:
    >Upgrade.
    >--
    >http://www.mvps.org/vb
    >
    >
    >"CB" <CBABINO@MRWEISER.COM> wrote in message news:392c46cf$1@news.devx.com...
    >>
    >> vb4 does not have the "addressof" operator. so how can i determine the

    address
    >> of a function, so I can use in my api calls.
    >>
    >> thanks
    >> cb

    >
    >



  8. #8
    Jason Bock Guest

    Re: callback function

    > Karl,
    >
    > This is a myth - you can do callbacks in VB4. I will get a sample going,
    > but it will take a day or so before I get the time.


    With no other DLLs? Or will you write something in VC++ or PowerBASIC that
    will help you out here? Or are you talking about COM interface callbacks?

    I'd be interested to see if you can get something like AddressOf working in
    VB4 using nothing but VB4.

    Regards,

    Jason



  9. #9
    Jason Bock Guest

    Re: callback function

    > Karl,
    >
    > This is a myth - you can do callbacks in VB4. I will get a sample going,
    > but it will take a day or so before I get the time.


    With no other DLLs? Or will you write something in VC++ or PowerBASIC that
    will help you out here? Or are you talking about COM interface callbacks?

    I'd be interested to see if you can get something like AddressOf working in
    VB4 using nothing but VB4.

    Regards,

    Jason



  10. #10
    Karl E. Peterson Guest

    Re: callback function

    <aol>Me too!</aol>
    --
    http://www.mvps.org/vb


    "Jason Bock" <jrbock@execpc.com> wrote in message news:392c6412$1@news.devx.com...
    > > Karl,
    > >
    > > This is a myth - you can do callbacks in VB4. I will get a sample going,
    > > but it will take a day or so before I get the time.

    >
    > With no other DLLs? Or will you write something in VC++ or PowerBASIC that
    > will help you out here? Or are you talking about COM interface callbacks?
    >
    > I'd be interested to see if you can get something like AddressOf working in
    > VB4 using nothing but VB4.
    >
    > Regards,
    >
    > Jason
    >
    >




  11. #11
    Karl E. Peterson Guest

    Re: callback function

    <aol>Me too!</aol>
    --
    http://www.mvps.org/vb


    "Jason Bock" <jrbock@execpc.com> wrote in message news:392c6412$1@news.devx.com...
    > > Karl,
    > >
    > > This is a myth - you can do callbacks in VB4. I will get a sample going,
    > > but it will take a day or so before I get the time.

    >
    > With no other DLLs? Or will you write something in VC++ or PowerBASIC that
    > will help you out here? Or are you talking about COM interface callbacks?
    >
    > I'd be interested to see if you can get something like AddressOf working in
    > VB4 using nothing but VB4.
    >
    > Regards,
    >
    > Jason
    >
    >




  12. #12
    Mike Culley Guest

    Re: callback function


    Jason,

    It does not use any Dlls or C code or AddIns/Compiler Modifiers - just VB
    code. I'll do an example of an API timer, but I can't do it until tonight
    (I am at work).

    Michael Culley

    "Jason Bock" <jrbock@execpc.com> wrote:
    >> Karl,
    >>
    >> This is a myth - you can do callbacks in VB4. I will get a sample going,
    >> but it will take a day or so before I get the time.

    >
    >With no other DLLs? Or will you write something in VC++ or PowerBASIC that
    >will help you out here? Or are you talking about COM interface callbacks?
    >
    >I'd be interested to see if you can get something like AddressOf working

    in
    >VB4 using nothing but VB4.
    >
    >Regards,
    >
    >Jason
    >
    >



  13. #13
    Mike Culley Guest

    Re: callback function


    Jason,

    It does not use any Dlls or C code or AddIns/Compiler Modifiers - just VB
    code. I'll do an example of an API timer, but I can't do it until tonight
    (I am at work).

    Michael Culley

    "Jason Bock" <jrbock@execpc.com> wrote:
    >> Karl,
    >>
    >> This is a myth - you can do callbacks in VB4. I will get a sample going,
    >> but it will take a day or so before I get the time.

    >
    >With no other DLLs? Or will you write something in VC++ or PowerBASIC that
    >will help you out here? Or are you talking about COM interface callbacks?
    >
    >I'd be interested to see if you can get something like AddressOf working

    in
    >VB4 using nothing but VB4.
    >
    >Regards,
    >
    >Jason
    >
    >



  14. #14
    Jonathan Wood Guest

    Re: callback function

    Most of us are more than capable of putting something together like this.
    The only question is how to obtain the address of the callback function. Why
    not just state how?

    --
    Jonathan Wood
    SoftCircuits Programming
    http://www.softcircuits.com

    Mike Culley <m_culley@one.net.au> wrote in message
    news:392c835a$1@news.devx.com...
    >
    > Jason,
    >
    > It does not use any Dlls or C code or AddIns/Compiler Modifiers - just VB
    > code. I'll do an example of an API timer, but I can't do it until tonight
    > (I am at work).
    >
    > Michael Culley
    >
    > "Jason Bock" <jrbock@execpc.com> wrote:
    > >> Karl,
    > >>
    > >> This is a myth - you can do callbacks in VB4. I will get a sample

    going,
    > >> but it will take a day or so before I get the time.

    > >
    > >With no other DLLs? Or will you write something in VC++ or PowerBASIC

    that
    > >will help you out here? Or are you talking about COM interface

    callbacks?
    > >
    > >I'd be interested to see if you can get something like AddressOf working

    > in
    > >VB4 using nothing but VB4.
    > >
    > >Regards,
    > >
    > >Jason
    > >
    > >

    >




  15. #15
    Jonathan Wood Guest

    Re: callback function

    Most of us are more than capable of putting something together like this.
    The only question is how to obtain the address of the callback function. Why
    not just state how?

    --
    Jonathan Wood
    SoftCircuits Programming
    http://www.softcircuits.com

    Mike Culley <m_culley@one.net.au> wrote in message
    news:392c835a$1@news.devx.com...
    >
    > Jason,
    >
    > It does not use any Dlls or C code or AddIns/Compiler Modifiers - just VB
    > code. I'll do an example of an API timer, but I can't do it until tonight
    > (I am at work).
    >
    > Michael Culley
    >
    > "Jason Bock" <jrbock@execpc.com> wrote:
    > >> Karl,
    > >>
    > >> This is a myth - you can do callbacks in VB4. I will get a sample

    going,
    > >> but it will take a day or so before I get the time.

    > >
    > >With no other DLLs? Or will you write something in VC++ or PowerBASIC

    that
    > >will help you out here? Or are you talking about COM interface

    callbacks?
    > >
    > >I'd be interested to see if you can get something like AddressOf working

    > in
    > >VB4 using nothing but VB4.
    > >
    > >Regards,
    > >
    > >Jason
    > >
    > >

    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center