RE: C# scripting

"Tom Miller" <[email protected]>
Newsgroups gmane.games.devel.windows
Message-ID <C0289E3872DEC2498185DD1743006C2E05E9D5D2@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com>
The upcoming update for the DirectX SDK includes a sample showing this
exact functionality. 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Mitch Walker
Sent: Wednesday, May 19, 2004 9:48 AM
To: [email protected]
Subject: RE: [GD-Windows] C# scripting

You can also use the CLR to host code.  You create a new AppDomain and
run the code inside of this.  You can apply permissions to this
AppDomain, so, for example, the code inside it has "ExecuteOnly"
permissions (Can't do IO, Sockets, etc).  There are compiler APIs as
well so you can compile the code that you want to host on the fly.  This
would allow you to keep all of your scripts in file format, compile them
on start up and possibly detect changes and reload when applicable.  If
you are writing managed code and need scripting type functionality, I
would definitely take a look at this option.

-Mitch

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Lewin, Gareth
Sent: Wednesday, May 19, 2004 9:27 AM
To: [email protected]
Subject: RE: [GD-Windows] C# scripting

Well, C# supports the microsoft scripting host stuff out of the box
AFAIK, so Javascript, VBScript etc should 'just work'

_________________________________________
Gareth Lewin - http://www.garethlewin.com

"Facts are useless. You can use facts to prove anything that's even
remotely true. Facts shmacts!" -- Homer Jay Simpson.

-----Original Message-----
From: Brett Bibby [mailto:[email protected]]
Sent: Tuesday, May 18, 2004 11:47 PM
To: [email protected]
Subject: [GD-Windows] C# scripting


Howdy.  Does anybody know if there are any scripting languages that
directly support embedding into C#?  At this point speed is not a
requirement, just doing some research.  I know I can glue something like
Lua into it, but since it's unmanaged code it would be ugly. Thanks,
Brett


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now
for SourceForge Broadband and get the fastest 6.0/768 connection for
only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=ick
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=ick
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU5


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=ick
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU5


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_idU5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.