Click here to Skip to main content
16,006,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to contact outlook calender from VC++ ? Pin
Cedric Moonen15-Jan-09 7:15
Cedric Moonen15-Jan-09 7:15 
AnswerRe: how to contact outlook calender from VC++ ? Pin
Stuart Dootson15-Jan-09 9:11
professionalStuart Dootson15-Jan-09 9:11 
Questionlimiting print margins Pin
TClarke15-Jan-09 4:43
TClarke15-Jan-09 4:43 
AnswerRe: limiting print margins Pin
Iain Clarke, Warrior Programmer15-Jan-09 5:17
Iain Clarke, Warrior Programmer15-Jan-09 5:17 
GeneralRe: limiting print margins Pin
TClarke15-Jan-09 5:48
TClarke15-Jan-09 5:48 
AnswerRe: limiting print margins Pin
Rajkumar R15-Jan-09 7:16
Rajkumar R15-Jan-09 7:16 
GeneralRe: limiting print margins [modified] Pin
TClarke15-Jan-09 23:14
TClarke15-Jan-09 23:14 
QuestionWM5 dev, Problem with C++ FindFirstFile returning 0xffffffff Pin
uzziah015-Jan-09 3:48
uzziah015-Jan-09 3:48 
I am having a problem with FindFirstFile, I am writing for WM5 with Visual Studio 2008 90 day trial.

Here is a chunk of code:

int GetTheFile(LPWSTR ddir)
{
  LPWIN32_FIND_DATAW ac_file;
  HANDLE fileHandle;
  int ret=1;

  wsprintf(ddir, TEXT("\\*.*"));
  fileHandle = FindFirstFile(ddir, ac_file);
  if (fileHandle != INVALID_HANDLE_VALUE)


After the FindFirstFile executes, ac_file is unchanged (all 0s),
fileHandle is 0xffffffff (-1 which is invalid handle),
I have tried several different things for ddir ("\\", "\\*.*", "\\Windows",...).

Any ideas?
Thanks
AnswerRe: WM5 dev, Problem with C++ FindFirstFile returning 0xffffffff Pin
Randor 15-Jan-09 4:20
professional Randor 15-Jan-09 4:20 
GeneralRe: WM5 dev, Problem with C++ FindFirstFile returning 0xffffffff Pin
uzziah015-Jan-09 4:46
uzziah015-Jan-09 4:46 
QuestionAccess Database: Create Table Pin
SutterA15-Jan-09 3:14
SutterA15-Jan-09 3:14 
AnswerRe: Access Database: Create Table Pin
David Crow15-Jan-09 4:20
David Crow15-Jan-09 4:20 
Questionwindows Loader Pin
Member 342050915-Jan-09 1:44
Member 342050915-Jan-09 1:44 
AnswerRe: windows Loader Pin
Iain Clarke, Warrior Programmer15-Jan-09 2:04
Iain Clarke, Warrior Programmer15-Jan-09 2:04 
AnswerRe: windows Loader Pin
Naveen15-Jan-09 2:07
Naveen15-Jan-09 2:07 
QuestionCan i fix the size of splitted view? Pin
Le@rner15-Jan-09 1:29
Le@rner15-Jan-09 1:29 
AnswerRe: Can i fix the size of splitted view? Pin
SandipG 15-Jan-09 1:40
SandipG 15-Jan-09 1:40 
GeneralRe: Can i fix the size of splitted view? Pin
Le@rner15-Jan-09 1:52
Le@rner15-Jan-09 1:52 
QuestionSuggestions: need an Outlook 2003 style of navigation class Pin
josip cagalj15-Jan-09 0:28
josip cagalj15-Jan-09 0:28 
AnswerRe: Suggestions: need an Outlook 2003 style of navigation class Pin
Code-o-mat15-Jan-09 5:58
Code-o-mat15-Jan-09 5:58 
AnswerRe: Suggestions: need an Outlook 2003 style of navigation class Pin
josip cagalj15-Jan-09 21:20
josip cagalj15-Jan-09 21:20 
Questionhow to hide internal component of a class Pin
pedefetoll15-Jan-09 0:23
pedefetoll15-Jan-09 0:23 
AnswerRe: how to hide internal component of a class Pin
sashoalm15-Jan-09 0:34
sashoalm15-Jan-09 0:34 
GeneralRe: how to hide internal component of a class Pin
Cedric Moonen15-Jan-09 0:51
Cedric Moonen15-Jan-09 0:51 
GeneralRe: how to hide internal component of a class Pin
Stephen Hewitt15-Jan-09 2:29
Stephen Hewitt15-Jan-09 2:29 

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.