|
DWOD defines the bit size of the memory being used, PTR is a modifier indicating that we are pointing to a memory location.
The following are defined in x86
BYTE - 8 bits
WORD - 16 bits
DWORD - 32 bits ( double word )
QWORD - 64 bits ( quadruple word )
DQWORD - 128 bits ( double quadruple word )
|
|
|
|
|
Thank a lot all, for your valuable postings.
|
|
|
|
|
//m_wb is WebBorswer AxtiveX
oldproc=(WNDPROC)GetWindowLong(m_wb.m_hWnd,GWL_WNDPROC);
SetWindowLong(m_wb.m_hWnd,GWL_WNDPROC,(LONG)MyProc);
m_wb.Navigate("http://bbs.carsc2c.com",NULL,NULL,NULL,NULL);
LRESULT CALLBACK MyProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam)
{
if(uMsg==WM_RBUTTONDOWN)
return 0;
return CallWindowProc(oldproc,hWnd,uMsg,wParam,lParam);
}
I dont speak eng,Sorry,
No Write!
|
|
|
|
|
Well I can see a code of you but whats problem? can you more explain,please?
|
|
|
|
|
Hi
I have spend 2hr. for serach the USB information artical.But i got only one artical which is showing only USB Device name.Artical is [code]http://www.codeproject.com/KB/system/HwDetect.aspx[^][/code]
But i need more information about USB like how may file is there and it's name also.Can any help me..Becouse i havn't found any artical from net.Plz help me
|
|
|
|
|
If you already know the drive you can just access it as normal drive and search files using
1. FindFirstFile/FindNextFile
2. CFileFind
Can you explain more??
Regards,
Sandip.
|
|
|
|
|
Thx's
may i know which type of explain you want to know from me..
|
|
|
|
|
Davitor wrote: may i know which type of explain you want to know from me..
But i need more information about USB like how may file is there and it's name also.
Quote Selected Text
You want to find how many files and names of those files rite and what all information have to gathered so far??
Regards,
Sandip.
|
|
|
|
|
ok i want find all file which is present in USB and file type may be any type of extension.Right now i haven't got any more information just i read some artical.If you have some good artical then plz help me.
|
|
|
|
|
Davitor wrote: ok i want find all file which is present in USB and file type may be any type of extension.
I assume you have read the article for which you have provided the link. Once you get the Drive for that USB it can be accessed as any other normal drive / folder.
To Get the file information read replies to following post.
Loop through directory[^]
|
|
|
|
|
yes you are right but i am stuck on geting drive name of USB.Plz plz help me to geting drive name of usb..
|
|
|
|
|
I just quickly read article provided by you and i found following line
Well, this is not bad, since at least you will know when an extra "disk" is mounted/unmounted, and you can get the affected drive letter by using the DEV_BROADCAST_VOLUME.dbcv_unitmask.
Regards,
Sandip.
|
|
|
|
|
ok but i am not able to do that so if it is possible then plz help me through some example..
Plz help me
|
|
|
|
|
|
The device will need to be located using the SetupDiXXX() functions to enumerate all instances of the device's interface and get the device path to them. The path can then be passed to CreateFile() . With the handle that CreateFile() returns, ReadFile() can be used.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
ok can you give me some example
|
|
|
|
|
how can i use constent of pi instead of value 3.14
#include<math.h>
M_PI is generating error
M_PI is undefined
|
|
|
|
|
Review your post. What file are you including?
Steve
|
|
|
|
|
i am including
#include "math.h"
and want to use constent pi instead of value 3.14
i am using M_PI
it causes error undefined M_PI
|
|
|
|
|
You could try something like this:
#include <math.h>
const double g_PI = 4*atan(1);
Steve
|
|
|
|
|
So the PI is hidden somewhere else?
system
|
|
|
|
|
I don't think it's got it anywhere. M_PI from math.h is a non-standard extension I believe, and it's not present in MSVC6 (I just looked).
Steve
|
|
|
|
|
#define _USE_MATH_DEFINES
#include <math.h>
modified on Friday, August 8, 2008 9:33 AM
|
|
|
|
|
I have a client/Server program, when clinet add to above 500, Our some computer that client installed have a "TCP/IP stack full" error,and this computer don't Communicate with the outside.
Why have this problem,please help we. thanks!
|
|
|
|
|
for the code block below, if the actual object pointed to by the pointer passed to the function is of class B, the the cast would throw an exception? thanks
class B { };
class C : public B { };
class D : public C { };
void f(D* pd) {
C* pc = dynamic_cast<c*>(pd);
}
----------------------------------------------------------
"unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep" - my daily unix command list
|
|
|
|