Include the "atlconv.h". Then use one of the macros defined in this article http://msdn.microsoft.com/en-us/library/87zae4a3%28v=vs.80%29.aspx[^]
P
pratik_mishra35
@pratik_mishra35
Posts
-
error in CString to const std::string conversion. -
How to remove the "0" from the starting i.e. from the left of the CStringUse The method CString::Remove like thish CString TempString("0000122334"); TempString.Remove('0');
-
Fire connection point event from ATL ServiceHi all, I have been working on this project where i receive a stream of data over a UDP port. This Data is to be processed and the result is to be distributed to the clients. To accomplish this end i have created an ATL service along with a connection point interface. Now the actual problem is how to call the Fire_Event method as i have created a thread from the service which reads the data stream. Can someone please help me as to how can i call the fire method as the functions that reads a stream and should generate the event OnDataChange is not member of the Connectionpoint interface. Thanks and regards, Pratik