Results 1 to 17 of 17

Thread: [RESOLVED, not possible] Can't get "Class" AddressOf to work

Threaded View

  1. #15
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    6,179

    Re: [RESOLVED, not possible] Can't get "Class" AddressOf to work

    Btw, "re-entrant code" means that a function can be called *while* it's being executed i.e. your Button_Click is "clicked" (i.e. called) while it's been executed (because of DoEvents or other unfortunate message pump spinning).

    COM code is not more "re-entrant" than normal procedural code in a BAS file in this sense.

    COM is OOP based (with deep roots in MS's VC++ compiler for it's actual implementation i.e. vtables, offsets, etc. everything copied verbatim) and because in every OOP based language the methods need a this/self/Me pointer to know the instance data to work on so COM "inherited" all this from MSVC's virtual functions implementation. Pure abstract base classes became interfaces with vtables and everything the same as in MSVC.

    cheers,
    </wqw>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width