But when I tried to run a windows console program wrote by my own, things aren't going very well.
I've got a very simple windows console program which just print "this is a windows app" and sleep for 1 sec on and on.
But when I tried to run it, wine warned me:
Code: Select all
0009:err:module:import_dll Loading library VCRUNTIME140D.dll (which is needed by L"Z:\\home\\cptzhao\\wine_test\\wine_debug\\wine_test.exe") failed (error c000007b).
0009:err:module:import_dll Loading library ucrtbased.dll (which is needed by L"Z:\\home\\cptzhao\\wine_test\\wine_debug\\wine_test.exe") failed (error c000007b).
0009:err:module:attach_dlls Importing dlls for L"Z:\\home\\cptzhao\\wine_test\\wine_debug\\wine_test.exe" failed, status c0000135
I've tried using:
wine wine_test.exe
wine start /home/xxx/xxx/wine_test.exe
wine start /d /home/xx/xx/xx
to start the program but doesn't work.
so anyone can help me with it?
PS. the wine_test.exe console program was wrote on a visual studio 2017 community version, and it runs well on my windows machine