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

Search:

Type: Posts; User: sachinchakote

Search: Search took 0.04 seconds.

  1. Re: CString, CFileFind undeclared error

    use precompiled headers
  2. Replies
    6
    Views
    1,018

    Re: Thread Safe code

    they are in the same library and the library is being used in multithread environment
    Please neglect any memory leak issues in the program ..
    i main concern is
    1. if function is allocating...
  3. Replies
    6
    Views
    1,018

    Thread Safe code

    Is following code a thread safe routine

    callme()
    {
    char* ptr = new char[10];

    strcpy(ptr,"c++");

    callhim(ptr);
  4. Replies
    2
    Views
    886

    C++ variable Scope

    I want to use varibale across multiple files. If the varibale is updated in one file its value should be visible from other file

    how to achieve it ?
    i tried static variable , extern could not...
  5. Replies
    1
    Views
    3,273

    Re: local time to UTC epoch time

    use GetSystemTime()
  6. Re: Need clarifications about Constructors and Destructors

    You need virtual destructor because


    * that usually protects you because most base classes have at least one virtual function.
    and when point to derived object by base pointer deleting this...
  7. Replies
    5
    Views
    1,469

    Re: memset issue

    memset is blind memory set function
    it does not care what data type is stored in the perticular memory location
    so while using the function we have to specify starting address , value to set and...
  8. Re: LINK : fatal error LNK1104: cannot open file "mfc42u.lib"LINK : fatal error

    Just add

    <Installation path......>\Microsoft Visual Studio\VC98\MFC\Lib

    path to options->directories->libs
  9. Replies
    5
    Views
    84,396

    Re: how to create thread in c++

    DWORD WINAPI runThread(LPVOID args)
    {
    int* value = reinterpret_cast<int*>(args);
    printf("\n in thread %d", *value);
    }

    int main()
    {

    DWORD threadId;
  10. Replies
    2
    Views
    713

    Re: SOAP using C++

    Is it Only thru gSoap we can use web services.
    Isnt there any direct support in Win32 programming for web services..
  11. Replies
    7
    Views
    10,199

    Re: How to find Directory Permissions??

    PSID ppsidOwner;
    PSID ppsidGroup;
    PACL ppSacl= NULL;
    PACL pOldDACL = NULL, pNewDACL = NULL;
    PSECURITY_DESCRIPTOR pSD = NULL;


    char read[]="D:\\temp\\read";

    DWORD dwRes =...
  12. Re: Creating a project(Win32API & C++), but need help on design

    1. Could you please elaborate your assignment so that we can decide which language will best suit to the underlying requirement.

    2. About Global Variables:
    If some variable , class, or struct...
  13. Replies
    0
    Views
    1,376

    how to get DACL attributes

    does anyone have an idea about DACL on windows file system
    i used "GetNamedSecurityInfo" for getting the dacl info but every time i get null value for sidOwner , sidGroup, DACL.
    its shows some...
  14. how to get security attributes ( DACL )

    does anyone have an idea about DACL on windows file system
    i used "GetNamedSecurityInfo" for getting the dacl info but every time i get null value for sidOwner , sidGroup, DACL.
    its shows some...
  15. Replies
    7
    Views
    1,601

    Re: Accessing Remote Files

    i am facing the problem and is choosing to transfer files from client machine to server's shared folder.
    so in this we can use normal copyFile API
  16. Replies
    0
    Views
    856

    how to get DACL attributes

    does anyone have an idea about DACL on windows file system
    i used "GetNamedSecurityInfo" for getting the dacl info but every time i get null value for sidOwner , sidGroup, DACL.
    its shows some...
  17. Replies
    7
    Views
    1,601

    Re: Accessing Remote Files

    HI viggy & Mike
    Thanks for your help ..
    me too think that its better to use client server approach for transferring data..
    and there is no much help and documentation on MSDN about it.. :(
    ...
  18. Replies
    0
    Views
    616

    getting list of Mounted Drives

    HI
    Is there any way to know what are the mounted drives on a local machines.

    i Think in a $HOMEDIR/nethood contains symbolic links to all network mounted drives.. IS there any API to find this...
  19. Retrieving target path from Symbolic LInks ( .lnk) files

    HI
    I am using FindFirstFile, FindFirstFile To recursively get all the files from a Folder
    But when it come across a .lnk file which represents a symbolic links . It does not give target file path...
  20. Replies
    7
    Views
    1,601

    Re: Accessing Remote Files

    First of all .. Thanks for your replies..

    Is there any API which with Admin rights can access remote machines unshared . drives..
  21. Replies
    7
    Views
    1,601

    Accessing Remote Files

    Does anyone have an idea about retrieving remote files from one windows machine to another.
    Generally normal c++ api ( FindFirstFile , FindNextFile ) gets local files / directories or remote shared...
Results 1 to 21 of 21





Click Here to Expand Forum to Full Width

Featured