T O P I C R E V I E W |
5*10 |
Posted - 08/30/2005 : 03:43:32 AM Origin Version (Select Help-->About Origin): 7G SR4 v.7.0552 Operating System: win 2k
Hi,
I write a code in OriginC and it works well. I call this written functions with labtalk. In Labtalk I first compile my OriginC file with the following line
run.LoadOC(Filepath\Filename.c); the functions are compiled(I can see this in the codeBuilder), but I can't use the functions, because their not linked. If I press the compile Button in Codebuilder followed message is plot:
Linking... Done! No changed files found. Choose Rebuild All if you want to recompile anyway. After this I can use the functions. I now suppose that my Labtalk command is able to compile, but not able to link my functions.
Is there anybody who know the solution of this problem?
Greets 5*10 |
1 L A T E S T R E P L I E S (Newest First) |
easwar |
Posted - 08/30/2005 : 09:53:33 AM Hi 5*10,
The default for run.loadoc() is that the file is loaded, compiled and linked.
Note that this method returns a value that you can check, such as: i=run.LoadOC(Filepath\Filename.c); i=; to see if there was an error.
Also there are options to force a rebuild. See the Programming Help file and the section: Programmatically Compiling and Linking for more details.
Easwar OriginLab
|
|
|