In a criminal case, a summons for a witness may be issued by the prosecuting attorney. Sections one, four, five, six and eight, article five, chapter fifty-seven of this code shall, in other respects, apply to a criminal as well as a civil case, except that a witness in a criminal case shall be obliged to attend and may be proceeded against for failing to do so, although there may not previously have been any payment, or tender to him, of anything for attendance, mileage or tolls.
W. Va. Code § 62-6-4