RE: [AD] win directx Joystick driver

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Windows just has those dlls and if a symbol isn't found then the Runtime
> Loader bails.

i'm not into this, but:

- directx uses com to fetch its interfaces
- the use of com (besides slowing down a program) is to be able to access
  code *without* linking (it's based on RPC)
- thus, if they made linking mandatory, they're tits.
- thus, ... oh, wait, i had a fourth point here ...

i've coded some com (sigh) and an interface is requested by an id (a ...
128 bit i think... number). you stuff that in a request routine, which
returns a pointer to an interface. the program then calls routine thru
this interface.
since this scheme is possible through processes, or through a corba like
rpc mechanism, you *must* be able to *not* link.

sorry, i realize that people, like eric, or isaac, know this far better
than me, but i'm pretty sure there is a solution to that ...

-- 
Lyrian 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/