Skip to main content
Submitted by JordanMarrQueens on Mon, 06/06/2016 - 11:16

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

Comments 1