Click here to Skip to main content
15,921,884 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: STD::String replace Pin
Roland Pibinger7-Jul-06 12:30
Roland Pibinger7-Jul-06 12:30 
QuestionHow to implement WTL Pin
shivditya6-Jul-06 0:48
shivditya6-Jul-06 0:48 
AnswerRe: How to implement WTL Pin
Justin Tay6-Jul-06 3:52
Justin Tay6-Jul-06 3:52 
QuestionAdd toolbar to IExplorer Pin
HarishDixit5-Jul-06 23:31
HarishDixit5-Jul-06 23:31 
AnswerRe: Add toolbar to IExplorer Pin
shivditya6-Jul-06 0:41
shivditya6-Jul-06 0:41 
QuestionGetting hover buttons function [modified] Pin
Prem865-Jul-06 19:26
Prem865-Jul-06 19:26 
Questioncan template specialisation replace callback? Pin
f25-Jul-06 7:26
f25-Jul-06 7:26 
QuestionHow to use "fprintf" and "sprintf" in ATL dll creation. Pin
agarunk4-Jul-06 23:29
agarunk4-Jul-06 23:29 
Hi all,
I'm developing ATL dll which will be used in C#. But I have done many things so far now I have to use either file operation (say fprintf) or string operations ("sprintf").

I have tried to do it as in the usuall fashion(like in normal exe) but when I'm calling the methods containing "fprintf or sprintf" in C# project it'll start throwing following error.
........................................
Debug Assertion Failed!
"location\system32\inetsrv\w3wp.exe"
File:sprintf.c
Line:55

Expression: (str != NU.LL)
............................................

when I hit retry i'll get the following messege

The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
...................................................

As per me its not the right way to use fprintf/sprintf in ATL dlls I guess.

You can test it by creating simple ATL dll project and placing file operation including fprintf/sprintf, and calling the method in C#.

plzzzzz guide me to come over it.

Thanks,
Arun
AnswerRe: How to use "fprintf" and "sprintf" in ATL dll creation. Pin
Jörgen Sigvardsson4-Jul-06 23:44
Jörgen Sigvardsson4-Jul-06 23:44 
GeneralRe: How to use "fprintf" and "sprintf" in ATL dll creation. Pin
agarunk5-Jul-06 19:23
agarunk5-Jul-06 19:23 
QuestionTrying to Put HWND Value Into String [modified] Pin
redfish343-Jul-06 23:10
redfish343-Jul-06 23:10 
AnswerRe: Trying to Put HWND Value Into String Pin
Eytukan3-Jul-06 23:31
Eytukan3-Jul-06 23:31 
GeneralRe: Trying to Put HWND Value Into String Pin
redfish344-Jul-06 14:44
redfish344-Jul-06 14:44 
GeneralRe: Trying to Put HWND Value Into String Pin
Jörgen Sigvardsson4-Jul-06 14:56
Jörgen Sigvardsson4-Jul-06 14:56 
GeneralRe: Trying to Put HWND Value Into String Pin
redfish344-Jul-06 16:36
redfish344-Jul-06 16:36 
GeneralRe: Trying to Put HWND Value Into String Pin
Jörgen Sigvardsson4-Jul-06 23:04
Jörgen Sigvardsson4-Jul-06 23:04 
GeneralRe: Trying to Put HWND Value Into String [modified] Pin
Eytukan5-Jul-06 4:17
Eytukan5-Jul-06 4:17 
GeneralRe: Trying to Put HWND Value Into String [modified] Pin
Mattias G5-Jul-06 12:58
Mattias G5-Jul-06 12:58 
AnswerRe: Trying to Put HWND Value Into String Pin
Eytukan4-Jul-06 21:36
Eytukan4-Jul-06 21:36 
GeneralRe: Trying to Put HWND Value Into String Pin
Eytukan4-Jul-06 21:38
Eytukan4-Jul-06 21:38 
GeneralRe: Trying to Put HWND Value Into String Pin
Michael Dunn5-Jul-06 7:34
sitebuilderMichael Dunn5-Jul-06 7:34 
QuestionSmart Pointer and STL Container Pin
Greg Yeung2-Jul-06 22:20
Greg Yeung2-Jul-06 22:20 
AnswerRe: Smart Pointer and STL Container Pin
Stuart Dootson3-Jul-06 2:00
professionalStuart Dootson3-Jul-06 2:00 
GeneralRe: Smart Pointer and STL Container Pin
Greg Yeung3-Jul-06 16:57
Greg Yeung3-Jul-06 16:57 
QuestionWindows application with Infragistics controls [modified] Pin
DeloreanMag30-Jun-06 19:37
DeloreanMag30-Jun-06 19:37 

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.