Hello,
I am trying to port my DiskDirExtended plugin to 64 bits but it keeps crashing in the Configure dialog. I stripped it down to figure out what I am doing wrong. It keeps crashing when I try to add an item to ListView.
Here is the VS2010 solution
http://leteckaposta.cz/704190883
Compile it for x64, install DiskDirExtended.wcx64 in TC 8beta (I tried 21 and few betas before that) - assign some extension to it, then start to pack something and click on Configure.
Thank you very much for pointing out what I am doing wrong, I spent quite a few hours with this. I assumed I had to corrupt memory somewhere before adding to ListView, but now I am clueless.
[solved] x64 Listview crashing in Configure dialog
Moderators: Hacker, petermad, Stefan2, white
[solved] x64 Listview crashing in Configure dialog
Last edited by TrePe on 2012-02-26, 21:36 UTC, edited 1 time in total.
I don't know if it can help you in any way, but when I compiled it in VS2008 (I don't have VS2010), it does not crash. After clicking Configure I get settings dialog with "asd" and "asd2" strings in list.
Just wild guess, maybe the crashing has something to do with some project settings? As new vcxproj can't be imported into older VS directly, I had to create new all-defaults one (using File->New->Project from existing code).
Just wild guess, maybe the crashing has something to do with some project settings? As new vcxproj can't be imported into older VS directly, I had to create new all-defaults one (using File->New->Project from existing code).
I once observed an access viloation when porting a 32bit packer plugin to x64 platform. I checked your project settings for Struct Member Alignment (Configuration Properties | C/C++ | Code Generation) compiler option 1 Byte (/Zp1) which caused the crash in my case. Please remove /ZP1 option, change it to Default and try again. I cannot test it right now (on WinXP 32bit).
Last edited by tbeu on 2012-02-27, 18:02 UTC, edited 1 time in total.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
I suggest that Chr. Ghisler adds a comment to the WCX Writer's Reference.hlp, section 64-bit support to not use /ZP1 option as it causes an access violation in the configuration dialog. I am not sure if other plugins (wdx, wfx, wlx) are affected, too.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: