You can test your application using the CIMPDEMO project. Just execute the same steps for your application that you did for the sample program.
More information
Step 3. Write your AMIP Application.