Home > Software engineering >  Vb call matlab compile DLL problem, using vb to make calls, can run successfully on your computer, w
Vb call matlab compile DLL problem, using vb to make calls, can run successfully on your computer, w

Time:10-06

MATLAB in compiling a program, and the compiler generated. DLL, using vb to make calls, can run successfully on your computer, why to others on the computer can not run, also can appear after packaging MCR instance is not available suggest that the search for a long time, didn't solve the current problems, some people to give directions, before someone asked a similar question, others can be solved?

CodePudding user response:

One is the target computer to install MCRInstaller. Exe, configured environment variables,
One is to the DLL to register for you,

CodePudding user response:

Thank you very much, I try again

CodePudding user response:

In a 64 - bit Windows:
64 exe and DLL in the directory c: \ Windows \ sys tem32 directory.
32 bit exe and DLL in the directory c: \ Windows \ sys wow64 directory.
So pay attention to:
In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory,
And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL
  • Related