You can pack a hollow cannonball with gunpowder, stick a fuse in it, and fire it from a cannon (which will light the fuse) - that's an explosive projectile.
Even if you could somehow make the blast start a fire (spoiler, explosions put out fires), it'd set the entire fuse on fire, blowing the thing up inside your own barrel.
I doubt you have the first clue about what you're talking about.
...
From the wikipedia cannon page:
"Innovations continued, notably the German invention of the mortar, a thick-walled, short-barreled gun that blasted shot upward at a steep angle. Mortars were useful for sieges, as they could fire over walls and other defenses.[55] This cannon found more use with the Dutch, who learned to shoot bombs filled with powder from them. However, setting the bomb fuse in the mortar was a problem. "Single firing" was the first technique used to set the fuse, where the bomb was placed with the fuse down against the propelling charge. This practice often resulted in the fuse being blown into the bomb, causing it to blow up in front of the mortar. Because of this danger, "double firing" was developed, where the fuse was turned up and the gunner lighted the fuse and the touch hole simultaneously. This, however, required much skill and timing, and was especially dangerous when the gun failed to fire, leaving a lighted bomb in the barrel. Not until 1650 was it accidentally discovered that double-lighting was a superfluous process: the heat of firing was enough to light the fuse."
Before impinging someone else's knowledge, try doing a little bit of research. I mean, if its on a wikipedia page about the immediate subject, its sort of inexcusable not to have checked.
Now, certainly this discovery is beyond the strict DF time period, but they did try other things getting to it before 1650, and its something dwarves might just discover because they are dwarves. My impression was that single-firing was tried not too long after 1400, but I'd have to track down a source. Certainly this article gives the impression of it taking quite a long time to discover that the heat of firing would light the fuse.
Dwarfoloid: 1650 is quite a bit before 19th century, and that's after some time of trying other lighting methods.