-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
about integrate mayo TO WPF #232
Comments
Hello @DDman1984 while (mayoProcess.hasOutput) {
string msg = mayoProcess.readAll();
print(msg);
} For example running
...
...
|
Hi, @HuguesDelorme Thank you for your advice and response. In fact, I've tried using C# process APIs and consulted the .NET official documentation. However, I still haven't been able to obtain Mayo's output log during the conversion process. I'm including my code below in the hope that it can help you understand my issue. Thank you very much.
The above code can launch Mayo and perfectly convert the model to the glb format, but I'm unable to retrieve any output text by the C# process from mayo...@@ update: I made a simple attempt to write a C++ console application that can capture output messages through the C# code above. I reviewed the cli_export.cpp code you wrote, and in terms of output logic, it doesn't seem to be significantly different. However, I noticed that you are managing output messages through tasks. Please forgive me, as I'm not very familiar with C++. Could this be a potential issue? |
Hi,
I plan to integrate mayo.exe into my WPF application. I've been trying to capture the progress of file conversion through the process (just like the text you showed in the example this), but the results have been frustrating...
How can I achieve the above requirement?
please give me any advice thank you very much:)
The text was updated successfully, but these errors were encountered: