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

Search:

Type: Posts; User: itsmeash

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: Midterm test

    by itsmeash
    Replies
    3
    Views
    1,486

    Re: Midterm test

    Congrats :)
  2. Replies
    305
    Views
    115,088

    Re: What Movie are you watching Now ??...

    Just Watched "The Social Network" :) , It's pretty average movie..
  3. Thread: /Mt Problem

    by itsmeash
    Replies
    3
    Views
    1,052

    Re: /Mt Problem

    @OReubens.

    The antivirus deletes my application when i build it, At that time i'm not injecting the DLL to any process. That particular application is responsible to inject, but i am not able to...
  4. Thread: /Mt Problem

    by itsmeash
    Replies
    3
    Views
    1,052

    /Mt Problem

    Hello All,

    I've one application which loads a dll into process using VirtualAllocEx, WriteProcessMemory and CreateRemoteThread, Now when the runtime library is selected as "MultiThreaded Debug...
  5. Replies
    2,690
    Views
    1,013,722

    Re: What Song Are You Listening To Now¿

    Alive, Perl Jam
  6. Replies
    305
    Views
    115,088

    Re: What Movie are you watching Now ??...

    Watched "The Other Guys", Refreshing Action comedy :)
  7. Re: Access Denied in Local System Account Service

    Ok, Thanks for your inputs..
  8. Re: Access Denied in Local System Account Service

    No one?
  9. Access Denied in Local System Account Service

    Hello all,

    I have an application which access files on network share, Now the requirement is that instead of application a service should access the files on network share and the service must be...
  10. Re: Directory Info using GetFileInformationByHandleEx

    Yeah i guess that's the only thing i could do now, Was wondering if i could use the FileAttributes or Directory info from FileBasicInfo and FileStandardInfo..

    Thanks anyways :)
  11. Re: Directory Info using GetFileInformationByHandleEx

    FILE_BASIC_INFO behaves same as FileStandardInfo , But that's logical because as soon i (try to ) delete the directory i get the handle of files inside it and FILE_BASIC_INFO and FileStandardInfo...
  12. Re: Directory Info using GetFileInformationByHandleEx

    When i try to delete...




    Cool, Thanks for the explanation OReubens, That make perfect sense... and yes i was using GetFileInformationByHandleEx in wrong way, i was using FileStandardInfo to...
  13. Re: Directory Info using GetFileInformationByHandleEx

    Let me explain the scenario, I have a empty folder say "abcd" in C: drive and a non-empty folder say "efgh" in C: drive which contains a.txt, b.rar

    Now when i access empty folder(i.e try to...
  14. Re: Directory Info using GetFileInformationByHandleEx

    Yes Victor, I tried that also, But it's giving the same result as GetFileInformationByHandleEx...
  15. [RESOLVED] Directory Info using GetFileInformationByHandleEx

    Hello all,

    I hooked NtSetInformationFile to intercept delete call, This is done, Now i have a file which contains name of files and folder need to be protected, Protecting file is no problem as i...
  16. Replies
    5
    Views
    2,292

    Re: Reset dwDesiredAccess

    I think it's done, I don't know if it's ugly...

    I used GetFileInformationByHandleEx to get the truncated file name, GetFileInformationByHandle to get the volume serial number,...
  17. Replies
    5
    Views
    2,292

    Re: Reset dwDesiredAccess

    The number is coming like -53476234 , 393765 etc
  18. Replies
    5
    Views
    2,292

    Re: Reset dwDesiredAccess

    As GetFileInformationByHandleEx won't give me the device name, I'm using GetFileInformationByHandle to get the volume number and hopefully compare the number with drive manually.. But the...
  19. Replies
    5
    Views
    2,292

    Reset dwDesiredAccess

    Hello all,

    I am detecting deletion of files on the system and to do this i am hooking the NtSetInformationFile function. this gets passed to it the file handle, and from this i need the file name....
  20. Replies
    9
    Views
    2,080

    Re: OutPutDebugStringW Issue

    Yeah, that could be a problem, All i have the FileHandle which i got from NtSetInformationFile whenever user access the file (Try to delete to be specific).

    So for that i need "/Device/Volume/"...
  21. Replies
    9
    Views
    2,080

    Re: OutPutDebugStringW Issue

    It always give C:\, No matter where the file is (D, E, F)...
  22. Replies
    9
    Views
    2,080

    Re: OutPutDebugStringW Issue

    I get the FileHandle from NtSetInformationFile...
  23. Replies
    9
    Views
    2,080

    Re: OutPutDebugStringW Issue

    Silly Mistake, There shouldn't be & in pFileInfo.. Thanks

    How do i get the real path? pFileInfo->FileName gives me "\sample\a.txt"and i need "C:\sample\a.txt"
  24. Replies
    9
    Views
    2,080

    Re: OutPutDebugStringW Issue

    Just when it call OutPutDebugString.




    I do..

    HeapFree(GetProcessHeap(), 0, pFileNameInfo);
  25. Replies
    9
    Views
    2,080

    OutPutDebugStringW Issue

    Hello all,

    I'm trying to print the filename to Dbgview which i receive from GetFileInformationByHandleEx, But it's getting crashed every time..



    PFILE_NAME_INFO pFileNameInfo;
    DWORD...
Results 1 to 25 of 106
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured