NetTalk Central

The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: john.farmer@absgrp.com on February 21, 2019, 07:21:11 PM

Title: NetTalk 11.06 Apps / C11.0.13372 - Some Example Apps Won't Compile
Post by: john.farmer@absgrp.com on February 21, 2019, 07:21:11 PM
Starting to poke around in NT11 and finding several of the examples won't compile.  Example Web27 fails to build with "Unknown identifier: NET:WEB:XPTASKPANEL" error.  Thoughts on what I may be missing? Several are failing to build, but let's start with this one.

C11.0.13372
NetTalk-Apps 11.06
Title: Re: NetTalk 11.06 Apps / C11.0.13372 - Some Example Apps Won't Compile
Post by: Jane on February 23, 2019, 05:07:39 PM
Guessing some examples may not have been updated?

Upgrade docs say Removed deprecated menus "chrome" and "Xp-TaskPanel"

http://www.capesoft.com/docs/NetTalk11/NetTalk11Upgrade.htm#CompileErrors

I just tried that example.  On the NetTalk Web Menu Extension on the MenuOnLeft procedure, the "Menu Type" dropdown is blank... presumably because of the removed menu type.
Setting that to one of the available choices lets it compile.

Jane
Title: Re: NetTalk 11.06 Apps / C11.0.13372 - Some Example Apps Won't Compile
Post by: Bruce on February 24, 2019, 10:41:01 PM
Hi John,

There are a _lot_ of examples, and indeed I don't get to go through all of them before each release (or even between major versions). So some sometimes still have features that have since been deprecated.

If you do find them please do let me know the name & number. I can then go into those specific ones and fix them for the next build.

As Jane says, this one is using a deprecated menu type.

cheers
Bruce
Title: Re: NetTalk 11.06 Apps / C11.0.13372 - Some Example Apps Won't Compile
Post by: Bruce on February 24, 2019, 10:42:53 PM
And I see Example 27 is a "frame" example.
Please don't use a Frame in a web app anymore - that's not a good way to do things anymore (although support for frames is included for backward compatibility reasons.)

And if you _are_ using a frame, see here in the docs;
http://www.capesoft.com/docs/NetTalk11/NetWebTasks.htm#ConvertFrames

Cheers
Bruce