<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>spidermonkeydotnet Forum Rss Feed</title><link>http://www.codeplex.com/Project/ListForums.aspx?ProjectName=spidermonkeydotnet</link><description>spidermonkeydotnet Forum Rss Description</description><item><title>New Post: js32.dll not found?</title><link>http://spidermonkeydotnet.codeplex.com/Thread/View.aspx?ThreadId=32196</link><description>&lt;div style="line-height: normal;"&gt;Thanks,&lt;br&gt;
&lt;br&gt;
i'll try that. 
&lt;/div&gt;</description><author>tkanos</author><pubDate>Thu, 23 Apr 2009 06:55:46 GMT</pubDate><guid isPermaLink="false">New Post: js32.dll not found? 20090423065546A</guid></item><item><title>New Post: js32.dll not found?</title><link>http://spidermonkeydotnet.codeplex.com/Thread/View.aspx?ThreadId=32196</link><description>&lt;div style="line-height: normal;"&gt;Maybe you're missing DLL dependencies. Try running DependencyWalker on it.&lt;br&gt;
You you have a .manifest for it, if you haven't try generating one.&lt;br&gt;
&lt;br&gt;
For more information, see this topic:&lt;br&gt;
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/36971526-95f3-4a9f-a601-1843c86332c1&lt;br&gt;
&lt;/div&gt;</description><author>Rynus_Rein</author><pubDate>Wed, 22 Apr 2009 14:59:37 GMT</pubDate><guid isPermaLink="false">New Post: js32.dll not found? 20090422025937P</guid></item><item><title>New Post: js32.dll not found?</title><link>http://spidermonkeydotnet.codeplex.com/Thread/View.aspx?ThreadId=32196</link><description>&lt;div style="line-height: normal;"&gt;I have a similar problem :&lt;br&gt;
&lt;br&gt;
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'js32.dll':&lt;br&gt;
&amp;nbsp;This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)&lt;br&gt;
&amp;nbsp;&amp;nbsp; at SpiderMonkey.JS.JS_Init(UInt32 maxbytes)&lt;br&gt;
&amp;nbsp;&amp;nbsp; at smnettest.Program.Main(String[] args) &lt;br&gt;
&lt;br&gt;
Any idea ?&lt;br&gt;
I use the beta 0.1.5.&lt;br&gt;
&lt;br&gt;
Tkanos&lt;br&gt;
&lt;/div&gt;</description><author>tkanos</author><pubDate>Wed, 22 Apr 2009 14:51:52 GMT</pubDate><guid isPermaLink="false">New Post: js32.dll not found? 20090422025152P</guid></item><item><title>New Post: AccessViolationException when trying to call JS_HasProperty</title><link>http://spidermonkeydotnet.codeplex.com/Thread/View.aspx?ThreadId=52159</link><description>&lt;div style="line-height: normal;"&gt;I am trying to check for a property on the global object, like so:&lt;br&gt;
&lt;br&gt;
&lt;blockquote&gt;&lt;code&gt;
IntPtr isWindowDefined = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(bool)));&lt;br&gt;
JS.JS_HasProperty(cxPtr, globalClassPtr, &amp;quot;window&amp;quot;, isWindowDefined);&lt;br&gt;
&lt;/code&gt;&lt;/blockquote&gt;&lt;code&gt;&lt;/code&gt;I get an AccessViolationException on the second line above. What am I doing wrong?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Vidar &lt;code&gt;&lt;/code&gt;
&lt;/div&gt;</description><author>vidarkongsli</author><pubDate>Fri, 03 Apr 2009 09:13:50 GMT</pubDate><guid isPermaLink="false">New Post: AccessViolationException when trying to call JS_HasProperty 20090403091350A</guid></item><item><title>New Post: js32.dll not found?</title><link>http://www.codeplex.com/spidermonkeydotnet/Thread/View.aspx?ThreadId=32196</link><description>&lt;div style="line-height: normal;"&gt;Can you provide step by step directions please.
&lt;/div&gt;</description><author>AdrianLopez</author><pubDate>Wed, 11 Feb 2009 03:15:28 GMT</pubDate><guid isPermaLink="false">New Post: js32.dll not found? 20090211031528A</guid></item><item><title>New Post: js32.dll not found?</title><link>http://www.codeplex.com/spidermonkeydotnet/Thread/View.aspx?ThreadId=32196</link><description>&lt;div style="line-height: normal;"&gt;already found it out: my application was missing msvc90.dll :-/&lt;br&gt;
Seems&amp;nbsp; js32.dll is causing it, I fixed it by dynamically creating a reference to it in my manifest at build time :/&lt;br&gt;
&lt;/div&gt;</description><author>Rynus_Rein</author><pubDate>Thu, 24 Jul 2008 22:04:01 GMT</pubDate><guid isPermaLink="false">New Post: js32.dll not found? 20080724100401P</guid></item><item><title>New Post: js32.dll not found?</title><link>http://www.codeplex.com/spidermonkeydotnet/Thread/View.aspx?ThreadId=32196</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
&lt;br&gt;
As soon as I call JS.Init, I get an DllNotFoundException (js32.dll). I tried putting js32.dll in my debug/release/system32 folder, but it didn't work.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Unable to load DLL 'js32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
Any idea what I'm doing wrong here?&lt;br&gt;
&lt;br&gt;
-Rynus_Rein&lt;br&gt;
&lt;/div&gt;</description><author>Rynus_Rein</author><pubDate>Thu, 24 Jul 2008 16:44:06 GMT</pubDate><guid isPermaLink="false">New Post: js32.dll not found? 20080724044406P</guid></item><item><title>NEW POST: Is SM.NET alive?</title><link>http://www.codeplex.com/spidermonkeydotnet/Thread/View.aspx?ThreadId=12567</link><description>&lt;div class="wikidoc"&gt;
The project seems to be stagnant at the moment :(&lt;br /&gt; &lt;br /&gt;The generic object embedding seems to work at a basic level, in the development branch of the latest release.  It's still kind of buggy and incomplete, especially with regards to the ability for javascript to attach to events exposed by embedded C# objects, but that's something I was able to resolve locally within a couple of hours (having never perused the code before).&lt;br /&gt; &lt;br /&gt;I am sincerely hoping that this project is not dead, because it is absolutely fascinating, and has a great deal of potential.  &lt;br /&gt;
&lt;/div&gt;</description><author>Takuan</author><pubDate>Sun, 12 Aug 2007 17:28:24 GMT</pubDate><guid isPermaLink="false">NEW POST: Is SM.NET alive? 20070812052824P</guid></item><item><title>NEW POST: Is SM.NET alive?</title><link>http://www.codeplex.com/spidermonkeydotnet/Thread/View.aspx?ThreadId=12567</link><description>&lt;div class="wikidoc"&gt;
Hi!&lt;br /&gt; &lt;br /&gt;I'm curious if You still develop this great .NET library? I'd really love to see those new nice features (&lt;a href="http://www.codepraxis.com/2006/08/preview-of-generic-object-embedding.html" class="externalLink"&gt;http://www.codepraxis.com/2006/08/preview-of-generic-object-embedding.html&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;) in action!&lt;br /&gt;
&lt;/div&gt;</description><author>thegreatcapybara</author><pubDate>Fri, 13 Jul 2007 16:34:12 GMT</pubDate><guid isPermaLink="false">NEW POST: Is SM.NET alive? 20070713043412P</guid></item><item><title>NEW POST: Licensing</title><link>http://www.codeplex.com/spidermonkeydotnet/Thread/View.aspx?ThreadId=9626</link><description>&lt;div class="wikidoc"&gt;
Martin,&lt;br /&gt; &lt;br /&gt;As I understand it SpiderMonkey itself is LGPL, so it can be redistributed with non-free or open source programs/libraries.  The basic SpiderMonkey-DotNet stuff has been LGPL'd also so this is obviously compatible.  The developer's license I have stamped on the rest of the functionality doesn't grant any rights to redistribute, and so the SpiderMonkey license doesn't really matter to the user as long as I am in compliance.  &lt;br /&gt; &lt;br /&gt;&lt;div class="quote"&gt;
 &lt;br /&gt;MartinHarper wrote:&lt;br /&gt;I am confused by the different licenses for SpiderMonkey and SpiderMonkey-DotNet. It seems to me that SpiderMonkey is triple licensed under the MPL 1.1/GPL 2.0/LGPL 2.1. Meanwhile, SpiderMonkey-DotNet is licensed under a custom license that makes no reference to the above licenses, and is distributed without SpiderMonkey.&lt;br /&gt; &lt;br /&gt;I'd appreciate guidance as to how these licenses are intended to interact in this case.&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>abstraktmethodz</author><pubDate>Wed, 23 May 2007 19:57:24 GMT</pubDate><guid isPermaLink="false">NEW POST: Licensing 20070523075724P</guid></item><item><title>NEW POST: Licensing</title><link>http://www.codeplex.com/spidermonkeydotnet/Thread/View.aspx?ThreadId=9626</link><description>&lt;div class="wikidoc"&gt;
I am confused by the different licenses for SpiderMonkey and SpiderMonkey-DotNet. It seems to me that SpiderMonkey is triple licensed under the MPL 1.1/GPL 2.0/LGPL 2.1. Meanwhile, SpiderMonkey-DotNet is licensed under a custom license that makes no reference to the above licenses, and is distributed without SpiderMonkey.&lt;br /&gt; &lt;br /&gt;I'd appreciate guidance as to how these licenses are intended to interact in this case.&lt;br /&gt;
&lt;/div&gt;</description><author>MartinHarper</author><pubDate>Wed, 25 Apr 2007 21:16:25 GMT</pubDate><guid isPermaLink="false">NEW POST: Licensing 20070425091625P</guid></item><item><title>User Forum: Copied to Work Item</title><link>http://www.codeplex.com/Project/DisplayThread.aspx?ProjectName=spidermonkeydotnet&amp;ForumId=656&amp;ThreadId=1532</link><description>This discussion has been copied to Work Item 3732. You may wish to continue further discussion there.</description><author>abstraktmethodz</author><pubDate>Tue, 26 Sep 2006 17:02:25 GMT</pubDate><guid isPermaLink="false">User Forum: Copied to Work Item 20060926050225P</guid></item><item><title>Project Management Forum: RE: SourcCode Question</title><link>http://www.codeplex.com/Project/DisplayThread.aspx?ProjectName=spidermonkeydotnet&amp;ForumId=655&amp;ThreadId=1558</link><description>j32.dll is SpiderMonkey engine itself.  This project will not be modifying its source.  But we do have to build it and debug with it, and so you'll find that source included as another project in the development branch.  

If you'd like to submit a patch file please send it to derekpetillo@yahoo.com.  Thanks</description><author>abstraktmethodz</author><pubDate>Tue, 26 Sep 2006 13:34:52 GMT</pubDate><guid isPermaLink="false">Project Management Forum: RE: SourcCode Question 20060926013452P</guid></item><item><title>Project Management Forum: SourcCode Question</title><link>http://www.codeplex.com/Project/DisplayThread.aspx?ProjectName=spidermonkeydotnet&amp;ForumId=655&amp;ThreadId=1558</link><description>Howdy, I was wondering a couple questions 
1.) If you guys edited the js32.dll file, will you release the source code?
2.) How would I submit a source patch? Or do you guys not do that?
</description><author>hollowlife1987</author><pubDate>Tue, 26 Sep 2006 02:13:38 GMT</pubDate><guid isPermaLink="false">Project Management Forum: SourcCode Question 20060926021338A</guid></item><item><title>User Forum: RE: Copied to Work Item</title><link>http://www.codeplex.com/Project/DisplayThread.aspx?ProjectName=spidermonkeydotnet&amp;ForumId=656&amp;ThreadId=1532</link><description>fixed changeset 6765</description><author>abstraktmethodz</author><pubDate>Mon, 25 Sep 2006 22:54:06 GMT</pubDate><guid isPermaLink="false">User Forum: RE: Copied to Work Item 20060925105406P</guid></item><item><title>User Forum: Copied to Work Item</title><link>http://www.codeplex.com/Project/DisplayThread.aspx?ProjectName=spidermonkeydotnet&amp;ForumId=656&amp;ThreadId=1532</link><description>This discussion has been copied to Work Item 3691. You may wish to continue further discussion there.</description><author>abstraktmethodz</author><pubDate>Mon, 25 Sep 2006 14:43:39 GMT</pubDate><guid isPermaLink="false">User Forum: Copied to Work Item 20060925024339P</guid></item><item><title>User Forum: RE: Attempting To Read or Write Protected Memory</title><link>http://www.codeplex.com/Project/DisplayThread.aspx?ProjectName=spidermonkeydotnet&amp;ForumId=656&amp;ThreadId=1532</link><description>This is a bug not in the binding (as it is), but in the test code.  Handling the "CallbackOnCollectedDelegate" errors are a fact of life in interop code, but simply solved.   I've already been working at different approaches, so I'll update the test project soon with a fix.  In simple situations such as the Customer example, adding the delegates as static instance variables is a good solution. </description><author>abstraktmethodz</author><pubDate>Mon, 25 Sep 2006 14:21:00 GMT</pubDate><guid isPermaLink="false">User Forum: RE: Attempting To Read or Write Protected Memory 20060925022100P</guid></item><item><title>User Forum: RE: Attempting To Read or Write Protected Memory</title><link>http://www.codeplex.com/Project/DisplayThread.aspx?ProjectName=spidermonkeydotnet&amp;ForumId=656&amp;ThreadId=1532</link><description>Ok, so I tested the 0.1.4 version but (if stressed) the problem still remains.

