Click here to Skip to main content
15,902,779 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat can I do if I want the CEdit box only receive the numbers? Pin
pantao55130-Aug-05 18:02
pantao55130-Aug-05 18:02 
AnswerRe: What can I do if I want the CEdit box only receive the numbers? Pin
Barm30-Aug-05 18:14
Barm30-Aug-05 18:14 
GeneralRe: What can I do if I want the CEdit box only receive the numbers? Pin
pantao55130-Aug-05 19:36
pantao55130-Aug-05 19:36 
Questionhow to delete say some 50 bytes from the begning of the file Pin
pradish30-Aug-05 17:32
pradish30-Aug-05 17:32 
AnswerRe: how to delete say some 50 bytes from the begning of the file Pin
Christian Graus30-Aug-05 17:41
protectorChristian Graus30-Aug-05 17:41 
AnswerRe: how to delete say some 50 bytes from the begning of the file Pin
Garth J Lancaster30-Aug-05 18:36
professionalGarth J Lancaster30-Aug-05 18:36 
AnswerRe: how to delete say some 50 bytes from the begning of the file Pin
John R. Shaw30-Aug-05 21:05
John R. Shaw30-Aug-05 21:05 
Questionerror C2227 Pin
Member 216100430-Aug-05 16:59
Member 216100430-Aug-05 16:59 
Below is apart of my program:
else
{
SktAddr.sin_family=AF_INET;
SktAddr.sin_port=htons(ReadPortNo("[TCP.FLDATA.SRV.COMMUNICATION]"));
SktAddr.sin_addr.s_addr=htonl(INADDR_ANY)

But it have the error below:
error C2227: left of '.sin_family' must point to class/struct/union
error C2227: left of '.sin_port' must point to class/struct/union
error C2227: left of '.sin_addr' must point to class/struct/union
error C2227: left of '.s_addr' must point to class/struct/union

Can teach me how to solve these problem.....
AnswerRe: error C2227 Pin
Christian Graus30-Aug-05 17:10
protectorChristian Graus30-Aug-05 17:10 
GeneralRe: error C2227 Pin
Member 216100430-Aug-05 17:30
Member 216100430-Aug-05 17:30 
GeneralRe: error C2227 Pin
Christian Graus30-Aug-05 17:39
protectorChristian Graus30-Aug-05 17:39 
GeneralRe: error C2227 Pin
30-Aug-05 17:58
suss30-Aug-05 17:58 
GeneralRe: error C2227 Pin
Christian Graus30-Aug-05 18:15
protectorChristian Graus30-Aug-05 18:15 
GeneralRe: error C2227 Pin
Member 216100430-Aug-05 19:48
Member 216100430-Aug-05 19:48 
GeneralRe: error C2227 Pin
Christian Graus1-Sep-05 12:26
protectorChristian Graus1-Sep-05 12:26 
AnswerRe: error C2227 Pin
kakan30-Aug-05 19:10
professionalkakan30-Aug-05 19:10 
General[Msg Deleted] Pin
sunit530-Aug-05 22:17
sunit530-Aug-05 22:17 
GeneralRe: error C2227 Pin
sunit530-Aug-05 22:20
sunit530-Aug-05 22:20 
AnswerRe: error C2227 Pin
ThatsAlok30-Aug-05 20:54
ThatsAlok30-Aug-05 20:54 
QuestionTab view like visual.net Pin
zhangwm30-Aug-05 16:21
zhangwm30-Aug-05 16:21 
AnswerRe: Tab view like visual.net Pin
Christian Graus30-Aug-05 16:29
protectorChristian Graus30-Aug-05 16:29 
GeneralRe: Tab view like visual.net Pin
zhangwm30-Aug-05 17:07
zhangwm30-Aug-05 17:07 
GeneralRe: Tab view like visual.net Pin
Christian Graus30-Aug-05 17:09
protectorChristian Graus30-Aug-05 17:09 
QuestionWriting to an html file with character set euc-jp Pin
babyspidy30-Aug-05 16:19
babyspidy30-Aug-05 16:19 
AnswerRe: Writing to an html file with character set euc-jp Pin
Jose Lamas Rios30-Aug-05 18:45
Jose Lamas Rios30-Aug-05 18:45 

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.