title: How could I create a custom windows message?
body: <p>Our project is running on Windows CE 6.0 and is written in C++ . We have some problems with the code , and we are unable to debug . We also found out that if in our application we create threads and try to <strong>printf</strong> from them , the output won't appear . The only output that will appear is the one from the main thread . I would like to do the following :</p>
  
  <ul>
  <li><p>create a custom windows message</p></li>
  <li><p>use as it's WPARAM the address of a char* I want to show on the screen</p></li>
  <li><p>use as it's LPARAM the length of the char* I want to show on the screen</p></li>
  <li><p>send the message</p></li>
  <li><p>process it when it comes , so that it prints the char*</p></li>
  </ul>
  
  <p>How could I create the custom windows message ? What are the types of WPARAM and LPARAM ? Is it possible to do what I just wrote ?</p>
  
  <p>Thanks </p>