Click here to Skip to main content
15,881,812 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ODBC- too long text trnasmition problem Pin
Rafix11114-Sep-09 7:23
Rafix11114-Sep-09 7:23 
GeneralRe: ODBC- too long text trnasmition problem Pin
David Crow14-Sep-09 7:30
David Crow14-Sep-09 7:30 
GeneralRe: ODBC- too long text trnasmition problem Pin
Rafix11114-Sep-09 9:35
Rafix11114-Sep-09 9:35 
QuestionSet property of folder? Pin
Arrin14-Sep-09 1:58
Arrin14-Sep-09 1:58 
AnswerRe: Set property of folder? Pin
Iain Clarke, Warrior Programmer14-Sep-09 2:23
Iain Clarke, Warrior Programmer14-Sep-09 2:23 
GeneralRe: Set property of folder? Pin
Arrin14-Sep-09 3:00
Arrin14-Sep-09 3:00 
GeneralRe: Set property of folder? Pin
Iain Clarke, Warrior Programmer14-Sep-09 3:20
Iain Clarke, Warrior Programmer14-Sep-09 3:20 
Questionvsnprintf() Pin
shriniwas198514-Sep-09 1:52
shriniwas198514-Sep-09 1:52 
Hi Guys,
I am having an issue with vsnrpintf() function.
My function posts an error message by formatting it using vsnprintf()
Ex:
void SetErrorInfo(const CHAR* lpzformat, ...)
{
va_list();
va_start(vargs,lpzformat);
_vsntprintf(szbuf,MAX_PATH,lpzformat,vargs);
}
This is crashing when i dont have arguments passed to this function and the formatted string has "%n" or "%s" which are known place holders for BufferOverflow.
Can anyone let me know if i can get a count of vargs argument list and based on that decide whether to use
vsnprintf() or not?
AnswerRe: vsnprintf() Pin
David Crow14-Sep-09 3:35
David Crow14-Sep-09 3:35 
GeneralRe: vsnprintf() Pin
shriniwas198514-Sep-09 4:40
shriniwas198514-Sep-09 4:40 
GeneralRe: vsnprintf() Pin
norish14-Sep-09 7:32
norish14-Sep-09 7:32 
AnswerRe: vsnprintf() Pin
Joe Woodbury14-Sep-09 8:08
professionalJoe Woodbury14-Sep-09 8:08 
AnswerRe: vsnprintf() Pin
Member 419459314-Sep-09 9:07
Member 419459314-Sep-09 9:07 
QuestionI have to insert value into table at runtime ? Pin
jadhavjitendrar14-Sep-09 0:26
jadhavjitendrar14-Sep-09 0:26 
AnswerRe: I have to insert value into table at runtime ? Pin
«_Superman_»14-Sep-09 0:44
professional«_Superman_»14-Sep-09 0:44 
GeneralRe: I have to insert value into table at runtime ? Pin
jadhavjitendrar14-Sep-09 0:48
jadhavjitendrar14-Sep-09 0:48 
GeneralRe: I have to insert value into table at runtime ? Pin
jadhavjitendrar14-Sep-09 2:24
jadhavjitendrar14-Sep-09 2:24 
QuestionRe: I have to insert value into table at runtime ? Pin
norish14-Sep-09 8:30
norish14-Sep-09 8:30 
QuestionRe: I have to insert value into table at runtime ? Pin
CPallini14-Sep-09 0:45
mveCPallini14-Sep-09 0:45 
Questionneed help for programming PTZ camera Pin
rajapp13-Sep-09 23:09
rajapp13-Sep-09 23:09 
QuestionCut Rectangles in images Pin
Game-point13-Sep-09 22:14
Game-point13-Sep-09 22:14 
AnswerRe: Cut Rectangles in images Pin
CPallini13-Sep-09 22:55
mveCPallini13-Sep-09 22:55 
AnswerRe: Cut Rectangles in images Pin
Game-point13-Sep-09 23:26
Game-point13-Sep-09 23:26 
QuestionHOw can run vlc code Pin
anishkannan13-Sep-09 21:23
anishkannan13-Sep-09 21:23 
AnswerRe: HOw can run vlc code Pin
CPallini13-Sep-09 21:48
mveCPallini13-Sep-09 21:48 

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.