Ok, that worked for Notepad. In my test for my app, I have:
tcwindow = "Spot Media Tracking System - Kevin Marois"
lnhwnd = FindWindow(0,tcwindow)
and FindWindow is returning Zero
I added GetLastError, which returned 127. From my VB API Guide, I read
that to be:
* The specified procedure could not be found.
#DEFINE ERROR_PROC_NOT_FOUND 127
Any ideas on this?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people