You can refer to it. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn_serial.asp Hello World!
twing
Posts
-
serial communication -
why did it thow CFileException::diskFull?The error: when I use the CFile object to write com1(computer seriel port 0) with 270 bytes, the code "pfile->Write(lpchar, 270)" will sometimes throw a CFileException::diskFull exception; Could u tell me why and In what condition the system will throw the exception "CFileException::diskFull", when I am writting a seriel port? Any Suggestions. Thanks. Hello World!
-
Help with Static VariablesPlease check your grammar book. Give your fun some parameters to need! Hello World!
-
dll linkage madnessMaybe char* const RPD_APP_FILE_EXT[] = {".RPD", ".RVR", ".UDO", ".RDO", ".ZRP"}; Hello World!
-
How to get the default size of i/o com buffers?i know to use setupcomm() to set the size of i/o com buffers. but how can i get its default size? Thank u very much! Hello World!
-
Blinking ListControl Itemsyou can try LockWindowUpdate and UnlockWindowUpdate. Hello World!
-
Bitmaps on Static Controls, How to ?You should pick Bitmap Type in Picture properties. Hello World!
-
MDI as SDI app?i suggest two probable ways: First, you can put your saved data into CMainFrame. Then use afxgetMainWnd() to get them needed. Two, you can mark every doc with a label. Then use cdoctemplate to enum every doc and pick up your needing one. How do you feel? Hello World!
-
Please help on how to update my Platform SDK!when i compiled some program, the output in debug show : "You are not using the latest Platform SDK header/library " "files. This may prevent the project from building correctly." failed to compile it. and the origin code is: #ifndef WT_EXECUTEINPERSISTENTIOTHREAD #pragma message("You are not using the latest Platform SDK header/library ") #pragma message("files. This may prevent the project from buildingcorrectly.") #endif could u tell me how to solve my problem and explain what it's in? Thank u! Hello World!
-
Please help! the way using SetBitmap, no memory leak?if so, how to do? i don't want to add many global variables. Could u have some useful way? Thank u! Hello World!
-
Please help! the way using SetBitmap, no memory leak?i learn a little about smart points, but i don't know how to do. could u tell me? Thank u! Hello World!
-
Please help! the way using SetBitmap, no memory leak?I See. Thank u! Please use your head again. if u have another good way, please tell me immediately. Hello World!
-
Please help! the way using SetBitmap, no memory leak?when i use CStatic::SetBitmap, i don't know if memory leaks in my way. could u suggest me a good way out of leaking? Thank u very much! my way: CBitmap* pbmp = new CBitmap(); pbmp->LoadBitmap(someID); pstatic->SetBitmap(*pbmp); delete pbmp; //sometimes the line is ommitted Hello World!
-
how to fix Toolbars areaLook at an example in MSDN! Hello World!
-
characters vectorizable! How to make???Could u tell anything about making matrix or non-matrix characters vectorizable??? Thank u, any way!!! Hello World!
-
Who knows how to get character matrix in win and dos! Please help!do u know how to get character matrix in win and dos? e.g: 1 character matrix is similar to that: 0000x0000 0000x0000 0000x0000 0000x0000 0000x0000 Thank you! Hello World!
-
How to get pixel value in BITMAP?maybe u can try this: unsigned char *px = new unsigned char[bm.bmHeight*bm.bmWidthBytes]; bitmap->GetBitmapBits(bm.bmHeight*bm.bmWidthBytes,px); Hello World!
-
bitblt a bitmap greater than screen resolution, bitmap doesn't display correctlytry on using stretchblt() Hello World!
-
Drag & dropNo CLSID_DragDropHelper,IID_IDropTargetHelper and so on in this article[^] Could u help? Hello World!
-
PreTranslateMessagetry it in PreTranslateMessage() if (pMsg->message == WM_SYSKEYUP) { //do your things; //return your bool; } else return CDialog::PreTranslateMessage(pMsg); Hello World!