Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

Cvaji

@Cvaji
About
Posts
46
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to add Publisher name for an application
    C Cvaji

    OK. I got it. Cheerz!!! http://haishibai.blogspot.com/2010_01_01_archive.html[^]

    C / C++ / MFC csharp c++ visual-studio tutorial

  • How to add Publisher name for an application
    C Cvaji

    Hi all, Please let me know how to give the publisher name to my sample MFC application. Currently it is displaying "Unknown" when i try to start it. I am using Visual Studio 2008. To see the publisher name -> Run an application as administrator in windows 7 machine and check the UAC dialog. -Cvaji

    C / C++ / MFC csharp c++ visual-studio tutorial

  • Add Publisher name to my application
    C Cvaji

    Hi all, Please let me know how to give the publisher name to my sample MFC application. Currently it is displaying "Unknown" when i try to start it. I am using Visual Studio 2008. To see the publisher name -> Run an application as administrator in windows 7 machine and check the UAC dialog. -Cvaji

    ATL / WTL / STL csharp c++ visual-studio tutorial

  • Number of process in Session 0
    C Cvaji

    Its not interacting with any DB. "95 processes are started and 96th is not getting started." Is that related to antivirus? That means antivirus will allow 95 processes and will restrict up to 95?

    C / C++ / MFC sysadmin windows-admin

  • Number of process in Session 0
    C Cvaji

    All process are same. Why do you say, no to do it????

    C / C++ / MFC sysadmin windows-admin

  • Number of process in Session 0
    C Cvaji

    Hai All, I am creating 200 process simultaneously from another process which is running as service in Windows server 2008 R2 machine. But only 95-100 process are getting created. After that, the remaining process will be terminated abnormally. Please let me know if there is any limitation in Windows server regarding the number of processes. -Cvaji

    C / C++ / MFC sysadmin windows-admin

  • CreateFile - " file is being used by another process." [modified]
    C Cvaji

    sorry my friend..its just a mistake.. :)

    C / C++ / MFC help

  • CreateFile - " file is being used by another process." [modified]
    C Cvaji

    Even though my application is only doing the file read,

    ::CreateFile( csFileName_i.operator LPCTSTR(), GENERIC_READ, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL );

    this made it work. Strange :confused: :)

    C / C++ / MFC help

  • CreateFile - " file is being used by another process." [modified]
    C Cvaji

    Hi All, I am using CreateFile to open a specific file which will be accessed by multiple instance of same process simultaneously. This time function getting failed and GetLastError() is returning the following error. "The process cannot access the file because it is being used by another process." This is how i called the function

    hFile = ::CreateFile( csFileName_i.operator LPCTSTR(), GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL );
    if( INVALID_HANDLE_VALUE == hFile )
    {
    CString csErr;
    csErr.Format( _T("Failed to open File**** Error code = %d"), GetLastError());
    AfxMessageBox( csErr );
    return bRet;
    }

    I need to open the same file simultaneously by different process. Please help me. -Cvaji

    modified on Thursday, July 15, 2010 9:30 AM

    C / C++ / MFC help

  • _tfopen Error - file is being used by another process.
    C Cvaji

    Hi All, I am using _tfopen to read a specific file which will be accessed by multiple process simultaneously. This time _tfopen function getting failed and GetLastError() is returning the following error. "The process cannot access the file because it is being used by another process." This is how i called the function

    _tfopen( csFileName_i.operator LPCTSTR(), _T( "rb" ))

    I need to open the same file simultaneously by different process. Please help me. -Cvaji

    C / C++ / MFC help

  • How to get A WindowHandle from a process Id
    C Cvaji

    GetWindowThreadProcessId

    what about this?

    C / C++ / MFC tutorial

  • Get System Shutdown notification
    C Cvaji

    I know about WM_QUERYENDSESSION Please tell me whether I can suspend the whole shutdown process when I receives this message and whether I can resume/cancel the shutdown process.

    C / C++ / MFC c++ tutorial question

  • Get System Shutdown notification
    C Cvaji

    Hello all, Please tell me how to get window shutdown notification in my MFC application? -Cvaji

    C / C++ / MFC c++ tutorial question

  • Find the windows
    C Cvaji

    If FindwindowEx was not provided by MS, i would go for your suggestion. :thumbsup:

    C / C++ / MFC help question

  • Find the windows
    C Cvaji

    Wow. Hats off you man :) even though its an ugly method, i congratulate your brilliancy :thumbsup: But I got another method.

    HWND hWnd = ::FindWindow( L"Notepad", 0 );
    hWnd = ::FindWindowEx( 0, hWnd, L"Notepad", 0 );

    -Cvaji

    C / C++ / MFC help question

  • Find the windows
    C Cvaji

    You mean the below code will return the handle for second notepad ? :confused: hWnd = ::FindWindow( 0, L"Untitled - Notepad " ); -Cvaji

    C / C++ / MFC help question

  • Find the windows
    C Cvaji

    If there is no other simple way, i have to go with this option. Thank you for the reply.

    C / C++ / MFC help question

  • Find the windows
    C Cvaji

    Code-o-mat wrote:

    Maybe try EnumWindows[^].

    But this will enumerate all the top level windows right? I have the window name/window class of my required window. I need to get only that specific windows. -Cvaji

    C / C++ / MFC help question

  • Find the windows
    C Cvaji

    Hello, I want to find the handle of same windows currently opened. E.g: I have started 2 notepads and I want to get handle of both notepads using some windows APIs. I tried FindWindow(). But its only return the first notepad window handle. Any other APIs available for getting the handle of second Window? Please help. -Cvaji

    C / C++ / MFC help question

  • CStdioFile issue! :(
    C Cvaji

    did you try modShareDeny??

    modified on Friday, April 9, 2010 11:37 AM

    C / C++ / MFC help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups