There are many ways in which this error can occur.

Solution 1:

Update your Quickbooks to the latest version.
Try to open QuickBooks.
If you still encounter the error, go to solution 2.

Solution 2:

Register the MSXML.dll files. This will ensure that error c=343 will be solved.