This project has moved and is read-only. For the latest updates, please go here.

Object is not a function error

Feb 10, 2016 at 4:49 PM

I Am trying to use global objects member within event handler, when event fired it throws exception "obj.PROCESSFAX is not a function". code is
var obj=new FaxProcessor.FaxProcess.Main();
var conncect=HotKeyNotifier.HotKeyPressed.connect(function(obj){
does objects static member cause this error. works with other objects and outside of event handler.

Thanks and Regards
Praveen Kumar
Feb 10, 2016 at 8:06 PM
Hello Praveen,

Given the code above, your event handler's obj parameter hides the global object with the same name. Could that be the problem?