Talk:UnTGZ plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
Line 16: Line 16:


I'll try some cast... But I think... is this plugin still supported ? The ID was good, although the source code is CPP only by the name...
I'll try some cast... But I think... is this plugin still supported ? The ID was good, although the source code is CPP only by the name...
EDIT : fixed with changing signature to 
char * _T2A(void *str);
and casting (because of unsupported TCHAR[] to unsigned short*  cast)

Revision as of 15:11, 19 November 2012

My antivirus, Kaspersky thinks this is a trojan. Anyone else getting issues like this?

It should be a false positive; I'm running Norton Antivirus and have a firewall + try to keep Windows patched, so my system is hopefully clean -- the full source is there if you want to compile yourself and verify [the free MS compiler toolkit should work to build it]. Which version? Jeremy


darklogic mirrors appear to be down `71.163.165.64 10:11, 12 May 2007 (PDT) Domain name registration lapsed, now at fdos.org

Error after recompile

How do you compile it Unicode ? If I try to recompile on MSVC9 (Visual 2008) without Unicode charset, it corrupts the command line (certainly bad character interpretation). If I set the Unicode flag for compilation, I have errors like :

Error 1 error C2664: '_T2A' : cannot convert parameter 1 from 'TCHAR [1024]' to 'unsigned short *' c:\program files\unsis\plugins\untgz\untgz.cpp 288

I'll try some cast... But I think... is this plugin still supported ? The ID was good, although the source code is CPP only by the name...

EDIT : fixed with changing signature to

char * _T2A(void *str);

and casting (because of unsupported TCHAR[] to unsigned short* cast)