Could someone give me an example of how to post a message to the Windows Event log from my app? I understand there are APIs to do this, but don't know how to implement something like that.
Thanks for the great link. That explains alot. But I'm not sure how to incorporate sdk functions into my code. Could you point me to some simple CVI code that shows this? Or is it as simple as including windows.h or something like that?
Check out the examples under CVI\Samples\sdk, they demonstartes how to call the sdk functions. Make sure that the Windows.h is the first include in the C file.