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

Search:

Type: Posts; User: Ralf Schneider

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds; generated 19 minute(s) ago.

  1. Re: CreateProcess failed with ERROR_ACCESS_DENIED

    yes.
  2. Re: CreateProcess failed with ERROR_ACCESS_DENIED

    Hello Arjay,

    all the parameters of cp are in my hands.
    There is nothing that can be influenced by the user.
    The calling app is in the same program-folder as the caller app with absolute path.
  3. Re: CreateProcess failed with ERROR_ACCESS_DENIED

    waiting for an answer from the user....
  4. Re: CreateProcess failed with ERROR_ACCESS_DENIED

    Hello,

    si was initialize exactly like in your snippet.
    pi not, but why?
    pi is an output parameter, it should be filled by CreateProcess.
  5. Re: CreateProcess failed with ERROR_ACCESS_DENIED

    @2kaud:
    my snippet shows only the call.
    I do it with
    if(::CreateProcess(...))
    {
    ..
    }
    else
    {
    // error
  6. Re: CreateProcess failed with ERROR_ACCESS_DENIED

    win10, 64-bit. Sorry.
    It is ::CreateProcess and buffy is the commandline which holds the name of the calling app. The calling app is also from me and creates a new window to show something.
  7. CreateProcess failed with ERROR_ACCESS_DENIED

    Hello,

    big problem:
    on an users system my app's call to CreateProcess failed with ERROR_ACCESS_DENIED.
    What are possible reasons?!
    I have no idea.

    My call:
    ...
  8. Re: How to call CreateProcess and Waitforsingleobject/ MsgWaitForMultipleObjects?

    Hello Igor,

    there is no special communication needed.
    But it will be good if the main app waits until the new app shows its window.
    What is needed for that?

    thx.
  9. Re: How to call CreateProcess and Waitforsingleobject/ MsgWaitForMultipleObjects?

    the new thread creates windows!
    What is the difference to WaitForInputIdle instead of MsgWaitForMultipleObjects?
  10. How to call CreateProcess and Waitforsingleobject/ MsgWaitForMultipleObjects?

    Hello,

    from my main app I want to call another gui-app.
    But what is the correct way?
    Ok, first I need to call CreateProcess.
    But then?
    Do I need to follow it by Waitforsingleobject or...
  11. Re: can not call CDC::StrokePath() twice?!

    Hello Victor,

    I call BeginPath and EndPath. Then StrokePath and again StrokePath. There is not an "open BeginPath". Or do the first call to StrokePath deletes my Path?

    br
    Ralf
  12. can not call CDC::StrokePath() twice?!

    Hello,

    I have a problem with calling StrokePath() twice.
    Code-example:

    ----
    BeginPath()
    ....
    EndPath()
    -Create and select Pen-
  13. How to draw line with 2 alternating colors?

    Hello,

    any ideas?
    How can I create a pen that draws e.g. 4pixel red and then 4pixel blue?

    thx.

    br
    Ralf
  14. Re: How to call correct help context in CDialogbar?

    I do not pass a parameter. It is called by the framework.
  15. How to call correct help context in CDialogbar?

    Hello,

    my problem: pressing the F1-key in a CDialogbar calls WinHelp/HtmlHelp with the wrong help context.
    It is the main help context of the app.
    How can I call HtmlHelp with the help context...
  16. Re: problem floating CDialogbar on multiple screen environment

    Hello,

    I think, this will help me to find a solution:
    http://collaboration.cmc.ec.gc.ca/science/rpn/biblio/ddj/Website/articles/DDJ/1997/9709/9709b/9709b.htm

    I can overwrite EnableDocking and...
  17. problem floating CDialogbar on multiple screen environment

    Hello,

    I have an problem with a CDialogbar if my app runs on a system with two screens (side by side).
    I can not resize it while the CDialogbar is in floating state on the second screen.
    I...
  18. Re: [RESOLVED] Change item height in CListBox / CListCtrl

    I read msdn, but an older version of IsDialogMessage, where WM_GETDLGCODE was not mentioned....
    grgrggr
  19. Re: Change item height in CListBox / CListCtrl

    I found the solution:
    https://groups.google.com/forum/#!topic/borland.public.delphi.vcl.components.writing/1WbnR3dFgVk
  20. Re: Change item height in CListBox / CListCtrl

    PreTranslateMessage is called, if VK_DOWN etc. is stroke.
    and IsDialogMessage says that the WM_KEYDOWN-message has been processed. But where?
  21. Re: Change item height in CListBox / CListCtrl

    yes.
    Now, I checked it with Spy++.
    A WM_KEYDOWN-message was sent to my ctrl-window!
    But no WM_KEYUP-message????
    Maybe this goes to another window?
    If I strike VK_SPACE, I get a WM_KEYDOWN,...
  22. Re: Change item height in CListBox / CListCtrl

    e.g. cursor up/down!
  23. Re: Change item height in CListBox / CListCtrl

    Hello again,

    it has nothing to do with the styles.
    I can use WM_KEYDOWN to detect normal keys.

    How can I detect a keystroke on the cursor keys?
    is it not WM_KEYDOWN?
  24. Re: Change item height in CListBox / CListCtrl

    Hello Victor,

    I am near to the solution.
    I think this problem has to do with the window-styles.
    For the listbox I used the picture control in the dialog editor.
    If I use the edit control, I can...
  25. Re: Change item height in CListBox / CListCtrl

    yes, I set the notify-property for the static-control in the dialog-editor.
    I think, this is the same as SS_NOTIFY?!
    Without this there was also no call to OnLButtonDown().
Results 1 to 25 of 306
Page 1 of 13 1 2 3 4





Click Here to Expand Forum to Full Width

Featured