The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Problems with linking

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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



The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000