Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to acces instance of a class or a view at runtime? Pin
prasad_som7-Jan-07 22:00
prasad_som7-Jan-07 22:00 
QuestionRegistering COM dll by coding .. How? Pin
Sakthiu5-Jan-07 2:46
Sakthiu5-Jan-07 2:46 
AnswerRe: Registering COM dll by coding .. How? Pin
2249175-Jan-07 2:58
2249175-Jan-07 2:58 
AnswerRe: Registering COM dll by coding .. How? Pin
James R. Twine5-Jan-07 3:19
James R. Twine5-Jan-07 3:19 
AnswerRe: Registering COM dll by coding .. How? Pin
ThatsAlok5-Jan-07 5:02
ThatsAlok5-Jan-07 5:02 
GeneralRe: Registering COM dll by coding .. How? Pin
Jörgen Sigvardsson5-Jan-07 12:20
Jörgen Sigvardsson5-Jan-07 12:20 
AnswerRe: Registering COM dll by coding .. How? Pin
Eytukan5-Jan-07 7:55
Eytukan5-Jan-07 7:55 
QuestionCreateFile fails to open temp file Pin
Kharfax5-Jan-07 2:32
Kharfax5-Jan-07 2:32 
Hi
I have a program asociated with a file extension, when I open the file via Outlook, it creates a temp file in:

Documents and Settings/sebastian/Local Settings/Temporary Internet Files/OLK37/file.mio

My app receives the path, but CreateFile fails with error 123: File not exist

The file exist, but that is a system/hidden folder.

Why is failing to open the file??

This is my call to create file:

<br />
<br />
	HANDLE hFile = CreateFile(param, <br />
		                  GENERIC_READ | GENERIC_WRITE, <br />
			          0,<br />
			          NULL,<br />
			          OPEN_EXISTING,<br />
			          FILE_ATTRIBUTE_NORMAL,<br />
				  NULL);<br />
<br />


Thanks in advance Big Grin | :-D
AnswerRe: CreateFile fails to open temp file Pin
James R. Twine5-Jan-07 3:23
James R. Twine5-Jan-07 3:23 
AnswerRe: CreateFile fails to open temp file Pin
Rage5-Jan-07 3:24
professionalRage5-Jan-07 3:24 
AnswerRe: CreateFile fails to open temp file Pin
David Crow5-Jan-07 3:24
David Crow5-Jan-07 3:24 
AnswerRe: CreateFile fails to open temp file Pin
Kharfax5-Jan-07 3:32
Kharfax5-Jan-07 3:32 
GeneralRe: CreateFile fails to open temp file Pin
James R. Twine5-Jan-07 3:54
James R. Twine5-Jan-07 3:54 
AnswerRe: CreateFile fails to open temp file Pin
Kharfax5-Jan-07 4:02
Kharfax5-Jan-07 4:02 
QuestionLCD MATRIX CONTROL OF MR WILSON Pin
vishyogi5-Jan-07 1:35
vishyogi5-Jan-07 1:35 
AnswerRe: LCD MATRIX CONTROL OF MR WILSON Pin
prasad_som5-Jan-07 1:44
prasad_som5-Jan-07 1:44 
QuestionSend message between PC's in LAN Pin
nripun5-Jan-07 1:06
nripun5-Jan-07 1:06 
AnswerRe: Send message between PC's in LAN Pin
prasad_som5-Jan-07 1:21
prasad_som5-Jan-07 1:21 
AnswerRe: Send message between PC's in LAN Pin
Eytukan5-Jan-07 1:55
Eytukan5-Jan-07 1:55 
AnswerRe: Send message between PC's in LAN Pin
ThatsAlok5-Jan-07 3:06
ThatsAlok5-Jan-07 3:06 
AnswerRe: Send message between PC's in LAN Pin
Mark Salsbery5-Jan-07 6:47
Mark Salsbery5-Jan-07 6:47 
AnswerRe: Send message between PC's in LAN Pin
Cristian Amarie6-Jan-07 2:47
Cristian Amarie6-Jan-07 2:47 
Questionmfc tutorial Pin
mehmetned4-Jan-07 23:21
mehmetned4-Jan-07 23:21 
AnswerRe: mfc tutorial Pin
_AnsHUMAN_ 4-Jan-07 23:26
_AnsHUMAN_ 4-Jan-07 23:26 
AnswerRe: mfc tutorial Pin
Hamid_RT5-Jan-07 1:46
Hamid_RT5-Jan-07 1:46 

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.