Skip to content

Commit b82ddd7

Browse files
nieubankCopilot
andauthored
Fix CppConsoleDll README output (#641)
Align the documented expected output with the exported function that the console client actually calls, and remove the unused GetTestMessage function pointer typedef. ADO: 61791036 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7360630 commit b82ddd7

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

Samples/WindowsML/cpp/CppConsoleDll/ConsoleClient/ConsoleClient.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
// Function pointer type for the DLL exports
88
typedef char*(__stdcall* GetOrtVersionStringFunc)();
9-
typedef char*(__stdcall* GetTestMessageFunc)();
109

1110
int main()
1211
{

Samples/WindowsML/cpp/CppConsoleDll/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,8 @@ After building, you can run ConsoleClient.exe directly. It will:
4444

4545
Expected output:
4646
```
47-
Calling GetTestMessage from DLL...
48-
Test message: WindowsML DLL is working correctly!
4947
Calling GetOrtVersionString from DLL...
5048
ONNX Runtime version: [ONNX Runtime version string]
51-
DLL functions called successfully!
5249
```
5350

5451
## Architecture Notes

0 commit comments

Comments
 (0)