Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Japanese Excel 2002 crashes because of CoTaskMemFree, why?

I used VB6 to create an ActiveX control. I used Edauardo Morcillo's OleLib
type library to gain access to OleCreatePropertyFrame, so I could
programmatically pop up the property pages from the control.

However, when this control is used in Excel 2002-SP3 on Windows XP (both
localized with the appropriate Japanese MUI packs), programmatically using
the property pages crashes Excel. I have discovered that this is because
after the call to OleCreatePropertyFrame, I have to free the memory from
ISpecifyPropertyPages.GetPages by using CoTaskMemFree. This call to
CoTaskMemFree crashes ONLY on Japanese Excel 2002.

What might be going on? Thanks for your help.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002: Why occationally crashes upon pasting data ? Mr. Low Excel Discussion (Misc queries) 2 December 31st 08 06:01 PM
Excel 2002 importing file origin is in japanese... Bryan Excel Discussion (Misc queries) 0 March 7th 05 04:59 PM
Excel 2002 crashes Veena New Users to Excel 0 February 16th 05 10:29 AM
Excel 2002 Crashes Veena Excel Programming 0 February 16th 05 10:26 AM
Why Excel 2002 crashes on simplest Workbook_Open events? RADO[_3_] Excel Programming 1 November 8th 03 09:31 PM


All times are GMT +1. The time now is 05:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"