Pack/unpack files - archive name in dialog

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Pack/unpack files - archive name in dialog

Post by *Lefteous »

When packing a file with a packer plugin the archive name is displayed in the pack dialog.

When using my plugin TotalSQX there is only the first character displayed instead of the whole path. The plugin is Unicode only.

Any ideas?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Probably you're using non-Unicode callback so it finds end of string at the second byte of your path (which is zero byte).

Please check if you're exporting SetProcessDataProcW function:

Code: Select all

void __stdcall SetProcessDataProcW(HANDLE hArcData, tProcessDataProcW pProcessDataProc) {
	TcProcessDataProcW=pProcessDataProc;
}
Post Reply