LoadFromFile failed in C++ code under Windows

I built TVM source on Windows and compiled an ONNX model to generate files: dll/lib, json, params successfully by Python API. Then I write a C++ demo to load dll file, but it throws exception:
tvm::runtime::Module mod_syslib = tvm::runtime::Module::LoadFromFile(“path/to/my.dll”);

Microsoft C++ exception: std::bad_alloc at memory location 0x000000000027C450.

Win7-64bit, VS2015

Hi, have you solved this problem?

It is the compiled dll’s problem. I have solved the problem by recompile onnx model.
Thanks!

Did you recompile the dll/lib on Windows or Linux? Thanks!!