Print Page | Close Window

Crash in Codjock on x64

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=11051
Printed Date: 15 November 2025 at 6:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Crash in Codjock on x64
Posted By: Nemok
Subject: Crash in Codjock on x64
Date Posted: 16 June 2008 at 8:52am
Hello,

I am having a problem with Codejock 12
It crashes in this code on ShellExecuteEx:

SHELLEXECUTEINFO sei;
            memset(&sei,0,sizeof(SHELLEXECUTEINFO));
            sei.cbSize = sizeof(SHELLEXECUTEINFO);
            sei.lpFile = strPartition.GetString();
            sei.nShow = SW_SHOW;
            sei.hwnd = GetSafeHwnd();
            sei.fMask = SEE_MASK_UNICODE | SEE_MASK_INVOKEIDLIST | SEE_MASK_FLAG_NO_UI;
            sei.lpVerb = _T("properties");
            ShellExecuteEx(&sei);

It seems to be crashing in xtpskinmanagerapihook.cpp (line 48) in function xtpcomparestringnocase() (after do{)
It only crashes on x64 (Vista, haven't tested on XP yet) and only when the skin is applied. If I remove the skin file it works fine. I am using a skin file and Office 2003 look.
Also it only seems to be crashing when SEE_MASK_INVOKEIDLIST flag is present.

Please help.



Replies:
Posted By: Oleg
Date Posted: 17 June 2008 at 12:57am

Hi,

Just tried in my Vista x64. Works fine :-(
 
What do you have in strPartition ?   try manually set it to some local file:
 
 sei.lpFile = _T("c:\\Windows\\notepad.exe");
 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Sven
Date Posted: 22 June 2008 at 12:29pm
If SEE_MASK_INVOKEIDLIST is set, sei.lpFile must point to an ItemIDList and not to a string.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net