Quote Originally Posted by dwks View Post
Have you read the replies thus far?
Code:
printf(dwPID);
->
Code:
printf("%lu", (unsigned long)dwPID);
void main() is not standard, you should be using int main(). See the FAQ.

What are your linker options? Do you have one library repeated twice?
Yes I read the replies. And I think I get this working, if I get solve this problem:
http://cboard.cprogramming.com/showthread.php?t=91082 first. The problem is the same here mixing c and c++ files.
Have you any ideas for the problem in the other thread?