Hi all,
I'm trying to work through application not 4424 (http://www.galilmc.com/download/application-note/note4424.pdf) to create the Hello_Galil example in Matlab R2014a 64 bit version. I'm running on Windows 7, so I've installed the dmc32osu, and changed the lines:
hfile = ['C:\Program Files\Galil\DMCWIN\INCLUDE\dmccom.h'];
dllfile = ['C:\WINDOWS\system32\DMC32.dll'];
loadlibrary (dllfile, hfile);
to:
hfile = ['C:\Program Files (x86)\Galil\dmc32osu\lib\Dmccom.h'];
dllfile = ['C:\Program Files (x86)\Galil\dmc32osu\bin\x64\DMC32.dll'];
loadlibrary (dllfile, hfile);
When I try to run the file, I get the linker error:
DMC32_thunk_pcwin64.obj : error LNK2019: unresolved external symbol DMCOpen referenced in function DMCOpen2
DMC32_thunk_pcwin64.dll : fatal error LNK1120: 1 unresolved externals
troym_galil on 08/19/2016 - 09:51
If your goal is to use Matlab, I can suggest you simplify your setup and use our GalilTools COM API. Check out the Programming Examples tab:
http://galil.com/learn/legacy-api-examples
Thanks,