On 31.12.2007 04:20, Scott Johnson wrote:
> Hello Everyone:
> 
> I'm working on a plugin for the game I'm developing, and I have run into 
> a situation where the system terminates unexpectedly due to an error 
> (I'm assuming some kind of segfault or something).  I think it might 
> have something to do with the system not finding the correct path for 
> the plugin, which happens to be in the same directory as the 
> executable. 

If you run with -verbose on the command line (note the absence of the
usual '=-scf') you can see which paths are scanned for plugins.

> What's the easiest way of inputting the path to look for 
> plugins into a config file and then setting it in-game?

There's no way to set that through the config system; however, you call
can specify paths to scan for plugins as a parameter to scfInitialize().
(The call to that function is usually wrapped by CS' csInitializer stuff
- but you can safely call scfInitialize() multiple times.)
If you require configurability from a file you'd have to manually write
a bit of glue code.

-f.r.

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to