seb,
I am surprised the compiler did not complain about this. Modify your 2nd and 3rd parameters from MSWChar* to MSWCharP and MSWCharCP respectively.
e.g.
LocateFunc_providePathDescription
(
DisplayPathP path,
MSWChar* description,
MSWChar const* refStr
)
HTH,
Bob