|
What iS EAT can anybody Explain
-----------------------------
"I Think It Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
Export Address Table.
this is export section of PE,I wanna hook kernal32's EAT
|
|
|
|
|
I am Sorry Mr Runner,
really i never heard about this type of Thing
-----------------------------
"I Think It Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
|
The last time I checked, the list of exported functions was contained in the .edata section.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
yes, but I need some example,and document,can you help me ?
|
|
|
|
|
Try here.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Thank you, but I read this document yet
|
|
|
|
|
I'm confused. Are you saying that you have already read the article but did not find it useful, or that you did not understand it?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
When i use asin() function it return complex number,plase tell the way to receive this value and use it.
Thank you.
|
|
|
|
|
The asin() function returns the arcsine as a double .
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Hi all,
I'm a newbie in C++ and pointers also. I have two questions that confused my mind.
1. What is the difference between
int a = 25;
int& PtrA = a;
and
int* PtrA = &a;
2. Why these two returns different answers?
int* c = &a;<br />
<br />
cout << "(*c) + 1 is " << (*c) + 1 << endl;<br />
cout << "(*c)++ is " << (*c)++ << endl;
Kind Regards,
-
When in doubt, push a pawn!
-
|
|
|
|
|
I have found my mistake on second question.
It should be
cout << "++(*c) is " << ++(*c) << endl;
in order to get same results.
However, still confused on the first question...
Regards,
-
When in doubt, push a pawn!
-
|
|
|
|
|
1a. (int &PtrA = a;) In this case "PtrA" is a reference to "a"... sort of like saying they are one in the same. use PtrA in exactly the same way as you would "a". Only thing is that changes to "PtrA" effects "a" and vise versa.
example:
cout << a;
cout << PtrA; // both output the same value.
cout << &a;
cout << &PtrA; // both output the same address.
PtrA = 10; // after this statement both a and PtrA equals 10.
a = 15; // after this statement, both a and PtrA equals 15.
1b. (int *PtrA = &a;) "PtrA" in this case is a pointer to "a." Almost the same as references except in the way you use them.
PtrA // gives the addess of "a"
*PtrA // gives the value of "a"
as opposed to references where
PtrA // gives the value of "a"
&PtrA // gives the address of "a"
cout << *PtrA;
cout << a; //both output the same value.
cout << PtrA;
cout << &a; // both output the same address.
*PtrA = 10; //after this statment both a and *PtrA equals 10
a = 15; // after this statment both a and *PtrA equals 15
2. (*c)+1 adds one to the value of *c first then prints it but it doesn't store the value.
(*c)++ is post incrementing...so it uses value of *c first and then it adds one after the statement. Incrementing also stores the value back into *c. When you use x++ its like saying x = x + 1. So in your case it would be *c = c*+1.
you could use pre increment ++(*c). In this case it increments first and then uses the value. Stores it also...
Hope that wasn't too confusing...=)
|
|
|
|
|
Hi Mandroid,
Your explanation solved lots of confused parts about pointers in my mind, thank you. Nonetheless, I stuck on some point we can get the Address of Pointer by typing &Pointer but how can we get the Address of Reference? I mean the place that Reference is stored in memory?
Regards,
-
When in doubt, push a pawn!
-
|
|
|
|
|
Thats a good question. The answer is you can't! The compiler does some nifty stuff underneath it all as to how its implemented and stored, but as far as you are concerned you can't get the actual address of the reference. Unlike pointers, there is no command in C++ that returns the physical PHYSICAL address of a reference. To you, the reference and the referent should just be aliases for the same place in memory. Hope that helps...
|
|
|
|
|
Thanks for your rapid and kind help...
-
When in doubt, push a pawn!
-
|
|
|
|
|
There are few articles about registries but I could not find what I wanted.
I am trying to read a registry that I do not know what the name is. let me explain.
When an application is installed, it createds a registry name (?) based on the user entry however, this registry always contains a key called TIME (\SOFTWARE\MYREG\?\TIME). The TIME key contains values that I want to red.
How do I query/Read all keys under MYREG?
Thankx in advanced.
|
|
|
|
|
I think you like this---
The RegEnumKeyEx function enumerates subkeys of the specified open registry key. The function retrieves information about one subkey each time it is called. <br />
<br />
LONG RegEnumKeyEx(<br />
HKEY hKey,
DWORD dwIndex,
LPTSTR lpName,
LPDWORD lpcName,
LPDWORD lpReserved,
LPTSTR lpClass,
LPDWORD lpcClass,
PFILETIME lpftLastWriteTime
);
-----------------------------
"I Think It Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
help me how to find IP of INTERNET RADIO. thanks
Nho'c Ti`
|
|
|
|
|
connect to it, and do a netstat
in the event that you dont how to do a netstat
Start -> Run Or WindowsKey+R
type "command" (without quotes)
when the console opens type "netstat -an" (without quotes)
or you can make a batch file like i have
FileName: Netstat.bat
@netstat -an>C:\netstat.txt
@start C:\netstat.txt
@exit
|
|
|
|
|
hey guys, I need help in reading a device dependent bitmap from the clipboard and displaying it. this needs to be done using win32. gimme some suggestions on how this can be done. Thanks in advance !
|
|
|
|
|
Call GetClipboardData(CF_BITMAP) or GetClipboardData(CF_DIB). You may want to call IsClipboardFormatAvailable(...) first it see if there is a bitmap available.
HANDLE MyGetClipboardBitmap()
{
HANDLE hClipBitmap = GetClipboardData(CF_BITMAP);
if( hClipBitmap )
{
HANDLE hCopy = MyMakeCopy(hClipBitmap);
return hCopy;
}
return NULL;
}
The above example did not call the OpenClipboard() or CloseClipboard(), which you need to call before trying to get anything from the clipboard.
The "Clipboard Functions" page in the MSDN library is kind of hard to locate, but it is there.
Good Luck!
INTP
|
|
|
|
|
when i try to set the wallpaper using this function i can only set a bitmap, to the best of my knowledge its suposed to work for all formats. anyone have any idea as to why it wont set anything but bitmaps?
note: OS = Win M.E.
if not if you know how to infom the desktop that the registry key has been changed then that would work just as well
|
|
|
|
|
As far as I know, it can only do bmp
<italic>Work hard and a bit of luck is the key to success. You don`t need to be genius, to be rich.
|
|
|
|