Re: Creating classes via DLL.
From: J French (erewhon_at_nowhere.com)
Date: 01/28/04
- Next message: Roy: "Re: Help with Arc needed"
- Previous message: J French: "Re: CRC on INI file?"
- In reply to: Erik Brännlund: "Re: Creating classes via DLL."
- Next in thread: Erik Brännlund: "Re: Creating classes via DLL."
- Reply: Erik Brännlund: "Re: Creating classes via DLL."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Jan 2004 09:33:07 +0000 (UTC)
On Wed, 28 Jan 2004 08:23:14 GMT,
erik.brannlund_nospam_@epl.ericsson.se (Erik Brännlund) wrote:
<snip>
>Thnx for the answer. I know this is the normal way, but I still would like to
>create my instances of the classes from the dll and the dispose of the DLL.
>
>Is there anyway to do this. What I tried was
<snip>
Christ !
An Object (or instance of a Class) is just a 4 byte pointer that
points to some (unique) data and some code that is shared by all
instances.
What you want to do is create that pointer and then totally zap the
memory holding the code
- a bit like loading an EXE and then writing a block of #0 throughout
its code area.
Perhaps if you could explain what effect you want to achieve we could
come up with a viable alternative
As it is you are ... well writing a self destruct mechanism
- Next message: Roy: "Re: Help with Arc needed"
- Previous message: J French: "Re: CRC on INI file?"
- In reply to: Erik Brännlund: "Re: Creating classes via DLL."
- Next in thread: Erik Brännlund: "Re: Creating classes via DLL."
- Reply: Erik Brännlund: "Re: Creating classes via DLL."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|