Click here to Skip to main content
16,011,428 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Convert MFC Doc / View App to a COM server Pin
John M. Drescher5-Mar-04 9:03
John M. Drescher5-Mar-04 9:03 
GeneralRe: Convert MFC Doc / View App to a COM server Pin
l a u r e n5-Mar-04 9:21
l a u r e n5-Mar-04 9:21 
GeneralRe: Convert MFC Doc / View App to a COM server Pin
basementman5-Mar-04 9:08
basementman5-Mar-04 9:08 
GeneralRe: Convert MFC Doc / View App to a COM server [EDITED] Pin
John M. Drescher5-Mar-04 9:22
John M. Drescher5-Mar-04 9:22 
GeneralRe: Convert MFC Doc / View App to a COM server [EDITED] Pin
basementman5-Mar-04 9:34
basementman5-Mar-04 9:34 
GeneralPartial Editing in RichEditCtrl Pin
Rightoguy5-Mar-04 6:44
Rightoguy5-Mar-04 6:44 
GeneralRe: Partial Editing in RichEditCtrl Pin
James R. Twine5-Mar-04 7:17
James R. Twine5-Mar-04 7:17 
QuestionHow convert unsigned char[] to *char Pin
Joe_Valenz5-Mar-04 6:18
Joe_Valenz5-Mar-04 6:18 
Hello:I am working a biometric project, my problem is now that I need save the native finger data format in SQl Server Data Base format compatible (varchar).
First It is declarate like unsigned char, then is copy through memcpy to other struct unsigned char...
See the code:

#define AC__UCHAR unsigned char
static AC__UCHAR temp1[256];
static AC__UCHAR fpData[512];

int storeFingerPrintData()
{
memcpy(fpData, temp1, sizeof(temp1));
//store data finger in smart card
for (int j=0;fpData[j] !=0;)
{
int lbDataIn = 0;
for (int k=0; k<32; k++)
{

memcpy(&apdu.bDataIn[k],&fpData[j],sizeof(AC__UCHAR));

lbDataIn++;
j++;
}
// here I can see the values through AfxMessageBox(apdu.bDataIn);
recNo++;
};
return ret;
}

How I convert in a char* the variable apdu.bDataIn unsigned char and How is the best way-format for save it in any table of SQL Server.

Thanks and Regards.

Joe.

Joe_Valenz
AnswerRe: How convert unsigned char[] to *char Pin
Prakash Nadar5-Mar-04 6:56
Prakash Nadar5-Mar-04 6:56 
GeneralDisplaying data in an MDIChildWnd without a document Pin
slyone5-Mar-04 6:03
slyone5-Mar-04 6:03 
Generalmigrate nmae project to visual studio Pin
Anonymous5-Mar-04 5:37
Anonymous5-Mar-04 5:37 
GeneralRe: migrate nmae project to visual studio Pin
Anthony_Yio5-Mar-04 22:35
Anthony_Yio5-Mar-04 22:35 
GeneralHlinkSimpleNavigateToString Pin
mistretzu5-Mar-04 5:22
mistretzu5-Mar-04 5:22 
QuestionHow can i concate two bitmap to produce third combine bitmap Pin
Atif Mushtaq5-Mar-04 5:08
Atif Mushtaq5-Mar-04 5:08 
AnswerRe: How can i concate two bitmap to produce third combine bitmap Pin
Tom Larsen5-Mar-04 5:48
Tom Larsen5-Mar-04 5:48 
GeneralVisual C 6 Webbrowser &amp; Saving Webpages Pin
muckmail5-Mar-04 2:40
muckmail5-Mar-04 2:40 
GeneralRe: Visual C 6 Webbrowser &amp; Saving Webpages Pin
Neville Franks5-Mar-04 10:47
Neville Franks5-Mar-04 10:47 
GeneralUnlocking a File or Volume Pin
mmica5-Mar-04 2:08
mmica5-Mar-04 2:08 
QuestionHow I show the *.mdb table content on the form? Pin
Emre Zorlu5-Mar-04 0:38
Emre Zorlu5-Mar-04 0:38 
AnswerRe: How I show the *.mdb table content on the form? Pin
includeh105-Mar-04 0:49
includeh105-Mar-04 0:49 
GeneralRe: How I show the *.mdb table content on the form? Pin
Emre Zorlu5-Mar-04 0:59
Emre Zorlu5-Mar-04 0:59 
GeneralRe: How I show the *.mdb table content on the form? Pin
l a u r e n5-Mar-04 8:23
l a u r e n5-Mar-04 8:23 
QuestionHow to compile DirectX in MFC Pin
includeh105-Mar-04 0:18
includeh105-Mar-04 0:18 
AnswerRe: How to compile DirectX in MFC Pin
Anonymous5-Mar-04 3:02
Anonymous5-Mar-04 3:02 
GeneralRe: How to compile DirectX in MFC Pin
includeh105-Mar-04 11:31
includeh105-Mar-04 11:31 

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.