Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Crash in Codjock on x64
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crash in Codjock on x64

 Post Reply Post Reply
Author
Message
Nemok View Drop Down
Newbie
Newbie


Joined: 16 June 2008
Location: Romania
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nemok Quote  Post ReplyReply Direct Link To This Post Topic: Crash in Codjock on x64
    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.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Sven View Drop Down
Senior Member
Senior Member


Joined: 21 August 2003
Location: Germany
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sven Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.