Hello EveryOne!I got the code through GitHub and compiled it successfully; But run Compil32.exe result is abnormal; The details as follows:
1. Use "Format":
var
FileName, LocalFileName:String;
begin
...
FileName:= '{tmp}\localFile';
LocalFileName := FileName + '.png'; //It's Correct: '{tmp}\localFile.png'
LocalFileName := Format('%s.png', [FileName]); //It's Error: '.png'
end;
2. Use InnoCallback.dll, like this:
type
TEventProc = PROCEDURE(h : HWND);
...
function WrapCallback(Callback : TEventProc; ParamCount : INTEGER) : LONGWORD; EXTERNAL .... STDCALL DELAYLOAD';
...
debugCallback := WrapCallback(@my_func, 1); //It's Error: debugCallback is zero!
Please give me directions!
--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/innosetup/23153e07-d45a-4015-a904-88560395546bn%40googlegroups.com.