Click here to Skip to main content
15,885,855 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: can be avoided memory dump? Pin
RomTibi4-Dec-07 9:00
RomTibi4-Dec-07 9:00 
AnswerRe: can be avoided memory dump? Pin
Hamid_RT10-Apr-08 7:22
Hamid_RT10-Apr-08 7:22 
QuestionCListCtrl, view type is ICON, how to eliminate the text Pin
followait2-Dec-07 0:51
followait2-Dec-07 0:51 
QuestionGetThumbnailImage, and show it in CListCtrl Pin
followait2-Dec-07 0:27
followait2-Dec-07 0:27 
AnswerRe: GetThumbnailImage, and show it in CListCtrl Pin
followait2-Dec-07 0:47
followait2-Dec-07 0:47 
QuestionHow to add a class to a MFC Application Pin
vjasai2-Dec-07 0:26
vjasai2-Dec-07 0:26 
GeneralRe: How to add a class to a MFC Application Pin
Hamid_RT3-Dec-07 19:24
Hamid_RT3-Dec-07 19:24 
QuestionHigh frequency windows Timing - Parallel Port Pin
szymon791-Dec-07 23:48
szymon791-Dec-07 23:48 
Hi everyone!

Few weeks ago I started to work on private CNC machine project. I’ve done a lot of design work using ProE. Now I am getting into control part. I am using Stepper Motors, which have to be controlled via Parallel Port.



My intent is to make software, which can send impulses on Parallel port pins with desired frequency. I can use Windows built-in timer but it is not enough accurate, I need more than 1000 Hz. For my machine I need something like 45000 Hz or more. I tried to use QueryPerformancecounter using while loop, but it use my CPU a lot. Is there any more accurate timer than 1 ms, which can call Event in windows, like Windows TTimer does? Is it possible to use QueryPerformance Timer or RDTSC, as Event Recalling functions? I am using Visual C++ 2005.


I look forward to your reply.

Best regards

Szymon
AnswerRe: High frequency windows Timing - Parallel Port Pin
Cedric Moonen2-Dec-07 1:35
Cedric Moonen2-Dec-07 1:35 
GeneralRe: High frequency windows Timing - Parallel Port Pin
szymon792-Dec-07 1:59
szymon792-Dec-07 1:59 
Questionconvert bmp to pdf ? Pin
keyto1-Dec-07 22:31
keyto1-Dec-07 22:31 
GeneralRe: convert bmp to pdf ? Pin
bob169723-Dec-07 17:08
bob169723-Dec-07 17:08 
QuestionFree C++ CD Burner Pin
Hadi Dayvary1-Dec-07 20:33
professionalHadi Dayvary1-Dec-07 20:33 
GeneralRe: Free C++ CD Burner Pin
Rajesh R Subramanian4-Jan-08 6:44
professionalRajesh R Subramanian4-Jan-08 6:44 
Questionuse CListCtrl to list thumbnail, using GDI+ Pin
followait1-Dec-07 20:22
followait1-Dec-07 20:22 
AnswerRe: use CListCtrl to list thumbnail, using GDI+ Pin
Mark Salsbery1-Dec-07 20:31
Mark Salsbery1-Dec-07 20:31 
GeneralRe: use CListCtrl to list thumbnail, using GDI+ Pin
followait1-Dec-07 20:34
followait1-Dec-07 20:34 
GeneralRe: use CListCtrl to list thumbnail, using GDI+ Pin
Mark Salsbery1-Dec-07 20:37
Mark Salsbery1-Dec-07 20:37 
GeneralRe: use CListCtrl to list thumbnail, using GDI+ Pin
bob169721-Dec-07 21:17
bob169721-Dec-07 21:17 
GeneralRe: use CListCtrl to list thumbnail, using GDI+ Pin
followait1-Dec-07 23:46
followait1-Dec-07 23:46 
QuestionGDI+ Bitmap::GetHBITMAP error: Pin
followait1-Dec-07 19:45
followait1-Dec-07 19:45 
AnswerRe: GDI+ Bitmap::GetHBITMAP error: Pin
Mark Salsbery1-Dec-07 20:00
Mark Salsbery1-Dec-07 20:00 
GeneralRe: GDI+ Bitmap::GetHBITMAP error: Pin
followait1-Dec-07 20:06
followait1-Dec-07 20:06 
GeneralRe: GDI+ Bitmap::GetHBITMAP error: Pin
Mark Salsbery1-Dec-07 20:09
Mark Salsbery1-Dec-07 20:09 
GeneralRe: GDI+ Bitmap::GetHBITMAP error: Pin
followait1-Dec-07 20:17
followait1-Dec-07 20:17 

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.