|
Thanks WhiteSky....
Regards,
Vinay Charan.
|
|
|
|
|
you're welcome VinayCool
you back with new question and i back with new answer
whitesky
|
|
|
|
|
VinayCool wrote: I want to know how to make installation file for my project, so it will be helpful for me to give a demo.
try INNOSETUP[^] best freeware Installation file maker
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Help CRY
|
|
|
|
|
use Deployment wizard from Visual studio 2003
Cheers
"Peace of mind through Technology"
|
|
|
|
|
Hi, everyone
I use IADsSecurityUtility::GetSecurityDescriptor to get file permission but function is only avaiable in WindowsXP/Windows2003. How do perform it in windows2000?
My problem is not get file permission in windows 2000 (have some other way as GetNamedSecurityInfo, ... in articles of CodeProject), but What is code same as IADsSecurityUtility::GetSecurityDescriptor in windows2000?
Thanks
-----------------
conglt
|
|
|
|
|
Hi everybody,
i have to implement these functions by own definition so can anybody told me where i can get the definition of these function.
Thanks & Regards
rakesh baldha
|
|
|
|
|
|
thanks for ur reply but there is no definition of Findfirstfile and findnextfile method.
actully i have to use these function on MAC plateform but on mac these functions not available so i have to implement these function thats why i want "code" for these functions.
if anybody have idea about these function how to implement on mac please reply me.
Thanks & Regards
rakesh baldha
|
|
|
|
|
Please look in your standard C/C++ library on MAC for any kind of low-level access methods. Sorry!
|
|
|
|
|
I am not able to find the link for standard library of c/C++ On MAC so please forward me link where i can see these library .
Thanks & Regards
rakesh baldha
|
|
|
|
|
Mihai Moga wrote: You could use _tfindfirst[^] and _tfindnext[^]...
Which are just wrappers around FindFirstFile() and FindNextFile() .
"The largest fire starts but with the smallest spark." - David Crow
|
|
|
|
|
Hello friends,
When we go to View->Toolbars menu item of internet explorer, then
we will see names of all toolbars in the menu list like Standard buttons, etc....
when we click for example on Links menu item then links will be removed from IExplorer window and check mark will be also removed. Now i want to perform same functionality from my projet. Means i want to show/remove checkmark only from menu item.
How can i do that.
Please Reply
|
|
|
|
|
HarishDixit wrote: Means i want to show/remove checkmark only from menu item.
look SetMenuItemInfo or CheckMenuItem (Deprecated) Function
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Help CRY
|
|
|
|
|
in Which segment data of the static variable stored.Heap , stack or
code segment
|
|
|
|
|
Krishnatv wrote: in Which segment data of the static variable stored.Heap , stack or
code segment
Look[^] here.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
|
|
what the heck is __stdcall about?
|
|
|
|
|
|
<br />
__cdecl is the default calling convention for C and C++ programs. The advantage of this calling convetion is that it allows functions with a variable number of arguments to be used. The disadvantage is that it creates larger executables. <br />
__stdcall is used to call Win32 API functions. It does not allow functions to have a variable number of arguments. <br />
__fastcall attempts to put arguments in registers, rather than on the stack, thus making function calls faster. <br />
Thiscall calling convention is the default calling convention used by C++ member functions that do not use variable arguments.
What's "variable number of arguments" ?? means Overloaded functions?
And about _fastcall, if it's going to be faster, why not use it for every function we create? can you tell me about , where a particular convention must be used strictly. (yes, I've not gone through the article fully, but if you can explain please do)
|
|
|
|
|
Variable number of arguments:
Think printf, where you can pass one or more arguments, and the format control string determines how many arguments there are (hopefully correctly!).
fastcall wouldn't be suitable for functions that take more than two or three arguments, and in some cases might be slower; there aren't an unlimited number of registers on a 32 bit processor.
Generally, you don't need to specify the calling convention, but in some cases, you do, simply to ensure that the function has the one expected. Good examples are the functions you pass to things like qsort() and _beginthreadex().
Steve S
Developer for hire
|
|
|
|
|
thanks
NULL
|
|
|
|
|
Meat Loaf wrote: What's "variable number of arguments" ?? means Overloaded functions?
You must have used printf , sprintf , fprintf , scanf , sscanf etc. They all take variable number of arguments. Take a look at va_start , va_end , va_arg .
__cdecl calling convention specifies that the caller has to clean up the stack leading to larger executable size. Hence permitting the use of variable number of arguments.
Meat Loaf wrote: __stdcall is used to call Win32 API functions. It does not allow functions to have a variable number of arguments.
Yeah true. For eg: WINAPI , PASCAL are #define d to be __stdcall . This is windows specific. This means the callee has to clean up the stack just before the callee returns hense variable number of arguments cannot be used here.
Meat Loaf wrote: __fastcall attempts to put arguments in registers, rather than on the stack, thus making function calls faster.
Meat Loaf wrote: And about _fastcall, if it's going to be faster, why not use it for every function we create?
Because we have limited number of registers.
Meat Loaf wrote: can you tell me about , where a particular convention must be used strictly.
You have to decide. Where what should be used. __stdcall doesn't permit variable number of arguments hence which calling convention will you use?
Meat Loaf wrote: Thiscall calling convention is the default calling convention used by C++ member functions that do not use variable arguments.
This calling convention allows class member functions to have the implicit this argument.
Meat Loaf wrote: (yes, I've not gone through the article fully
Then please do.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Thanks for ur reply.
|
|
|
|
|