POV-Ray : Newsgroups : povray.programming : Invoking POV-Ray via GUI Extension : Re: Invoking POV-Ray via GUI Extension Server Time
29 Jul 2024 00:33:51 EDT (-0400)
  Re: Invoking POV-Ray via GUI Extension  
From: Ron Parker
Date: 5 Mar 1999 09:12:01
Message: <36dfe631.0@news.povray.org>
On Fri, 05 Mar 1999 00:09:58 -0700, Ryan Hagelstrom 
	<rlh### [at] silversdsmtedu> wrote:

>#pragma data_seg ("shared")

This isn't enough.  You also need linker options, which you may or may
not have set.  The option you need is

/section:shared,RWS

If you're using VC6, just type this at the end of the editbox at the bottom 
of the link tab in the project settings dialog.  Remember to do it for both 
debug and release.

Just giving a segment the name "shared" doesn't automatically make it shared. :)

Also, make sure that your shared data does not reference anything outside the
shared segment.  That is, no pointers to unshared data.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.