You've described a problem when doing a Find from other applications:
> 
>   WinDrawChars ("Found One", 9, r.topLeft.x+1, r.topLeft.y);
>
> Again, this works as expected if I hit the silkscreened Find Button while my
> application is running, but not when I hit the find button from other
> applications.  Anytime I try to display anything, it errors out on me.  I
> know that I am not using any global variables to determine what gets
> printed.
>

Unfortunately, you may very well be using global variables. CodeWarrior will
place string constants (like "Found One") in one of two places:
    Global space
    After the function it's used in

You want the latter, which is specified in the Project Setting dialog in the
68K Processor panel.  Make sure "PC-relative strings" is checked.

If that's not the problem, then I'd suggest disassembling the code
containing the WinDrawChars.  Look for a reference to A5.


Neil

Reply via email to