WinTK - The Windows multi-tool

Discussion in 'MDL Projects and Applications' started by Muerto, Mar 11, 2012.

Thread Status:
Not open for further replies.
  1. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    421
    60
    how many threads did you spawn? jw
     
  2. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,865
    2,143
    60
    #242 Muerto, Mar 12, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Looping ones to refresh data? Just three.

    I used it this way...

    Code:
        Private tAlive As Boolean
    
        Private Sub aThread()
            tAlive = True
            Do While tAlive
                'Do some code
                Thread.Sleep(1000)
                Application.DoEvents()
            Loop
        End Sub
    :)
     
  3. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    421
    60
    #243 PAYMYRENT, Mar 12, 2013
    Last edited by a moderator: Apr 20, 2017
    You should do Private Shared tAlive As Boolean. it makes it thread safe so your other threads can then use the variable


    EDIT:

    and one more thing about the threads... you do not need Application.DoEvents when you have that extra thread. because you dont need to process messages on the thread you call it from because it has no message pump
     
  4. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,865
    2,143
    60
    All my threads have different variables when it comes to the boolean.
     
  5. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    421
    60
    shared doesnt mean you have to use it for everything ... but then again when you do your formclose or exit method you can just set it once and kill all threads at the same time
     
  6. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,865
    2,143
    60
  7. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,865
    2,143
    60
    #248 Muerto, Mar 13, 2013
    Last edited: Mar 13, 2013
    (OP)
    Hey bro,

    1. I forgot about that. Originally there was a reason for it, that will be sorted on the coming weeks (languages will be added). Hence it saying 'Click for Options.'.
    2. Nope, I'll look into it and possibly whip up a solution.
    3. In the Experience Index Dialog? If you rerun WEI it won't automatically refresh, so you'd use that button.
    4. Meh, not really an issue.

    Regards, The Dev.

    Edit: By the way, is the issue still there where if you're in the home tab, holding left mouse click on 'OEM Editor' would not load the UI properly?
     
  8. ItielMaN

    ItielMaN MDL Senior Member

    Apr 30, 2011
    367
    59
    10
    1. When you're ready give me strings to translate. Though it would require a lot of work from your side turning the UI to RTL.
    3. Yeah I got it, but I the icon itself isn't clear to me.

    Meh, did you really think I wouldn't say the issue still exist if it was? :renske:
    That issue was fixed.
     
  9. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    421
    60
    so from what i saw last night. there was no issue with service+ . we consolidated the code and if it fails the program will notify you and continue.
     
  10. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,865
    2,143
    60
    #251 Muerto, Mar 13, 2013
    Last edited: Mar 14, 2013
    (OP)
    This is correct. Plus I wouldn't expect this app to be widely used in a virtual environment.

    Edit: Have spotted a mistake in some code while stopping the Certificate Propagation Service, this has been fixed, expect an update soon.
     
  11. jayblok

    jayblok MDL Guru

    Dec 26, 2010
    3,197
    2,580
    120
    @The Dev,just letting you know that my friends and i love your app,keep up the great work :good3:
     
  12. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,865
    2,143
    60
    Thanks Jay :D
     
  13. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,865
    2,143
    60
    Quick update:

    Sorry about the WinTK thread downtime, there was a bit of a misunderstanding and my thread was locked, but all has been corrected now.

    Regards, The Dev.
     
  14. digitool

    digitool MDL Novice

    Mar 12, 2010
    48
    27
    0
    @The Dev

    very helpful, Thanks for that!
     
  15. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,865
    2,143
    60
    An update is on the way, this will bring error reporting, enhanced admin elevation and bug fixes.
     
  16. Goku07

    Goku07 MDL Novice

    Feb 20, 2013
    7
    1
    0
    Very helpful app Dev! keep up the great work :biggrin:
     
  17. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,460
    421
    60
    Did you figure it out yet? lol :eek:
     
  18. Muerto

    Muerto MDL Debugger

    Mar 7, 2012
    1,865
    2,143
    60
    Yeah, also thanks to PMR for helping with this update :D

    Admin elevation is done, just the error reporter needs sending to the server, as opposed to sending a direct email.