vcmohan
3rd October 2005, 14:12
I have just added a parameter to my plugin NeuralNet and compiled it. However when I try to execute it the function is not loaded and I get a message
Invalid Parameter string (bug in filter). Since the plugin was working before, I tried deleting the new parameter and recompiling it. Still I get the same error.
The parameter string is as follows
extern "C" __declspec(dllexport) const char* __stdcall AvisynthPluginInit2(IScriptEnvironment* env)
{
env->AddFunction("NeuralNet", "cc[sf]i[ef]i[lx]i[ty]i[rx]i[by]i[elx]i[ety]i[erx]i[eby]i\
[white]b[xpts]i[ypts]i[tlx]i[tty]i[trx]i[tby]i[thresh]i[tf]i[wh]f[wo]f[iter]i\
[test]b[minstep]f[bias]i[cwt]i[err]b[nth]i[hnodes]i[bestof]i[activate]s", Create_NeuralNet, 0);
return "NeuralNet Plugin";
}
The last parameter activate was added new.
What error I am committing? There are 33 parameters in string
Invalid Parameter string (bug in filter). Since the plugin was working before, I tried deleting the new parameter and recompiling it. Still I get the same error.
The parameter string is as follows
extern "C" __declspec(dllexport) const char* __stdcall AvisynthPluginInit2(IScriptEnvironment* env)
{
env->AddFunction("NeuralNet", "cc[sf]i[ef]i[lx]i[ty]i[rx]i[by]i[elx]i[ety]i[erx]i[eby]i\
[white]b[xpts]i[ypts]i[tlx]i[tty]i[trx]i[tby]i[thresh]i[tf]i[wh]f[wo]f[iter]i\
[test]b[minstep]f[bias]i[cwt]i[err]b[nth]i[hnodes]i[bestof]i[activate]s", Create_NeuralNet, 0);
return "NeuralNet Plugin";
}
The last parameter activate was added new.
What error I am committing? There are 33 parameters in string