It seems to be that some callbacks are performed on delegates that has been collected by the GC.

The script I ran was:
for (var i = 0; i &lt; 100000; i++)
{
    var c = new Customer();c.name = 'Franky';c.age =32;c.computeReduction();c.age
}

And the response was:
CallbackOnCollectedDelegate was detected
Message: A callback was made on a garbage collected delegate of type 'spidermonkey-dotnet!SpiderMonkey.JS+JS_ResolveDelegate::Invoke'. This may cause application crashes, corruption and data loss. When passing delegates to unmanaged code, they must be kept alive by the managed application until it is guaranteed that they will never be called.

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at SpiderMonkey.JS.JS_EvaluateScript(IntPtr cx, IntPtr obj, String bytes, UInt32 length, String filename, UInt32 lineno, IntPtr rval)
   at smnettest.Program.Main(String[] args) in C:\tmp\smdn-0.1.4\smnet-test\Program.cs:line 97

- petter</description><author>wildfrog</author><pubDate>Mon, 25 Sep 2006 13:38:47 GMT</pubDate><guid isPermaLink="false">User Forum: RE: Attempting To Read or Write Protected Memory 20060925013847P</guid></item><item><title>User Forum: RE: Attempting To Read or Write Protected Memory</title><link>http://www.codeplex.com/Project/DisplayThread.aspx?ProjectName=spidermonkeydotnet&amp;ForumId=656&amp;ThreadId=1532</link><description>Ok this should be fixed in 0.1.4.</description><author>abstraktmethodz</author><pubDate>Sun, 24 Sep 2006 00:33:12 GMT</pubDate><guid isPermaLink="false">User Forum: RE: Attempting To Read or Write Protected Memory 20060924123312A</guid></item><item><title>User Forum: Attempting To Read or Write Protected Memory</title><link>http://www.codeplex.com/Project/DisplayThread.aspx?ProjectName=spidermonkeydotnet&amp;ForumId=656&amp;ThreadId=1532</link><description>I've tried to run the 0.1.3 Beta release and some of the recent code check-ins, but all seems to give me a AccessViolationException in JS_EvaluateScript.

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at SpiderMonkey.JS.JS_EvaluateScript(IntPtr cx, IntPtr obj, String bytes, UInt32 length, String filename, UInt32 lineno, IntPtr rval)
   at smnettest.Program.Main(String[] args) in C:\tmp\smdn6272\spidermonkeydotnet\development\smnet-test\Program.cs:line 93

I'm using Visual C# 2005 Express Edition to compile and run the code.

- petter</description><author>wildfrog</author><pubDate>Sat, 23 Sep 2006 18:50:46 GMT</pubDate><guid isPermaLink="false">User Forum: Attempting To Read or Write Protected Memory 20060923065046P</guid></item></channel></rss>