Click here to Skip to main content
16,015,296 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A simple question about Hook Pin
wzcprince20-May-08 5:24
wzcprince20-May-08 5:24 
GeneralRe: A simple question about Hook Pin
Rajkumar R20-May-08 17:24
Rajkumar R20-May-08 17:24 
QuestionHow to open *.cdr files in VC++ or MFC Pin
kishorpathare19-May-08 23:49
kishorpathare19-May-08 23:49 
AnswerRe: How to open *.cdr files in VC++ or MFC Pin
toxcct20-May-08 0:01
toxcct20-May-08 0:01 
QuestionRe: How to open *.cdr files in VC++ or MFC Pin
David Crow20-May-08 3:42
David Crow20-May-08 3:42 
Questioninvalid number of parameters in ActiveX Pin
samira forooghi19-May-08 23:48
samira forooghi19-May-08 23:48 
QuestionRe: invalid number of parameters in ActiveX Pin
prasad_som19-May-08 23:57
prasad_som19-May-08 23:57 
QuestionNetServerEnum is not working poperly in my application. Pin
narodachintoo@yahoo.com19-May-08 23:28
narodachintoo@yahoo.com19-May-08 23:28 
LPSERVER_INFO_101 pServerInfo = NULL,pBuffer = NULL;
DWORD dwEntry = 0,dwEntriesRead,dwTotalEntries;
NET_API_STATUS nStatus;
CString str;
nStatus = NetServerEnum(NULL,
101,
(LPBYTE *) &pBuffer,
MAX_PREFERRED_LENGTH,
&dwEntriesRead,
&dwTotalEntries,
SV_TYPE_ALL,
NULL,
0);
int i=0;
if(nStatus == ERROR_SUCCESS)
{
pServerInfo = pBuffer;
while (dwEntriesRead--)
{
m_listctrl.InsertItem(dwEntry++,(LPCTSTR) pServerInfo->sv101_name);
m_listctrl.SetItemText(i++,0,(LPCTSTR) pServerInfo->sv101_name);
pServerInfo++;
}
}
i want all hosnames in my LAN but
this code puts only first char of hostname in list control. plz let me knw if i am missing anything.
thanks.
AnswerRe: NetServerEnum is not working poperly in my application. Pin
CPallini19-May-08 23:35
mveCPallini19-May-08 23:35 
GeneralRe: NetServerEnum is not working poperly in my application. Pin
narodachintoo@yahoo.com19-May-08 23:40
narodachintoo@yahoo.com19-May-08 23:40 
GeneralRe: NetServerEnum is not working poperly in my application. Pin
Rajesh R Subramanian19-May-08 23:51
professionalRajesh R Subramanian19-May-08 23:51 
GeneralRe: NetServerEnum is not working poperly in my application. Pin
narodachintoo@yahoo.com20-May-08 0:07
narodachintoo@yahoo.com20-May-08 0:07 
GeneralRe: NetServerEnum is not working poperly in my application. Pin
prasad_som19-May-08 23:55
prasad_som19-May-08 23:55 
GeneralRe: NetServerEnum is not working poperly in my application. Pin
CPallini19-May-08 23:57
mveCPallini19-May-08 23:57 
GeneralRe: NetServerEnum is not working poperly in my application. Pin
narodachintoo@yahoo.com20-May-08 0:10
narodachintoo@yahoo.com20-May-08 0:10 
QuestionRe: NetServerEnum is not working poperly in my application. Pin
CPallini20-May-08 0:21
mveCPallini20-May-08 0:21 
AnswerRe: NetServerEnum is not working poperly in my application. Pin
narodachintoo@yahoo.com20-May-08 0:31
narodachintoo@yahoo.com20-May-08 0:31 
GeneralRe: NetServerEnum is not working poperly in my application. Pin
CPallini20-May-08 0:42
mveCPallini20-May-08 0:42 
GeneralRe: NetServerEnum is not working poperly in my application. Pin
narodachintoo@yahoo.com20-May-08 0:59
narodachintoo@yahoo.com20-May-08 0:59 
QuestionHow To use DLL files in programs Pin
savitri19-May-08 23:08
savitri19-May-08 23:08 
AnswerRe: How To use DLL files in programs Pin
Rajesh R Subramanian19-May-08 23:13
professionalRajesh R Subramanian19-May-08 23:13 
AnswerRe: How To use DLL files in programs Pin
CPallini19-May-08 23:24
mveCPallini19-May-08 23:24 
QuestionRe: How To use DLL files in programs Pin
savitri20-May-08 0:13
savitri20-May-08 0:13 
QuestionRe: How To use DLL files in programs Pin
CPallini20-May-08 0:25
mveCPallini20-May-08 0:25 
QuestionRe: How To use DLL files in programs Pin
savitri20-May-08 0:31
savitri20-May-08 0:31 

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.