What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [SOLVED] ChooseFontW causes Messenger crash after closing window

[SOLVED] ChooseFontW causes Messenger crash after closing window
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [?] ChooseFontW causes Messenger crash after closing window
It doesnt crash here. It works nicely.

0510 08/03/09 16:24:09| A custom script window is being created
0510 08/03/09 16:24:09| CInterfaceWindow - Window creation: WndTest
0510 08/03/09 16:24:09| CScriptObjectCustomWnd created. This: 02213e30
0510 08/03/09 16:24:11| CChooseFont - created
0510 08/03/09 16:24:28| CInterfaceWindow - Window destruction: WndTest



HOWEVER, as Matty already stated, the LOGFONT structure's length must be 92 !
code:
var LF = Interop.Allocate(92); //must be 92, see MSDN docs!!!!

This post was edited on 03-09-2008 at 03:35 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-09-2008 03:22 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[SOLVED] ChooseFontW causes Messenger crash after closing window - by Matti on 03-09-2008 at 12:03 PM
RE: [?] ChooseFontW causes Messenger crash after closing window - by matty on 03-09-2008 at 02:11 PM
RE: [?] ChooseFontW causes Messenger crash after closing window - by CookieRevised on 03-09-2008 at 03:22 PM
RE: [?] ChooseFontW causes Messenger crash after closing window - by Matti on 03-09-2008 at 04:17 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On