I am getting an error Requires Procedure (Function/Method)
Line 17191: http://go.microsoft.com/fwlink/?LinkID=92362
Which demo ist that?
Resize, Calendar, Address and then gave up.
Error 484 in ntstatus.inc
They all compile and run fine here.
Do you have the latest version of Josè Roca's include files? ntstatus.inc is one of Josè's files.
Rolf
Yes. Version 2.05 11/3/2011
http://www.jose.it-berater.org/smfforum/index.php?topic=4425.0
Strange. I would check anyway if they are the right files. My version of ntstatus.inc is dated Aug 19th 2011 23:00:00, and it's size is 453 KB (463.873 Bytes).
You might also want to check if the path to Josè's files is properly set. (see screenshot).
Other than that I cannot imagine what's going wrong. Maybe Josè or Paul have an idea.
Rolf
OK, I'll try those.
Line continuations do not prevent lines with remarks at the beginning to remark the next line.
This occurs on lines 17191 and 17264.
Remarked those lines in ntstatus.inc and it now works.
I loaded ntstatus.inc into the PB 10 editor to see the line numbers.
Thank you for looking into it.
Great that it works! Have a nice day.
Rolf
Quote from: Mike Doty on November 08, 2011, 07:22:45 AM
Line continuations do not prevent lines with remarks at the beginning to remark the next line.
This occurs on lines 17191 and 17264.
Remarked those lines in ntstatus.inc and it now works.
I loaded ntstatus.inc into the PB 10 editor to see the line numbers.
Thank you for looking into it.
There are not line continuations in these lines in the original file. The problem is that there are two comment lines that sligthly exceed the limit of 255 characters of the PB editor, and it tries to "fix" it breaking these lines with line continuations. As my editor allows lines to exceed that limit and the compiler does not care about comment lines, I did not notice it, because it compiles fine. I will break these lines. Thanks for reporting it.
BTW when breaking the lines, the PB editor should check if it is a comment line or not, adding a "'" to the breaked line instead of blindingly breaking it and adding a line continuation.
WebBrowser example error 468
This equate many not be redefined (line 10 and line 48)
$PROGID_WebBrowser_V1 = "Shell.Explorer.1" 'CODEGEN_WEBROWSER_DECLARES.INC
$PROGID_WebBrowser_V1 = "Shell.Explorer" 'EXEDISP.INC
The solutions is here:
http://www.planetsquires.com/protect/forum/index.php?topic=2945.msg21833#msg21833
Rolf
No, it's not, even if it works. The solution is to remove modWebBrowserInterfaces.inc, that it's not needed, from the modules in the Explorer treeview.
My fault on the misinformation, I should have actually loaded the example project and investigated the proper way. I have since gained a great deal of trust with Jose's includes and will not as easily jump to conclusions about them in the future. I didn't know the modWebBrowserInterfaces.inc was included in the project the way it was and assumed (incorrectly I might add) that the problem was in Jose's distribution. My apologies to Jose as he has put much time and effort into making his includes as accurate and complete as possible.
David
No apologies needed, David. The headers are HUGE. Paul wrote that example when FF had the option to use the PB include files, and at that time the module was needed because the PB includes have not these interface declarations (in fact, they don't contain any interfaces). FF 3.5 uses only my headers, and keeping that outdated module is not only unneeded, but causes conflicts. It is highly advisable to use #INCLUDE when needed, instead of adding modules, because when the headers are updated, the modules became outdated.
Thanks for that info, Josè!
Rolf