Calling msvcp90 (C++) functions from Wine code

Lauri Kenttä lauri.kentta at gmail.com
Mon Dec 5 15:35:37 CST 2016


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?

[1] http://source.winehq.org/patches/data/128310

-- 
Lauri Kenttä



More information about the wine-devel mailing list