Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing data to and fro a C program - RESPOND ASAP PLEASE
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Passing data to and fro a C program - RESPOND ASAP PLEASE
Miscellaneous
Thread ID:
00282209
Message ID:
00282209
Views:
69
The C program that I am trying to communicate with has the following necessary conditions:

It needs to include the following files:
PLUGINDEFS.H
MSGQ.H
INTERSOCKREGISTRY.H


It needs to link to the follwing:
ISREG.LIB
ISMSGQ.LIB

It must export the following functions:


DoProperties() - Initiates a Plug-In specific property dialog box.
void __declspec(dllexport) DoProperties( void )

Return Value: None
Paramaters: None

ProcessTransaction() -
BOOL __declspec(dllexport) ProcessTransaction( CMessage * pMsg,
UCHAR cFieldDelim,
LPDWORD lpdwReturnCode,
BOOL bReceipts )

Return Value: TRUE (Non-zero) if successful, otherwise FALSE (zero).

I realize these are C declarations. Can a DLL be created in Fox to meet these parameters. There are a number of other parameters, however they are registry keys and the software is very specific on how to create those. (i.e. I can do that.)

Thanks in advance,
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform