I'm working on a 'C++' project, that involves printing. To simplify some operations, I've written a piece of code in 'C#', and I have created a dll. One of the methods in 'C#' code has this signature:
public bool PrintPDF(String printer, String sheetFormat, String path, int copies)
Then I've imported it in 'C++' this way:
#using <MyDll.dll>
I'm trying to pass LPWSTR
to this method from 'C++' native code, but even if I read many posts and docs, I cannot achieve this.
Can anyone help?