External DLL not working when deployed
Afficher commentaires plus anciens
Hi, so I'm using Matlab R2009b, and i developed a C dll that is called TalkSerial.dll when running in matlab, it works flawlessy, but when i deploy it, it gives an error that it cant find the TalkSerial_proto.m, so I used the loadlibrary with mfilename to create the TalkSerial_proto and added it to the deploy project, it worked, but now it gives another error, that says The specified module could not be found... any ideas?
Réponse acceptée
Plus de réponses (2)
Kaustubha Govind
le 27 Fév 2012
0 votes
Most likely, the DLL you are attempting to load, or one of it's dependencies were not found on the deployed machine. I would recommend getting Dependency Walker, and run your deployed executable with it to profile missing dependencies.
1 commentaire
Bruno
le 27 Fév 2012
Image Analyst
le 28 Fév 2012
0 votes
MPR is not the problem. That often shows up as missing with no fatal effects. Have you tried everything in the FAQ: http://matlab.wikia.com/wiki/FAQ#My_standalone_executable_won.27t_run_on_the_target_computer._What_can_I_try.3F Where is your DLL and what does your app report for ctfroot?
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!