I am attempting to use a keyboard application within a visual c++ solution. I have copied their example and put the following lines in the beginning of the cpp file:
#import "C:\Program Files\MountFocus\Keyboard\Kbd.exe"
If i run the solution I don't have a problem. My problem comes in when I execute the resulting exe from within another solution using CreateProcess. When I try to create the process it aborts. The main application still runs, but the one I am attempting to execute aborts with "This application ha srequested the Runtime to terminate it in an unusual way"
I am not well versed in C++, so any advice is appreciated!