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
 LabTalk Forum
 working with DLL

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
gilles wat Posted - 06/27/2001 : 03:59:28 AM
I have a DLL and talk it with visual basic.
Can I use its function and subroutine with LabTalk (not in a fitting procedure but in a script)?
The ddl labtalk command does not run and the documentation about DDl using is very poor in the Originpro documentation.
1   L A T E S T    R E P L I E S    (Newest First)
Gary Lane Posted - 06/28/2001 : 4:17:25 PM
Hi,

The LabTalk DDE command allows Origin to act as a DDE Client issuing requests to some other DDE Server application which then processes the requests issued by Origin. I am not aware of any bugs involving the DDE command but I would fully investigate any detailed report. Please contact (email) your Origin Technical Support provider for more assistance...I recommend including the LabTalk commands you are using and your DLL and any other support files needed to run your application along with a detailed description of the problem and the steps that reproduce it.

The ATI chapter in the OriginPro manual contains several examples of how to use DDE in OriginPro:
1. Call functions from an external DLL
2. Call a user defined Fit function
3. Issue commands to Origin using a VB application
4. Issue commands to Origin using a C application
as well as other reference information. All needed files are also included.

In addition, OriginPro 6.1 includes MOCA (earlier versions also support this technology but by a different name) which allows users to create their own LabTalk objects similar to the NLSF, FFT, or Curve built-in objects but that reside in an external DLL. Objects have properties (which can be set and read) and methods (functions which can be called). If you need further assistance with any OriginPro feature please contact you Origin Technical Support provider (free) or possibly even Consulting@OriginLab.Com (may involve a fee for service) for more extensive assistance.

-Gary



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