Click here to Skip to main content
15,914,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Extract System's register's value by usiong 'C' language Pin
kushMuchaal20-May-10 23:55
kushMuchaal20-May-10 23:55 
AnswerRe: Extract System's register's value by usiong 'C' language Pin
Aescleal21-May-10 1:01
Aescleal21-May-10 1:01 
GeneralRe: Extract System's register's value by usiong 'C' language Pin
kushMuchaal21-May-10 1:57
kushMuchaal21-May-10 1:57 
GeneralRe: Extract System's register's value by usiong 'C' language Pin
Aescleal21-May-10 2:27
Aescleal21-May-10 2:27 
GeneralRe: Extract System's register's value by usiong 'C' language Pin
kushMuchaal21-May-10 2:44
kushMuchaal21-May-10 2:44 
GeneralRe: Extract System's register's value by usiong 'C' language Pin
Richard MacCutchan21-May-10 3:08
mveRichard MacCutchan21-May-10 3:08 
GeneralRe: Extract System's register's value by usiong 'C' language Pin
David Crow21-May-10 3:08
David Crow21-May-10 3:08 
AnswerRe: Extract System's register's value by usiong 'C' language Pin
Aescleal21-May-10 6:03
Aescleal21-May-10 6:03 
Just done a bit of digging...

Okay, looks like CRMI devices are used to read 'leccy and gas meters. They seem to have RS232 or USB interfaces on them and usually come with a suite of tools through which you can connect the CRMI to a host computer. These CRMI things seem to run something that looks like PC-DOS or MS-DOS but that's a complete red herring, it has no bearing on getting data off the device.

Now if the device has a USB port and follows the USB 2.0 specification then the link I dropped in an earlier post will show you the sequence of function calls you need to make to get the device's serial number. From what I've read the USB capable ones are just USB mass storage devices and look like any other disk drive when they plug in. If you want the data on the device you can then just use ordinary C standard library function calls to open the files on it.

Cheers,

Ash
AnswerRe: Extract System's register's value by usiong 'C' language Pin
Richard MacCutchan20-May-10 21:15
mveRichard MacCutchan20-May-10 21:15 
GeneralRe: Extract System's register's value by usiong 'C' language Pin
kushMuchaal20-May-10 23:54
kushMuchaal20-May-10 23:54 
QuestionGetWindowRect() for CEdit Pin
Anu_Bala20-May-10 18:37
Anu_Bala20-May-10 18:37 
AnswerRe: GetWindowRect() for CEdit Pin
ThatsAlok20-May-10 19:34
ThatsAlok20-May-10 19:34 
GeneralRe: GetWindowRect() for CEdit Pin
Anu_Bala20-May-10 20:57
Anu_Bala20-May-10 20:57 
GeneralRe: GetWindowRect() for CEdit Pin
ThatsAlok20-May-10 23:31
ThatsAlok20-May-10 23:31 
QuestionHelp to develop a service to get UPS information by unmanaged C++ code in Win7 Pin
ndkit20-May-10 17:27
ndkit20-May-10 17:27 
AnswerRe: Help to develop a service to get UPS information by unmanaged C++ code in Win7 Pin
Garth J Lancaster20-May-10 18:10
professionalGarth J Lancaster20-May-10 18:10 
AnswerRe: Help to develop a service to get UPS information by unmanaged C++ code in Win7 Pin
David Crow21-May-10 3:10
David Crow21-May-10 3:10 
GeneralRe: Help to develop a service to get UPS information by unmanaged C++ code in Win7 Pin
ndkit23-May-10 23:48
ndkit23-May-10 23:48 
AnswerRe: Help to develop a service to get UPS information by unmanaged C++ code in Win7 Pin
Rick York21-May-10 10:17
mveRick York21-May-10 10:17 
QuestionHow to stop CComboBox from interrupting thread? Pin
Greg Ellis20-May-10 17:06
Greg Ellis20-May-10 17:06 
AnswerRe: How to stop CComboBox from interrupting thread? Pin
Garth J Lancaster20-May-10 18:19
professionalGarth J Lancaster20-May-10 18:19 
GeneralRe: How to stop CComboBox from interrupting thread? Pin
Greg Ellis21-May-10 3:42
Greg Ellis21-May-10 3:42 
AnswerRe: How to stop CComboBox from interrupting thread? Pin
Stephen Hewitt20-May-10 20:18
Stephen Hewitt20-May-10 20:18 
AnswerRe: How to stop CComboBox from interrupting thread? Pin
Parthiban20-May-10 23:38
Parthiban20-May-10 23:38 
AnswerRe: How to stop CComboBox from interrupting thread? Pin
Roger Allen21-May-10 6:16
Roger Allen21-May-10 6:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.