At 10:35 2002-10-12 -0700, you wrote:
Right -- CW caches the location where a file was found in the project's Data folder, so it doesn't have to research all the time. When a file is found by different access paths in two different targets, it will show up multiple times. You can see the data the IDE stores about a file's location using the "Project Inspector" window. Just open it, then click on the file or group of files that you want to view.Yes, I'd turned off optimizations. But I got the crash bug to go away (soon after I posted).CodeWarrior seems to have a problem when an access path changes in a project with multiple targets. When you load a project with paths that no longer exist (because you upgraded the SDK, or something), and your project has multiple targets, CW does some strange things with the C/H files in your project. It would list 2 of each C/H file in the Project window, one real that doesn't point to anything and one that came from a backup directory under my regular source directory. I could delete and re-add files to the project to fix the problem, and get it to compile. But that's when the mysterious crash bug first appeared. Eventually (after I posted to this forum), I found that when I tried to open the rsrc file from the CW Project window, I got an "Internal Error". At that point, I shut down CW, re-opened my project, rebuilt everything, and the crash bug went away (as well as the internal error when trying to open the rsrc)
As for resources -- those get more complicated, and I don't even understand exactly how it deals with the .rsrc files all the time.
As for updating access paths -- one way to speed that up is to open one target, update it, then open the prefs for the other targets and drag paths from the first window to the later windows. Its a lot faster than renavigating. You can also drag folders from Windows Explorer or the Finder to an access path list.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
