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
 Origin Forum
 dll creating workshets in origi

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
Qiang Posted - 07/09/2003 : 06:10:01 AM
Hi,

I have a copy of origin pro and Visual C++. The aim is to try to create a dll in C++ to communicate with origin to tell it to

create a work sheet
by specifying numbe of col and rows
inject data
close worksheet.

by using SendMessage commands. at the moment it seems:

int FAR PASCAL TEST3(HWND hWnd, LPSTR lpString)
{


SendMessage(hWnd, WM_USER, 0, (LONG)(LPSTR)lpString);
return 0;
}

is a good start(?)

The dll I'll be creating is only a mock for the real thing. But it is important that I get this done.


Thanks
1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 07/09/2003 : 2:17:01 PM
There is not much support for controlling Origin worksheets from VC++. There is MOCA that provides classes for access to Origin worksheet, but you will need to use LabTalk to call those MOCA based objects.

Why not use Origin C? Origin C allows that things that you need to do and you can make your VC++ DLL as regular C functions and call them from Origin C.

CP



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