double funcToGetDriveFreeSpace(LPSTR drive)// give drive name here
CString driveName = drive;
//LPCTSTR DiskDirectory = _T("C:\\"); // directory name
__int64 AvailableBytes; // number of bytes on disk available to the caller
__int64 TotalBytes; // number of bytes on disk
__int64 FreeBytes; // free bytes on disk
DWORD SectorsPerCluster=0; // pointer to sectors per cluster
DWORD BytesPerSector=0; // pointer to bytes per sector
DWORD FreeClusters=0; // pointer to number of free clusters
DWORD TotalClusters=0; // pointer to total number of clusters
See its not clear what you want to achieve. Give more details on what exactly is your goal, and please spare some time in explaining what have you achieved till now and what is required to be achieved. Please be specific in asking about what you want to do , else its all too vague.
I have a multi channel video mixer and want to output the video via HDMI. I started with DirectShow but the latency is like 6 frames. Much too high for what I am doing. Then I moved to DirectX. The problem that instantly surfaced is I dont know when the current frame was sent or when to send the frame. I tried using WaitForVerticalBlank or sensing where the output is but that did not help. Is there a callback I dont know about or some special hook that will allow me to time my output?
High Frequency timer seems to be exteremly inaccurate.
HELP? ideas? Sample code? What I need is something that will allow me to send an interlaced frame of HD video with very low latency. I am trying to use a video board because of its low cost and the fact it should be able to be done.
You can't put in a View class all on it's own, you need some support classes. Hopefully this article has done the job for you. If so, give them a vote and a nice comment.
I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need contract work done, give me a job! http://cv.imcsoft.co.uk/[^]
I have been given a project from my HOD(Head of Dept.) for a software which will list all the computers which are switched ON during class' time, because guys leave their systems running for downloading.
This software will ping all the IP's of students and anyone's IP found working during class's time will be blocked for 2 days as a punishment.
This software will also be having a module for serving files(articles, minor projects,...) of Electronics Dept. to the students. This I will complete with IOCP server.
I wanted to do it multithreaded way also.(just for trying)
I have included all header files but still this error remains
Thats because some header files [^] may not contain any source code. If you would have read the documentation for the IcmpCreateFile Function[^] you might have noticed it mentioning a Iphlpapi.lib file. One way of fixing this linker error is adding:
You could also add the library to the Additional Dependencies section of your project.
in the name of god
hello anyone who is reading
i have a problem please help me:
in the code below is there any way which the class DerivedContainer in every where treat with DrivedMember as m_instance without static_cast?
as i have no well access to net if it is possible please send me the answer to email@example.com or if not also thanks.
in the name of god
hello and thanks for your guide
but my question is that every time we need the m_instance of class DrivedContainer we must use TestFunction as in the main belowthat it is not good way to do this in every initializing;
is there any way to avoid writing TestFunction and casting the m_instance to DrivedMember class object?