Origin Ver. and Service Release (Select Help-->About Origin):
Operating System: Windows 7
Hi everybody,
I have a problem with Origin Pro 8.5G SR1 when programming in OriginC. The code is the following:
void wksDelDoubleEntries(string wksname, string colname)
{
Worksheet wks(wksname);
string ds0name = wksname+"_"+colname;
Dataset ds0(ds0name);
vector v0(ds0);
vector<int> vnMapIndices;
vector<uint> vnR1s;
int nRet = v0.FindDuplicates(vnMapIndices, vnR1s);
if(vnR1s.GetSize()>1)
{
for(int i=0; i<vnR1s.GetSize(); i++)
{
out_int("Vector entry", vnR1s[i]);
}
}
}
Now when trying to compile this I get an error like
07AddAnalysis.c
Linking...
[folder...]\110302 Origin Analysis\07ADDANALYSIS.C(750) :Error, external DLL cannot find function FindDuplicates
Linking Failed!
can anyone please help?
Many thanks in advance,
Max