Results 1 to 40 of 62

Thread: Instantiate internal class object with name in string

Hybrid View

  1. #1
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,868

    Re: Instantiate internal class object with name in string

    Very valuable knowledge, thank you very much, firehacker.

  2. #2
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    6,203

    Re: Instantiate internal class object with name in string

    Quote Originally Posted by SearchingDataOnly View Post
    Very valuable knowledge, thank you very much, firehacker.
    Valuable but not actionable IMO.

    If you are going to produce a type library with so much intricate info at run-time then you might as well just fill a Collection with keys on procedure names and values a pfn's (AddressOf MyProc) so you can just use DispInvoke API to emulate CallByName on a module.

    cheers,
    </wqw>

  3. #3
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,868

    Re: Instantiate internal class object with name in string

    Quote Originally Posted by wqweto View Post
    Valuable but not actionable IMO.

    If you are going to produce a type library with so much intricate info at run-time then you might as well just fill a Collection with keys on procedure names and values a pfn's (AddressOf MyProc) so you can just use DispInvoke API to emulate CallByName on a module.

    cheers,
    </wqw>
    Ok, I'll try your method. Thank you, wqweto.

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