Hi, Lauri.
I think it is okday to use tr2_sys__Equivalent_wchar here as it is implemented in Wine as C function.
IMHO, though it implements C++ tr2 filesystem, you can regard it as a API of Wine.
I will be grateful for any opinion you can provide.
Have a nice day!
On 16/12/6 上午5:35, Lauri Kenttä wrote:
Hey,
In a patch [1] I ended up recreating a function that practically exists already in msvcp90 as tr2_sys__Equivalent_wchar. However, I'm guessing it's not okay to call tr2_sys__Equivalent_wchar directly, since it's really a C++ function.
Is there some valid and portable way to use this tr2_sys__Equivalent_wchar within another part of Wine (in this case, cmd.exe), to avoid duplicate code?