If you are using the IBM(R) ILE C++ for iSeries(TM) compiler, use the following switches and libraries:
DFTCHAR*(SIGNED)
BNDSRVPGM(QMQM/IMQB23I4[_R] QMQM/IMQS23I4[_R])