Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: no NM_CUSTOMDRAW for CComboBox? Pin
PJ Arends4-Sep-05 21:51
professionalPJ Arends4-Sep-05 21:51 
AnswerRe: no NM_CUSTOMDRAW for CComboBox? Pin
Gary R. Wheeler5-Sep-05 4:34
Gary R. Wheeler5-Sep-05 4:34 
QuestionRetrieving File type Pin
Anonymous4-Sep-05 20:38
Anonymous4-Sep-05 20:38 
AnswerRe: Retrieving File type Pin
Neagoe Gabriel4-Sep-05 22:17
Neagoe Gabriel4-Sep-05 22:17 
AnswerRe: Retrieving File type Pin
ThatsAlok4-Sep-05 23:14
ThatsAlok4-Sep-05 23:14 
AnswerRe: Retrieving File type Pin
Eytukan4-Sep-05 23:24
Eytukan4-Sep-05 23:24 
General[Message Deleted] Pin
Monisankar5-Sep-05 4:22
Monisankar5-Sep-05 4:22 
AnswerRe: Retrieving File type Pin
Gary R. Wheeler5-Sep-05 5:53
Gary R. Wheeler5-Sep-05 5:53 
As a rule, PC text files use carriage return / line feed pairs (\r\n, or 0x0D 0x0A) to delimit lines, while UNIX machines use line feed only (\n 0x0A).

One approach would be to read the file as binary, and search for \r\n pairs. If you don't find them, try treating it as a UNIX file.


Software Zen: delete this;
GeneralRe: Retrieving File type Pin
normanS5-Sep-05 19:39
normanS5-Sep-05 19:39 
GeneralRe: Retrieving File type Pin
Anonymous6-Sep-05 1:13
Anonymous6-Sep-05 1:13 
GeneralRe: Retrieving File type Pin
Gary R. Wheeler6-Sep-05 13:10
Gary R. Wheeler6-Sep-05 13:10 
QuestionHow to import VB interface in VC++ programming?How to link the interface with VC++ codes Pin
ladyscarlet994-Sep-05 20:04
ladyscarlet994-Sep-05 20:04 
AnswerRe: How to import VB interface in VC++ programming?How to link the interface with VC++ codes Pin
MailtoGops5-Sep-05 4:19
MailtoGops5-Sep-05 4:19 
GeneralRe: How to import VB interface in VC++ programming?How to link the interface with VC++ codes Pin
Christian Graus5-Sep-05 16:08
protectorChristian Graus5-Sep-05 16:08 
QuestionProgress Dialog Pin
LighthouseJ4-Sep-05 17:08
LighthouseJ4-Sep-05 17:08 
QuestionRemoving Drivers from a system Pin
Peter Prescher4-Sep-05 16:58
Peter Prescher4-Sep-05 16:58 
AnswerRe: Removing Drivers from a system Pin
Gary R. Wheeler5-Sep-05 5:55
Gary R. Wheeler5-Sep-05 5:55 
GeneralRe: Removing Drivers from a system Pin
Peter Prescher5-Sep-05 9:04
Peter Prescher5-Sep-05 9:04 
QuestionWhere to delete item data with CListCtrl Pin
followait4-Sep-05 16:24
followait4-Sep-05 16:24 
AnswerRe: Where to delete item data with CListCtrl Pin
Jose Lamas Rios4-Sep-05 19:12
Jose Lamas Rios4-Sep-05 19:12 
GeneralThank you. It works. Pin
followait4-Sep-05 19:54
followait4-Sep-05 19:54 
AnswerRe: Where to delete item data with CListCtrl Pin
Kelly Herald4-Sep-05 20:06
Kelly Herald4-Sep-05 20:06 
GeneralRe: Where to delete item data with CListCtrl Pin
Jose Lamas Rios4-Sep-05 20:26
Jose Lamas Rios4-Sep-05 20:26 
GeneralIt doesn't help to delete item data. Pin
followait4-Sep-05 20:43
followait4-Sep-05 20:43 
GeneralRe: It doesn't help to delete item data. Pin
Kelly Herald6-Sep-05 4:07
Kelly Herald6-Sep-05 4:07 

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.