There are many models of "HP 19 All-in-One". Could you help us out by providing a more specific model number? Thanks!
EDIT: Just as an example, an HP 19-2014 has an E1-2500, which is a very anemic CPU, and probably won't run CoH well. The HP 19-2113w has a slightly more powerful Celeron, but it still won't run well.
2nd EDIT: If you go into the game launcher options and put in the -usetexenvcombine option, it will make the game use a simpler rendering method - The game won't look as nice, but this drastically expands the range of computers you can run it on smoothly, (and for some of us, all we want is to play CoH!).