About Initialize() - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Forum: Plug-Ins (/forumdisplay.php?fid=28) +------ Thread: About Initialize() (/showthread.php?tid=12929) About Initialize() by Whacko on 07-13-2003 at 07:33 PM
Patchou... i hope you're reading this. RE: About Initialize() by Derusc on 07-21-2003 at 04:48 PM I'm agree too RE: About Initialize() by Patchou on 07-21-2003 at 10:50 PM
Well, I have to say I don't understand what you problem is. When you initialize yoru variables, it maybe in a different thread but it's in the same process. Nothing will be destroyed when the thread exits. Can you give me more explanation about the problems your experiencing? (with a code snippet maybe). RE: About Initialize() by Derusc on 07-22-2003 at 07:09 AM
Sorry i thought thread wasn't in the same process. and thread will be destroyed. RE: About Initialize() by Whacko on 07-22-2003 at 09:54 AM Well, Im using delphi for my plugins btw. if i create a form in the Initialize() function, after the function is finished, the form is destroyed. So i cant show it after that anymore, i'd have to create it again. Maybe just a Delphi thing... or me coding really noobish but thats the problem RE: About Initialize() by mrhuge on 07-22-2003 at 10:02 AM
Hmm, it seems like you're coding it like this: code:This way the form will be deleted after Initialize finishes. When you declare frmForm as a global variable, it won't be deleted. RE: About Initialize() by Whacko on 07-22-2003 at 01:14 PM
no code: RE: About Initialize() by mrhuge on 07-22-2003 at 01:21 PM
Have you tried doing code:in stead of code:Maybe that helps. RE: About Initialize() by Whacko on 07-22-2003 at 03:21 PM no i use Application.Createform() cos i want Msgplus to be its creator... else it doesnt show when i use Form.show. RE: About Initialize() by Patchou on 07-22-2003 at 03:33 PM ok I see... well, I'll have to think about a way to go around the problem. Thanks. RE: About Initialize() by Derusc on 07-24-2003 at 07:40 AM Patchou u are great !!!! |