Hi Bill,
If the CW compile have no problems, your PFlash_Program must have been declared before. You can search it.
If you still can't find it, you can send me your whole project, I will help you to check it.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------