[vorbis-dev] new DLL additions in core libs

Brian Havard brianh at kheldar.apana.org.au
Wed Sep 12 18:55:08 PDT 2001



On Wed, 12 Sep 2001 18:54:52 -0400, Monty wrote:

>On Wed, Sep 12, 2001 at 02:49:11PM -0700, Chris Wolf wrote:
>> 
>> 
>> *********** REPLY SEPARATOR  ***********
>> 
>> On 9/12/2001 at 5:30 PM xiphmont at xiph.org wrote:
>> 
>> >On Wed, Sep 12, 2001 at 02:02:36PM -0700, Chris Wolf wrote:
>> >> In that case, I think I have an alternative workaround, so that we can
>> >lose the DLL
>> >> shared memory stuff...
>> >
>> >What's the idea?
>> >
>> >Monty
>> 
>> Well, I was going to try it first to make sure it worked... I was thinking
>> instead of using statically initialized arrays in registry.c, use dynamic allocation
>> something along the lines of _vi_psy_copy, which does not have this problem.
>
>OK.  So the basic problem is that static externs are unsharable?  

That doesn't sound right. It should work if (and only if) the variables are
declared to the dll's user using __declspec(dllimport).


-- 
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh at kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list