Relative Content

Tag Archive for dll

Why does the path turn into Chinese characters?

I’m a beginner programmer. I’m writing a project in C++ (the only programming language I understand). I needed a GUI and decided to write it in C# WPF.
I’ll explain the meaning of the application: you need to load the dll file into the C# editor so that you can work with it later. I decided to load it via C++ LoadLibraryW. The following code does this:
#ifndef EDITOR_INTERFACE
#define EDITOR_INTERFACE extern “C” __declspec(dllexport)
#endif
EDITOR_INTERFACE uint32_t LoadDll(const wchar_t* dll_path)
{
if (game_code_dll) return 0;

Does Microsoft still have C++ container limitations when passing to DLLs? [duplicate]

This question already has answers here: Did C++11 address concerns passing std lib objects between dynamic/shared library boundaries? (ie dlls and so)? (3 answers) Closed 9 years ago. Microsoft has had a fair amount of trouble in the past when passing STL containers like string and vector pointers and references to DLLs. See, for example, […]

Does Microsoft still have C++ container limitations when passing to DLLs? [duplicate]

This question already has answers here: Did C++11 address concerns passing std lib objects between dynamic/shared library boundaries? (ie dlls and so)? (3 answers) Closed 9 years ago. Microsoft has had a fair amount of trouble in the past when passing STL containers like string and vector pointers and references to DLLs. See, for example, […]