man! i said CString as an example of a class that u dont have its source code; and the RC->go to defenition gives only the public stuff!
Amr Shahin
Posts
-
class structure -
class structurewell ya; i meant that only the object code of the class is available; just like the CString class for example. i dont want to reverse engineer the class, i just want to get its structure, i can get the public interface through the documentation of course, but i wanna know if there is a way to know what are the private stuff in the class, not the implementation, only the type of variables, and segnature in case of functions
-
class structurehello guys is there a way in c++ to analyze a class structure?? i.e: getting the private and public data and functions in the class without having the source code of the class; only the binary !! maybe using the RTTI
-
displaying bitmapsim using the onpaint method; so i guess i should use the double buffered DC; the problem that i dont know what the double buffered DC is !!! :$. i only use regular DC! can u plz tell me how to use a double buffered DC ?? thanks alot
-
displaying bitmapshi everyone im developing an MFC project that(among other things) displays a bitmap directly on the form. the problem is that when i draw a large picture and move the windows several times it stops displaying!! or display a part of the picture. any help ??
-
displaying pictureshi everyone im developing a program that among other things draws images on a form; but im having this little problem when i draw a large image and move the window several times it doesn't display the image or sometimes it displays part of it is there anyway to fix this ?
-
Testing software on windows 2000/NTi dont know if there's an emulator for windows !! but u can install MS virtual machine or any other machine emulator then install whatever OS u want on it and test your software. but to let u know its sooooooo slow!
-
html attributeshi every1 is there a kind of list or sth for html-formatted text attributes ?? or should i be creative and dig for it :'( ??
-
comparing two void* valueshi every1 im writing a code that needs to compare two poitner of type (void *) i dont know how to do that; i tries to use the memcmp function but it requires a length parameter ! thanks already
-
searchable void* containeroh im sorry for this mistake anyway it doesnt really matter if its a c or c++ but for templates they are not compliant with the c++ standard so i think using the void* will be safer!!
-
searchable void* containerhi every1 will u plz help me on this ... im creating a generic container class and im implemeting it using the (void*) pointer technique but to add a search feature, the search function should compare two (void*) variables, i dont know how to do that! i think memcmp could be used somehow but the problem that it needs a length parameter which is now available!! thanks already
-
printing the address of a non static member function of a clssi tried ur code and it gave me the following error: /*********************** test.cpp:13: error: invalid use of non-static member function ‘void cls::f()’ test.cpp:13: error: converting from ‘void (cls::)()’ to ‘void ****************************!!!/ any ideas ??
-
printing the address of a non static member function of a clssthe code u gave me didnt work!! another thing if the compiler always shares the space why would static functions exist in the first place???!!!
-
printing the address of a non static member function of a clsshi everyone im trying to check if my compiler creates a copy of the nonstatic member functions for each object or it just shares the code. to do that i wrote this code: /******************************* #include using namespace std; class cls { public: int f( ) { //cout << (void*)(f) <