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

Search:

Type: Posts; User: Enrorr

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,389

    Re: Create Process doesn't show any window

    That was just a quick post. I checked the returns and everything's fine.

    I think that shouldn't work on vista/win 7. But I'm just helping a co-worker with some legacy monitoring software that just...
  2. Replies
    6
    Views
    1,389

    Re: Create Process doesn't show any window

    Where am I wrong? I get the app running, it shows the dialog, but it crashes instantly...
  3. Replies
    6
    Views
    1,389

    Create Process doesn't show any window

    Hi there,
    i'm having problems creating a process inside a service, which runs as a user (not LocalSystem).
    The issue is that it creates the process, but without showing the dialog of the...
  4. Replies
    2
    Views
    1,023

    Re: WH_CALLWNDPROCRET hook crash explorer

    Few mistakes in copying and pasting the code from two different version (the old ones when i was dealing with a different hook), there aren't in the original code wich is giving me issues;) .
    BTW...
  5. Replies
    2
    Views
    1,023

    WH_CALLWNDPROCRET hook crash explorer

    I'm trying to intercept the WM_CREATE message by installing WH_CALLWNDPROCRET
    hook for all thread.
    So I load the DLL but whenever I open a new process (that creates at least a window), explorer...
  6. Replies
    17
    Views
    2,576

    Re: Finding the user that owns a process.

    Searchin the forum i got this http://nibuthomas.com/2008/01/08/how-to-get-name-of-owner-of-a-process

    from this thread:...
  7. Re: Handling double click and single click on tray icon

    Yeah I was thinkin of something similar... But i'll follow your suggestion and switch to a "more normal" behaviour
  8. Handling double click and single click on tray icon

    Normally a double left click on a tray icon restore a previously "minimised to tray window", and right click shows a menu.

    My problem is that i would handle a single left click too (I've seen...
  9. Re: Refreshing wireless connection list or force a reconnection programmatically

    Just an update (think could help someone else if experiencing same problem and preventing him to post useless question ;-) )
    The solution may be to use WlanScan or WlanGetAvailableNetworkList, I...
  10. Re: Refreshing wireless connection list or force a reconnection programmatically

    Thank you Alin! (I blame myself cause I should have searched before post)

    I'll post back if I reach a result ;-)
  11. Refreshing wireless connection list or force a reconnection programmatically

    In my school there's a wireless network for all students.
    But I'm experiencing some problems cause my laptop randomly (could happen aften few minutes after connection or few hours) disconnects...
  12. Replies
    1
    Views
    983

    Tips to get logged userName from a Service

    Hi there, me need to get username from a service (talked a lot about it I know).
    Mainly i got three ways:
    - Set the service to accept SERVICE_ACCEPT_SESSIONCHANGE controls, and then:

    ...
  13. Replies
    3
    Views
    598

    Re: Thred Pooling what to use?

    Any that allows me to use the thread start routines (WINAPI DWORD threadFunc (LPVOID param)) without changing or adding lot of code ;)
  14. Replies
    3
    Views
    598

    Thred Pooling what to use?

    Hi there, in my mfc app i got some threads to run, first i was using AfxBeginThread to start each one, but I noticed I could use a permanent pool of threads...

    I found lot of example in CodeGuru...
  15. Re: HandlerEx function and SERVICE_CONTROL_POWEREVENT

    Thank you, I should reached it by myself (me stupid).
    I'll try to define WINVER and _WIN32_WINNT as 0x0600.
    No real vista pc around here for miles ;)
  16. HandlerEx function and SERVICE_CONTROL_POWEREVENT

    I'm experiencing a different behaviour from what is told in the docs:

    In my HandlerEx function of my custom service (registered with RegisterServiceCtrlHandlerEx) when I intercept the control...
  17. Replies
    2
    Views
    3,858

    Re: OpenProcessToken Fails: Access Is Denied

    Hi there, i got pretty the same issue...
    Are there any other privilege to be set? Cause i can't get token from other process even running outside a service...

    Any ideas?

    EDIT: never mind It...
  18. Replies
    25
    Views
    2,657

    Re: Get the folders opened in explorer.exe

    Ok I suppose I got it.

    I think it will be useful to get the text of the ComboBox32 class even if it isn't visible.
    I'll try for now to do it using FindWindowEx, even as I understood your function...
  19. Replies
    25
    Views
    2,657

    Re: Get the folders opened in explorer.exe

    d'oh i totally missed it...
    Thanks for the hint.
  20. Replies
    25
    Views
    2,657

    Re: Get the folders opened in explorer.exe

    I agree it's not common, but i personally found useful.
    Anyway i was just curious how to take infos from other process or windows...
    Do you know any reading about it?
  21. Replies
    25
    Views
    2,657

    Re: Get the folders opened in explorer.exe

    Users need to choose where to copy file.
    As I said (sorry for my bad english), he can choose if to copy in one of the folders already opened in windows explorer if any, or browse for one using a...
  22. Replies
    25
    Views
    2,657

    Re: Get the folders opened in explorer.exe

    I'm not doing this....
    And I'm not gonna open any new window, i just want to get the path from already opened ones.

    The user will have the possibility to choose if doing operation in an already...
  23. Replies
    25
    Views
    2,657

    Re: Get the folders opened in explorer.exe

    Checked in VISTA:
    The mainframe seems to be CabinetWClass.

    So I can go on?^^
  24. Replies
    25
    Views
    2,657

    Re: Get the folders opened in explorer.exe

    Obviously no^^
    After the Vista check we'll know a bit more
  25. Replies
    25
    Views
    2,657

    Re: Get the folders opened in explorer.exe

    In AUTOit forums i found:


    If WinActive("classname=ExploreWClass") _
    Or WinActive("classname=CabinetWClass") Then
    ToolTip("Explorer Window is Active")


    And:
Results 1 to 25 of 43
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center