CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: vikuseth

Search: Search took 0.02 seconds.

  1. NetShareEnum (..) winapi not able to remove unnecessary sharefolders

    For getting the share folder name i have been used the following code , here i am able to get the folder names . But the problem what i am facing is along with the share folder created by the user it...
  2. NetShareEnum (..) Winapi Not Able To Remove Unnecessary Sharefolders

    For getting the share folder name i have been used the following code , here i am able to get the folder names . But the problem what i am facing is along with the share folder created by the user it...
  3. Re: need command for list out shared folder in MFC

    Thanks for your reply ..
    But what i found after executing the code given in the link which you have provided is , it gives all the folder which is being linked with the network , But i want...
  4. need command for list out shared folder in MFC

    I need to list out all the shared folders(directory) in the system along with their path . i want a command or an api in MFC, for listing out the shared directories. please help me in this .
  5. Re: Non constant member function being called inside a constant member function

    Thanks . Now i got it .
    whenever we are declaring some member function as constant all the members present inside that function scope will be taken as constant . Like here hello is a constant...
  6. Re: Non constant member function being called inside a constant member function

    Thanks for editing the code .Its really looking good now . I understood something from your post .But one thing i want to know is we have not declared hello as constant (Hello *const hello ) inside...
  7. Non constant member function being called inside a constant member function

    #include <iostream>

    class Hello {
    public:
    void Test() {
    std::cout << "Testing" << std::endl;
    }
    };

    class Hi {
  8. Replies
    5
    Views
    4,903

    Re: Got confused with const_cast

    So constant cast only works for pointer , reference or pointer to datamember ?
  9. Replies
    5
    Views
    4,903

    Re: Got confused with const_cast

    My compiler gives only error message but dont explain it . I am new to c++ . Thats why i have mentioned in my post "Can anyone please explain the conpt i marked as error in the above 2 sample...
  10. Replies
    5
    Views
    4,903

    Got confused with const_cast

    Sample_Program-1

    #include<iostream>
    using namespace std ;

    int main(){
    const int i = 9;
    int *j = const_cast<int*>(&i); //Ok
    int *j = const_cast<int*>(i); //Error
    }
  11. Replies
    4
    Views
    4,668

    Re: Reference with constant modifier

    int nVar = 12;
    int &amp;rVar = nVar ;//Ok
    double &amp;dVar = nVar ;//Error
    const double &amp;cdVar = nVar ;//Ok

    can you please explain Why the 3rd statement is not working where as 4th statement is working...
  12. Replies
    4
    Views
    4,668

    Reference with constant modifier

    double &val = 66.6; //illegal
    const double &val = 66.6; //legal
    I was just doing some demo programs and came through the above concept but not able to identify what exactly the need of the above...
  13. Replies
    3
    Views
    4,446

    Re: Defining a constant datamember

    so shall i take like if it is a static const integral type of data then it can be defined inside .h file . It will not show any linker error . But for others it will show one error . Is it what you...
  14. Replies
    3
    Views
    4,446

    Defining a constant datamember

    Programe #1

    // file.h
    class File
    {
    public:
    static const int var = 9;
    };
    -
  15. Importance of static object in a class and how they are different from general object

    #include "B.h"
    class A
    {
    public :
    A()
    {
    s_b = new B();
    b = new B();
    }
    static B s_b ;
  16. Replies
    4
    Views
    4,018

    Re: Dll issue while launching the application

    I have the screenshot of theerror message ..
    Please FDA .
  17. Replies
    4
    Views
    4,018

    Dll issue while launching the application

    I am using one dll in my application for including the functionality provided by that dll . This dll i am getting after installing one msi . But in my application i have a requirement like if the...
Results 1 to 17 of 17





Click Here to Expand Forum to Full Width

Featured