Click here to Skip to main content
15,797,923 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ODBC- too long text trnasmition problem Pin
Rafix11114-Sep-09 8:23
Rafix11114-Sep-09 8:23 
GeneralRe: ODBC- too long text trnasmition problem Pin
David Crow14-Sep-09 8:30
David Crow14-Sep-09 8:30 
GeneralRe: ODBC- too long text trnasmition problem Pin
Rafix11114-Sep-09 10:35
Rafix11114-Sep-09 10:35 
QuestionSet property of folder? Pin
Arrin14-Sep-09 2:58
Arrin14-Sep-09 2:58 
AnswerRe: Set property of folder? Pin
Iain Clarke, Warrior Programmer14-Sep-09 3:23
Iain Clarke, Warrior Programmer14-Sep-09 3:23 
GeneralRe: Set property of folder? Pin
Arrin14-Sep-09 4:00
Arrin14-Sep-09 4:00 
GeneralRe: Set property of folder? Pin
Iain Clarke, Warrior Programmer14-Sep-09 4:20
Iain Clarke, Warrior Programmer14-Sep-09 4:20 
Questionvsnprintf() Pin
shriniwas198514-Sep-09 2:52
shriniwas198514-Sep-09 2: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 4:35
David Crow14-Sep-09 4:35 
GeneralRe: vsnprintf() Pin
shriniwas198514-Sep-09 5:40
shriniwas198514-Sep-09 5:40 
GeneralRe: vsnprintf() Pin
norish14-Sep-09 8:32
norish14-Sep-09 8:32 
AnswerRe: vsnprintf() Pin
Joe Woodbury14-Sep-09 9:08
professionalJoe Woodbury14-Sep-09 9:08 
AnswerRe: vsnprintf() Pin
Member 419459314-Sep-09 10:07
Member 419459314-Sep-09 10:07 
QuestionI have to insert value into table at runtime ? Pin
jadhavjitendrar14-Sep-09 1:26
jadhavjitendrar14-Sep-09 1:26 
AnswerRe: I have to insert value into table at runtime ? Pin
«_Superman_»14-Sep-09 1:44
professional«_Superman_»14-Sep-09 1:44 
GeneralRe: I have to insert value into table at runtime ? Pin
jadhavjitendrar14-Sep-09 1:48
jadhavjitendrar14-Sep-09 1:48 
GeneralRe: I have to insert value into table at runtime ? Pin
jadhavjitendrar14-Sep-09 3:24
jadhavjitendrar14-Sep-09 3:24 
QuestionRe: I have to insert value into table at runtime ? Pin
norish14-Sep-09 9:30
norish14-Sep-09 9:30 
QuestionRe: I have to insert value into table at runtime ? Pin
CPallini14-Sep-09 1:45
mveCPallini14-Sep-09 1:45 
Questionneed help for programming PTZ camera Pin
rajapp14-Sep-09 0:09
rajapp14-Sep-09 0:09 
QuestionCut Rectangles in images Pin
Game-point13-Sep-09 23:14
Game-point13-Sep-09 23:14 
AnswerRe: Cut Rectangles in images Pin
CPallini13-Sep-09 23:55
mveCPallini13-Sep-09 23:55 
AnswerRe: Cut Rectangles in images Pin
Game-point14-Sep-09 0:26
Game-point14-Sep-09 0:26 
QuestionHOw can run vlc code Pin
anishkannan13-Sep-09 22:23
anishkannan13-Sep-09 22:23 
AnswerRe: HOw can run vlc code Pin
CPallini13-Sep-09 22:48
mveCPallini13-Sep-09 22: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.