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
|
|
|