How to identify read only functions in a dll? What is meant by read only in this case?
Joanne Neal
Rancher
Joined: Aug 05, 2005
Posts: 3011
9
posted
0
If you don't know what a read only function is, why do you want to find them ? If this is something you've been asked to do, then you should ask for clarification from whoever set you the assignment.
Joanne
Sharmilily Sha
Greenhorn
Joined: Feb 17, 2012
Posts: 11
posted
1
Oh if you dont know what it is, no one is asking you to reply here please donot reply for my posts if you can do so.
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32654
4
posted
0
Joanne Neal wrote:If you don't know what a read only function is, why do you want to find them ? If this is something you've been asked to do, then you should ask for clarification from whoever set you the assignment.
There is nothing wrong with what Joanne said there. I think your reply was less than polite, and less than grateful, to somebody who was simply trying to help.
Are you looking for C++ functions that have the "const" modifier? The Dependency Walker can show you the functions exported by a DLL, but it doesn't list the functions designated as const. I suspect that const is a compiler directive, and once the compiler has verified that the functions doesn't change the object, it drops that attribute (mainly because noone else needs to know).
Hey that was nice to get a point of view from you. Thanks a lot for the same Peter
Sharmilily Sha
Greenhorn
Joined: Feb 17, 2012
Posts: 11
posted
0
There is nothing wrong with what Joanne said there. I think your reply was less than polite, and less than grateful, to somebody who was simply trying to help.
Oh really? I am sorry man that didnt reallty help solving the problem here ...