Unfortunately I don't have this source with VC++ Express so I cannot guess what the issue is. I suggest you step through with the debugger to try and see what is causing the assertion. Check the value of variables, pointers etc when the assertion is thrown.
From the above I would guess that your list control has not been initialised properly and does not have a valid m_hWnd property. I have not used MFC for some time so I cannot comment on the last question. However, as I suggested earlier, it may be better to use a CListView as your client window, rather than trying to use a list control inside a CFormView.
I wanna create an application which should be run as a windows service. Application should receive HTTP request from the third party application. HTTP request hold xml data, i wanna parsing that and store it into local file. For above the constrains what type of application should i create using win32 or mfc?. Plz.. get me out from this confession...
As I get you want to create server. Simple open a socket and start listening on a specified port.
open internet explorer. type http://127.0.0.1:5000
5000 is port number on which server is listening request. It is changable but should be same on both server and client.
On server read socket.
I have a problem when using ParseDisplayName function to get ITEMIDLIST of USB Memory device. The scenario is: I insert USB into PC and catch an event by [OnDeviceChange] function, then I use ParseDisplayName function to get ITEMIDLIST of inserted USB memory, but it is failed.
This phenomenon only occur in Widows XP Service Pack 2, in Windows XP Service Pack 3, it doesn't happen.
Here is a code I use to get ITEMIDLIST by ParseDisplayName function(the input path is valid).