Re: About Windows address space

From: fa2k (marius_b_at_chello.no)
Date: 04/24/04

  • Next message: Eric: "IDT"
    Date: Sat, 24 Apr 2004 18:55:58 +0200
    
    

    "Beth" <BethStone21@hotmail.NOSPICEDHAM.com> wrote in message
    news:3Htic.391$Q04.73@newsfe3-win.server.ntli.net...
    > we shouldn't be encouraging slow bloatware "who cares?" solutions too
    > much, really, should we? ;)...

    hehe, I agree:) It's part of the raeson why I like assembly.

    OTOH, there are some advantages with using ASCII names, that you did not
    know about, because they are specific to the nature of this project. I may
    have said that I am making an IRC proxy, but that isn't the main goal of the
    project. I am trying to create a really modular program architecture.
    Modules will be loaded and unloaded at run time, and they will be able to
    interface with each other. How can I take advantage of this in a simple
    proxy? Well, it will also be an IRC client, "bot", and each module will only
    perform a limited funtion.

    The ASCII is used as names of functions, that are registred in a "core" DLL.
    The DLL is the only one that is called directly. The registered functions
    will resemble "events" (as in event driven apps, I think), but they are a
    bit different, as every module can call a "call point", at which multipe
    functions can be registered. Luckily, I'm not enitirely finished with
    designing the interface, so I cannot bore you with more details:)

    The ASCII is good because it provides a general way of distinguishing the
    functions from each other (using two strings, one for specialization and one
    for generalization). I understood your posts correctly, ideally, the
    GetHandleByName function would only be called once, then the handle would be
    used subsequently. I agree with this completely. Only do the ASCII stuff
    once, then use a fast "handle" or index.

    Regards,
    Marius


  • Next message: Eric: "IDT"