Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11280

Re: Loading an un-registered object ?

From "Mayayana" <mayayana@invalid.nospam>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: Loading an un-registered object ?
Date 2016-04-20 11:25 -0400
Organization A noiseless patient Spider
Message-ID <nf86tl$l5m$1@dont-email.me> (permalink)
References <57175fb9$0$5916$e4fe514c@news.xs4all.nl> <nf7usv$lu1$1@dont-email.me> <nf84ka$c65$1@dont-email.me>

Show all headers | View raw


| You can do this without directCOM.dll via API LoadLibrary(). For that
| matter, you could use the directCOM.dll features this way if you wish,
| but any DLL can be used reg-free with this API.
|

 Do you do that in VB? I was curious exactly how
it's done. LoadLibrary will load a DLL into the
process, but then how are you instantiating a
class instance?

  It all seems very tricky from script. Unless one
processes the typelib inside the "masterkey" DLL
and err-checks against calls coming in from VBS
it could get very messy.
   Even then, it puts one back in the same boat:
The master key DLL has to be registered in order
to load other DLLs reg-free. VBS won't be able to
use it otherwise. 

Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-20 12:54 +0200
  Re: Loading an un-registered object ? "Mayayana" <mayayana@invalid.nospam> - 2016-04-20 09:08 -0400
    Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-20 16:04 +0200
      Re: Loading an un-registered object ? "Mayayana" <mayayana@invalid.nospam> - 2016-04-20 11:14 -0400
        Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-20 21:35 +0200
        Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-21 09:33 +0200
    Re: Loading an un-registered object ? GS <gs@v.invalid> - 2016-04-20 10:47 -0400
      Re: Loading an un-registered object ? "Mayayana" <mayayana@invalid.nospam> - 2016-04-20 11:25 -0400
        Re: Loading an un-registered object ? GS <gs@v.invalid> - 2016-04-20 14:31 -0400
        Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-20 21:59 +0200
          Re: Loading an un-registered object ? "Mayayana" <mayayana@invalid.nospam> - 2016-04-20 17:14 -0400
            Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-21 10:16 +0200
              Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-21 13:39 +0200
              Re: Loading an un-registered object ? "Mayayana" <mayayana@invalid.nospam> - 2016-04-21 09:49 -0400
                Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-21 17:07 +0200
      Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-20 20:01 +0200

csiph-web