T O P I C R E V I E W |
AndiDC |
Posted - 08/31/2006 : 08:31:01 AM Origin Version (Select Help-->About Origin): 75G SR 6 Operating System: Win XP Pro SP2
Hi, although here in the forum were similar problems, I need help with the following problem: In my Origin C code I use the function ImportFile from FileImport.h / .c from the OriginLab folder. The function worked fine until Origin crashed with no special reason while I was using my project as every day. Now If I want to compile the project that worked well many times, I get an error that Linking can't be done, because The function ImportFile was used, but its body could not be found. I tried the following things to solve the problem, but nothing helped: - Included the FileImport.c and .h in my workspace, then an error occured with the iwGetFilter function which can't be found in any file supplied with Origin - Replace FileImport.h with an older version - Tried to Repair Origin installation - Uninstalled Origin, deleted all Origin folders and installed it again
Has anybody an idea what I can do to solve thiy annoying problem?
Edited by - AndiDC on 08/31/2006 09:32:06 AM |
5 L A T E S T R E P L I E S (Newest First) |
Mike Buess |
Posted - 09/14/2006 : 10:27:22 AM If you open and close the Import Wizard your function will then compile ok. Therefore, more files are needed in CodeBuilder's workspace but I haven't figured out which yet. Files in FileImport.ocw are not enough.
...ImportWiz.ocw works. Try this before compiling your file... run.loadOC("OriginLab\ImportWiz.ocw")
(Except for the missing integer argument in the ImportFile function.)
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 09/14/2006 10:42:41 AM |
ESD Michi |
Posted - 09/14/2006 : 09:05:44 AM Hi All,
I have the same problem. Neither Re-Boot, nor Re-Installing(!) has helped till now.^ Yesterday the first test worked fine. Today nothing. Here the very simply code of today's test. (Yesterday it was more code of course) Below the error.
#include <..\OriginLab\FileImport.h> #include <wksheet.h>
void hugo1() { WorksheetPage wps; string file1, file2; file1 = GetOpenBox(); file2 = GetOpenBox(); printf("Hi"); int ret = ImportFile(wps, file1, file2); }
hugo.cpp(44) :Error, Function ImportFile@HACDACCAACCAHA was called, but its body could not be located during linking.
I do not have any further idea what to do.
Update: Include FileImport.c in my Workspace just "shift" the problem to a "somehting @aaaa" now in FileImport.c could not be located. So it seems to me that Origin does not know where to find the .c files?! BR Michi
Edited by - ESD Michi on 09/14/2006 10:01:32 AM |
Deanna |
Posted - 09/01/2006 : 03:03:35 AM Great to hear that it is working now! :-)
Deanna OriginLab GZ Office |
AndiDC |
Posted - 09/01/2006 : 02:44:32 AM Hi, actually the problem was solved by shutting down my Computer yesterday and booting again this morning. I changed nothing, but it worked fine today. Hopefully this strange behaviour doesn't occur again, because it stopped my work for almost a whole day...
|
Deanna |
Posted - 08/31/2006 : 9:49:12 PM Hi Andi. Would you mind sending your program to tech@originlab.com? It will be easier for us to understand what has happened.
Deanna OriginLab GZ Office |