res-list from Photon 1.12

Hi all

I am porting a large photon application from Photon 1.12 to 1.14. I was never the real slick photon wizzard. I have about 3 dozen modules that are failing because res-list is not defined. Here’s an example.

setupDialDBase->wgt_list_->res_list[j]->type

What is this now called in Photon 1.14? or how to I need to handle this code?

BTW, i and j are indexes from for loops. As best as I can figure it’s getting a list of resources from a list of widget data bases. Any help would be appreciated._

Bill Caroselli <BCaroselli@orban.com> wrote:

I am porting a large photon application from Photon 1.12 to 1.14. I
was never the real slick photon wizzard. I have about 3 dozen modules
that are failing because res-list is not defined. Here’s an example.

setupDialDBase->wgt_list> ->res_list[j]->type

What is this now called in Photon 1.14? or how to I need to handle this code?

_setupDialDBase->wgt_list->res_tab[j].type

I renamed it when I changed it from an array of pointers to an array of
structures.

Of course, you do realize that you’re relying on an undocumented
feature?..
\

Wojtek Lerch QNX Software Systems Ltd._