10-17-2007, 12:48 PM
i'm having a problem with init running for upwards of 10 minutes. i'm even getting a popup that says it's running too long but i haven't made any changes to it.
is there something wrong here?
is there something wrong here?
;Function init runs when QM starts or file is opened.
;It initializes QM extensions and calls function init2.
;If you want to have your own startup code, place it in
;function init2, not here, because this function is in
;shared file System.qml, which is replaced everytime
;when installing new QM version.
def __QM_INIT_BEGIN 1
;Windows declarations
#compile "WinConstants"
#compile "VirtualKeys"
#compile "WinStyles"
#compile "WinMessages"
#compile "WinTypes"
#compile "WinInterfaces"
#compile "WinFunctions"
#compile "MSVCRT"
;typelibs and refs
#compile "References"
;QM declarations
#compile "QmDef"
#compile "QmDll"
#compile "Classes"
#compile "Categories"
;Shows the floating toolbar. If you don't need it, run regedit and create "Toolbar" value in "HKEY_CURRENT_USER\GinDi\QM2\User\Tools" key. Data can be empty or the name of an alternative toolbar.
rget(_s "Toolbar" "\Tools" 0 "\System\Tools\QM toolbar")
if(_s.len) mac _s _hwndqm; err
def __QM_INIT_END 1
;Calls function init2, if exists
#opt err 1
init2
#opt err 0