Click here to Skip to main content
15,894,720 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
I have this dll and have to read values from power line meter using this dll..
So please help me..

C++
#include "extcode.h"
#pragma pack(push)
#pragma pack(1)

#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
	LVBoolean status;
	int32_t code;
	LStrHandle source;
	} TD1;


void __cdecl ReadTemp(LVBoolean *stop, double *Temperature, TD1 *errorOut);

long __cdecl LVDLLStatus(char *errStr, int errStrLen, void *module);

#ifdef __cplusplus
} // extern "C"
#endif

#pragma pack(pop)

[Edit]Code block added[/Edit]
Posted
Updated 8-Mar-13 23:00pm
v4
Comments
OriginalGriff 9-Mar-13 4:45am    
What help do you need?
Michael Haephrati 9-Mar-13 5:01am    
Please publish the functions bodies and not only their headers
Zoltán Zörgő 9-Mar-13 5:09am    
This is c, and not c#. So what do you need? You want to call with p/invoke this dll from managed code, or you want to transcribe the c code to c#?
armie340 13-Mar-13 0:52am    
improve your question please....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900