Click here to Skip to main content
15,906,333 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dxf extraction in c Pin
Albert Holguin30-Nov-11 16:49
professionalAlbert Holguin30-Nov-11 16:49 
GeneralRe: dxf extraction in c Pin
enhzflep30-Nov-11 17:51
enhzflep30-Nov-11 17:51 
GeneralRe: dxf extraction in c Pin
Albert Holguin1-Dec-11 3:26
professionalAlbert Holguin1-Dec-11 3:26 
GeneralRe: dxf extraction in c Pin
Richard MacCutchan30-Nov-11 22:11
mveRichard MacCutchan30-Nov-11 22:11 
GeneralRe: dxf extraction in c Pin
Addy Tas1-Dec-11 8:38
Addy Tas1-Dec-11 8:38 
AnswerRe: dxf extraction in c Pin
Software_Developer30-Nov-11 23:16
Software_Developer30-Nov-11 23:16 
Questionc++ SQL Server Rowset Column Buffer Pin
jkirkerx30-Nov-11 9:02
professionaljkirkerx30-Nov-11 9:02 
AnswerRe: c++ SQL Server Rowset Column Buffer Pin
jkirkerx30-Nov-11 10:10
professionaljkirkerx30-Nov-11 10:10 
I just copied the bytes to chars and did a compare, the buffer looked like is was already null terminated. Well it's a start at least, until I get to more complex return results.

I just got a taste of what SQL Server really is, didn't know asp.net masked and wrapped the extreme complexities of the product to this degree, to make it way easier to talk to. I think I just a short lesson in pointers as well.


C#
if (prgInfo[0].wType == DBTYPE_STR) {

    char *szDatabaseStatus = new char[valbufferlen];
    for ( ULONG i = 0; i < valbufferlen ; i++ ) {
         szDatabaseStatus[i] = buffer[i];
    }

    int iCompare = stricmp(szDatabaseStatus, "TRUE");
    if (iCompare == 0)
         bResult = TRUE;

    delete [] szDatabaseStatus;

}

AnswerRe: c++ SQL Server Rowset Column Buffer Pin
Snorri Kristjansson1-Dec-11 2:30
professionalSnorri Kristjansson1-Dec-11 2:30 
GeneralRe: c++ SQL Server Rowset Column Buffer Pin
jkirkerx1-Dec-11 6:07
professionaljkirkerx1-Dec-11 6:07 
GeneralRe: c++ SQL Server Rowset Column Buffer Pin
Snorri Kristjansson2-Dec-11 0:01
professionalSnorri Kristjansson2-Dec-11 0:01 
GeneralRe: c++ SQL Server Rowset Column Buffer Pin
jkirkerx2-Dec-11 6:32
professionaljkirkerx2-Dec-11 6:32 
GeneralRe: c++ SQL Server Rowset Column Buffer Pin
JackDingler9-Dec-11 10:23
JackDingler9-Dec-11 10:23 
GeneralRe: c++ SQL Server Rowset Column Buffer Pin
jkirkerx9-Dec-11 11:00
professionaljkirkerx9-Dec-11 11:00 
GeneralRe: c++ SQL Server Rowset Column Buffer Pin
JackDingler9-Dec-11 13:08
JackDingler9-Dec-11 13:08 
GeneralRe: c++ SQL Server Rowset Column Buffer Pin
jkirkerx9-Dec-11 15:02
professionaljkirkerx9-Dec-11 15:02 
GeneralRe: c++ SQL Server Rowset Column Buffer Pin
jkirkerx9-Dec-11 16:48
professionaljkirkerx9-Dec-11 16:48 
QuestionUsing a member from the view class of an mfc program in a dialog box Pin
AndrewG123130-Nov-11 6:54
AndrewG123130-Nov-11 6:54 
AnswerRe: Using a member from the view class of an mfc program in a dialog box Pin
Jonathan Davies30-Nov-11 7:06
Jonathan Davies30-Nov-11 7:06 
GeneralRe: Using a member from the view class of an mfc program in a dialog box Pin
Albert Holguin30-Nov-11 7:30
professionalAlbert Holguin30-Nov-11 7:30 
GeneralRe: Using a member from the view class of an mfc program in a dialog box Pin
AndrewG123130-Nov-11 7:58
AndrewG123130-Nov-11 7:58 
GeneralRe: Using a member from the view class of an mfc program in a dialog box Pin
Albert Holguin30-Nov-11 8:24
professionalAlbert Holguin30-Nov-11 8:24 
GeneralRe: Using a member from the view class of an mfc program in a dialog box Pin
AndrewG123130-Nov-11 8:27
AndrewG123130-Nov-11 8:27 
GeneralRe: Using a member from the view class of an mfc program in a dialog box Pin
Albert Holguin30-Nov-11 8:28
professionalAlbert Holguin30-Nov-11 8:28 
AnswerRe: Using a member from the view class of an mfc program in a dialog box Pin
Albert Holguin30-Nov-11 8:27
professionalAlbert Holguin30-Nov-11 8:27 

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.