Click here to Skip to main content
15,845,196 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how we can change tthe name of the menu in runtime Pin
ovidiucucu27-Jun-06 7:13
ovidiucucu27-Jun-06 7:13 
AnswerRe: fetch selected data Pin
Viorel.27-Jun-06 0:35
Viorel.27-Jun-06 0:35 
GeneralRe: fetch selected data Pin
Viorel.27-Jun-06 0:57
Viorel.27-Jun-06 0:57 
GeneralRe: fetch selected data Pin
ashish dogra27-Jun-06 3:09
ashish dogra27-Jun-06 3:09 
GeneralRe: fetch selected data Pin
ashish dogra27-Jun-06 3:27
ashish dogra27-Jun-06 3:27 
QuestionIPC in Vista Pin
chenxiujie26-Jun-06 23:51
chenxiujie26-Jun-06 23:51 
Questionavoid rotating the screen Pin
sdhtyjnniutnbjnhbghb26-Jun-06 23:42
sdhtyjnniutnbjnhbghb26-Jun-06 23:42 
QuestionGetting debug Assertion failed messege Pin
agarunk26-Jun-06 19:34
agarunk26-Jun-06 19:34 
Hi all,
Im creating a .dll using ATL. Recently I have got to add the file operation part to it but as soon as I did it, it started to throw error saying :


" Drawing Assertion failed
Program : c:\windows........
File : fprintf.c
Line :55
Expression : (str!= NULL)
.................. "

This is the part of code which I'm using. It works well as far as I'll keep
fprintf(......);
statement away. But as soon as I included that its throwing error.

<br />
STDMETHODIMP CYourClass::YourATLMethod(BSTR Filepath, BSTR* ReturnString)<br />
{<br />
	_bstr_t LbstrFilepath = Filepath;<br />
		<br />
	XMP_VersionInfo version;<br />
	SXMPMeta::GetVersionInfo ( &version );<br />
	FILE * sLogFile=fopen( "XMPLog.txt", "wb" ); ;<br />
	fprintf ( sLogFile, "Version : %s\n" , version.message ); //here it is throwing errror<br />


please guide me. where and why it is throwing error. What I'm supposed to get rid of this.


Regards,
Arun
QuestionRe: Getting debug Assertion failed messege Pin
David Crow28-Jun-06 6:48
David Crow28-Jun-06 6:48 
AnswerRe: Getting debug Assertion failed messege Pin
agarunk28-Jun-06 7:26
agarunk28-Jun-06 7:26 
GeneralRe: Getting debug Assertion failed messege Pin
David Crow28-Jun-06 7:36
David Crow28-Jun-06 7:36 
GeneralRe: Getting debug Assertion failed messege Pin
agarunk28-Jun-06 20:16
agarunk28-Jun-06 20:16 
GeneralRe: Getting debug Assertion failed messege Pin
Jörgen Sigvardsson28-Jun-06 23:08
Jörgen Sigvardsson28-Jun-06 23:08 
GeneralRe: Getting debug Assertion failed messege Pin
agarunk29-Jun-06 5:11
agarunk29-Jun-06 5:11 
QuestionRe: Getting debug Assertion failed messege Pin
David Crow29-Jun-06 3:37
David Crow29-Jun-06 3:37 
AnswerRe: Getting debug Assertion failed messege Pin
agarunk29-Jun-06 4:50
agarunk29-Jun-06 4:50 
GeneralRe: Getting debug Assertion failed messege Pin
David Crow29-Jun-06 5:10
David Crow29-Jun-06 5:10 
GeneralRe: Getting debug Assertion failed messege Pin
agarunk29-Jun-06 5:14
agarunk29-Jun-06 5:14 
GeneralRe: Getting debug Assertion failed messege Pin
David Crow29-Jun-06 5:25
David Crow29-Jun-06 5:25 
GeneralRe: Getting debug Assertion failed messege Pin
agarunk29-Jun-06 6:16
agarunk29-Jun-06 6:16 
GeneralRe: Getting debug Assertion failed messege Pin
David Crow29-Jun-06 6:39
David Crow29-Jun-06 6:39 
GeneralRe: Getting debug Assertion failed messege Pin
Jörgen Sigvardsson28-Jun-06 15:14
Jörgen Sigvardsson28-Jun-06 15:14 
GeneralRe: Getting debug Assertion failed messege Pin
agarunk28-Jun-06 20:29
agarunk28-Jun-06 20:29 
QuestionHow to change Group box background color??? Pin
mimimimilaw26-Jun-06 18:46
mimimimilaw26-Jun-06 18:46 
AnswerRe: How to change Group box background color??? Pin
Naveen26-Jun-06 18:56
Naveen26-Jun-06 18:56 

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.