[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: -nostartfiles ?
From:       Rik Hemsley <rik () kde ! org>
Date:       2000-05-01 19:32:52
[Download RAW message or body]

#if Stefan Westerfeld
> I am doing the same thing in artsdsp (an /dev/dsp emulation which redirects
> sound output to aRts via LD_PRELOAD). I have found in some mailing list
> archives that you can probably achieve the result you want using dlsym, in
> your case
> 
>    dlsym(RTLD_NEXT,"XMapWindow");
> 
> That gets a pointer to the original function. See kdelibs/arts/artsc/artsdsp.c.

Ah, wicked :)

I had thought it might be possible to do it that way, but assumed
that seeing as xalf did it the _init() way then I was wrong..

Thanks,
Rik

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic