Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: _stprintf Pin
Mark Salsbery12-Oct-08 18:09
Mark Salsbery12-Oct-08 18:09 
QuestionRe: _stprintf Pin
CPallini11-Oct-08 21:49
mveCPallini11-Oct-08 21:49 
AnswerRe: _stprintf Pin
Sarriss12-Oct-08 2:22
Sarriss12-Oct-08 2:22 
GeneralRe: _stprintf [modified] Pin
CPallini12-Oct-08 4:09
mveCPallini12-Oct-08 4:09 
GeneralRe: _stprintf Pin
Mark Salsbery12-Oct-08 18:09
Mark Salsbery12-Oct-08 18:09 
GeneralRe: _stprintf Pin
CPallini12-Oct-08 19:51
mveCPallini12-Oct-08 19:51 
QuestionCreating a file in VISTA(UAC Enabled) is retuening 5 in GetLAstError Api Pin
VCProgrammer11-Oct-08 2:26
VCProgrammer11-Oct-08 2:26 
AnswerRe: Creating a file in VISTA(UAC Enabled) is retuening 5 in GetLAstError Api Pin
krmed11-Oct-08 3:39
krmed11-Oct-08 3:39 
You are probably trying to create the file in the same folder as your application (which is in Program Files). Under Vista, this requires admin privilege.

Instead you should store your data in the appdata folder. Take a look at SHGetFolderPath[^] using the CSIDL of CSIDL_APPDATA or CSIDL_LOCAL_APPDATA.

Hope that helps.

Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

AnswerRe: Creating a file in VISTA(UAC Enabled) is retuening 5 in GetLAstError Api Pin
Perspx11-Oct-08 5:42
Perspx11-Oct-08 5:42 
Question#pragma check_stack in C Pin
Alok Chauhan11-Oct-08 2:01
Alok Chauhan11-Oct-08 2:01 
AnswerRe: #pragma check_stack in C Pin
Mark Salsbery11-Oct-08 6:06
Mark Salsbery11-Oct-08 6:06 
GeneralRe: #pragma check_stack in C Pin
Alok Chauhan11-Oct-08 10:39
Alok Chauhan11-Oct-08 10:39 
GeneralRe: #pragma check_stack in C Pin
Mark Salsbery11-Oct-08 11:20
Mark Salsbery11-Oct-08 11:20 
QuestionBtree Library Pin
phap11-Oct-08 1:52
phap11-Oct-08 1:52 
AnswerRe: Btree Library Pin
sashoalm11-Oct-08 4:35
sashoalm11-Oct-08 4:35 
AnswerRe: Btree Library Pin
CPallini11-Oct-08 6:38
mveCPallini11-Oct-08 6:38 
GeneralRe: Btree Library Pin
Hamid_RT11-Oct-08 22:15
Hamid_RT11-Oct-08 22:15 
GeneralRe: Btree Library Pin
CPallini11-Oct-08 23:00
mveCPallini11-Oct-08 23:00 
GeneralRe: Btree Library Pin
Hamid_RT12-Oct-08 5:32
Hamid_RT12-Oct-08 5:32 
GeneralRe: Btree Library Pin
CPallini12-Oct-08 6:52
mveCPallini12-Oct-08 6:52 
GeneralRe: Btree Library Pin
Hamid_RT12-Oct-08 9:06
Hamid_RT12-Oct-08 9:06 
Questionsymbol missing error? Pin
George_George11-Oct-08 1:51
George_George11-Oct-08 1:51 
Questionsomething about jrtplib,help! Pin
Pearson_Bee10-Oct-08 20:51
Pearson_Bee10-Oct-08 20:51 
AnswerRe: something about jrtplib,help! Pin
Garth J Lancaster11-Oct-08 23:47
professionalGarth J Lancaster11-Oct-08 23:47 
GeneralRe: something about jrtplib,help! Pin
Pearson_Bee12-Oct-08 17:14
Pearson_Bee12-Oct-08 17:14 

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.