Native Service problems

Dmitry11 May 2009 3:37 PM
Just trying to compile and debug the sample service....

1. Firstly, the sample service SampleServiceTest.html refers to version 2.1.14 of browserplus-min.js and results in a "'null' is null or not an object" error at line 1, char 3880. Changing the page to link with version 2.3.1 fixes the problem.

2. Readme.txt refers to http://browserplus.yahoo.com/developer/services/tutorial/, which does not exist.

3. How do I debug the dll in VS? I don't think IE loads the dll that I build. When a service is installed, is the dll copied someplace?

Thank you!
David Grigsby12 May 2009 12:07 PM
Thank *you* Dlmastr.

We have fixed the version and url issues you mentioned and that will benefit others in our next SDK drop.

Re 3.: are you using IE 8? This matters because IE8 runs each tab in a separate process, and that does end up fouling up at least one method of debugging with VS.

Thanks,
DaveG


QUOTE (dimastr2001 @ May 11 2009, 02:37 PM) <{POST_SNAPBACK}>
Just trying to compile and debug the sample service....

1. Firstly, the sample service SampleServiceTest.html refers to version 2.1.14 of browserplus-min.js and results in a "'null' is null or not an object" error at line 1, char 3880. Changing the page to link with version 2.3.1 fixes the problem.

2. Readme.txt refers to http://browserplus.yahoo.com/developer/services/tutorial/, which does not exist.

3. How do I debug the dll in VS? I don't think IE loads the dll that I build. When a service is installed, is the dll copied someplace?

Thank you!
David Grigsby12 May 2009 6:02 PM
Also Dlmastr, did you do steps 5-8 of the tutorial (http://browserplus.yahoo.com/developer/service/tutorial/)? They are applicable to Native services as well as Ruby services.
David Grigsby12 May 2009 6:06 PM
Yes, when a service is installed, it is copied to %USERPROFILE%\Local Settings\Application Data\Yahoo!\BrowserPlus\Corelets\[corelet name].
David Grigsby13 May 2009 11:57 AM
One more thing, Dlmastr:

Your dll will be loaded by a process called "BrowserPlusService.exe", not IE. My previous question about your IE version is actually not relevant for service debugging.

Thanks,

dg