I’d never come across ‘System.Activator’. What a find! There are days when I am sure I’m learning the .NET framework in reverse. This is one of them….
It’s one of those .NET performance gotchas that you always hear about: adding a struct to an array implicitly boxes it up so that can it be handled as…
biddle: …and Martin I don’t know how to create a boxed version of a struct without resorting to some C#. Now I do! Create 1 element array of t…
Gravey: how are you creating the struct instance? the following code SHOULD work but i get a ‘No constructor found which matched argument list: algl…
Yeah, he says sheepishly, it is. Looking at the results of the “stack()” call got me thinking it would be nice to have that info returned in a struct…
You could send the results of a call to stack() to a stringstream and then extract the file name from the dump it gives you. I’d be interested to kno…
I’m not sure what would happen in mxs, because there are many layers between you and the actual CPU, but you can test to see if the number is equal to…
Rorschach: …but if you can actually decrpyt the entire script into plane text then that’s terrible news for the commercial scripters. Yeah, I fel…
No, but I will tell you that you made a spelling error in the comment on line 6, column 18.
At the risk of starting up yet another thread on piracy, I did some poking around of my own and discovered that decrypting an MSE scriptfile is truly …
If it is memory corruption you might try sprinkling in calls to the .NET garbage collector to see if you can catch the problem. dnGC = dotnetclass “…
You can use a .NET TextRenderer to measure your string. fnt = dotnetobject “System.Drawing.Font” “Courier” 20.0 sz = (dotnetclass “TextRenderer”).Mea…
You are certainly welcome, but I will come clean and say that there was a wee bit of self-interest motivating me I’ve been calling LAPACK/BLAST libr…
There is a bug in Maxscript. In mxsdotnet/utils.cpp there are two places where multidimensional arrays are incorrectly re-typed as 1D vectors. The t…
…I hadn’t forgotten this. Sorry to hear you are still having problems. I will see what the debugger says about the wonky parameters.