Re: VB6 - why isnt a straight Win32 DLL offered as a project type?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx> wrote:
It's actually fairly easy, but unorthodox. You have
to bypass VB's "hellpfulness".
www.jsware.net/jsware/vbcode.php3#vdll


"Mike Williams" asked:
: Okay. I'll bite. Being a simple hobbyist I never get involved in
: these things, but in layman's terms what exactly is the difference
: between an ActiveX DLL and a "normal" Win32 DLL. Is it
: something to do with a normal DLL not requiring to be registered,
: or is it deeper than that?

Okay, here goes. I thought you already knew this stuff. <g>

A standard DLL typically supports DllMain().

An ActiveX DLL supports some extra functions.

DllCanUnloadNow()
DllGetClassObject()
DllRegisterServer()
DllUnregisterServer()

http://groups.google.com/group/alt.lang.asm/browse_frm/thread/996a4a9137cbb6e0/?tvc=1

And then there's ways to browse through the public objects, but
I didn't quite get that far into it.

Anyways, I've stepped away from the Microsoft MASM compiler.
I've been toying with NASM for awhile and created a CHM for the
NASM compiler. Click on the Download the NASM CHM link at
the following link to get it, if you're interested. There's nothing about
ActiveX inside of the file, so don't bother with it for that. It does
provide a great X86 assembly language instruction set, though. A
few developers are currently trying to get a 64-bit version of the
compiler together, but it still has some bugs in it.

http://www.microcosmotalk.com/tech/asm/nasm/
http://nasm.sourceforge.net/

NOTE: The nasm_man.chm at the sourceforge site does not have
a functional index tab (I think they still have the first version I
released). I've been toying around with the javascript inside the
file, so I'm not 100% satisfied with everything, but it's worth the
time to download just to get a reference to the X86 instruction set,
if you're into such things.

--
Jim Carlock
http://www.microcosmotalk.com/


.



Relevant Pages

  • Problems installing DBD::mysql on Solaris
    ... referenced symbol not found at ... Perhaps a required shared library or dll isn't installed where expected ... Failed 2/5 tests, 60.00% okay ... t/20createdrop.....install_driverfailed: Can't load ...
    (comp.lang.perl.modules)
  • Re: Exposing bool to non-MS, non-C++ callers
    ... the functions in this DLL accept a structure as an argument. ... The compiler doesn't help catch places where I neglect ... the C++ bool type is defined as one byte. ... depends on whether the Exe caller will push a value larger than 1 byte. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Memory allocation methods
    ... all modules are compiled against the same CRT' DLL with the same compiler. ... that case you restrict yourself to a simple C-based API for the DLL. ... I prefer to use either exceptions (but writing exception-safe code is quite ...
    (microsoft.public.win32.programmer.kernel)
  • COBOL Compiler options
    ... calls to CICS. ... we do not document this DLL problem nor have compiler options ... use of DLL's with the integrated translator (for cases where it is valid ...
    (bit.listserv.ibm-main)
  • Re: Export class from dll
    ... Remember that C++ classes describe not only the general characteristics of ... Only when the DLL ... about the compiler not knowing the details of a CBox, ... How does the compiler know what CBox is? ...
    (microsoft.public.windowsce.embedded.vc)