Alternative Datenströme



  • Ich hatte mal wieder zeit und dabei ist das rausgekommen:

    void CAlternateDatastreamsDlg::CreateAds() 
    {
    	CStdioFile read;
    	CString adsstring;
    	char writebuf[100]="test of ads";
    	char readbuf[100];
    	if(m_fAds.Open("adstest:lol", CFile::modeCreate | CFile::modeWrite, NULL) != 0)
    	{
    		MessageBox("File created!", "#wir-raffens.net", MB_OK);
    	}
    	m_fAds.Write(writebuf,100);
    	m_fAds.Close();
    	read.Open("adstest:lol",CStdioFile::modeRead,NULL);
    	read.ReadString(adsstring);
    	MessageBox(adsstring,"#wir-raffens.net);
    
    }
    

    So ich möcht das aber umkehren um ADS zu finden! Ideen? Postet mal bitte!

    Informationen zu ADS:
    http://www.heysoft.de/Frames/f_faq_ads_de.htm



  • keiner ne idee?


Anmelden zum Antworten