Re: Build Inno Setup succeeded, but the running result is abnormal

31 views
Skip to first unread message

Eivind Bakkestuen

unread,
Sep 3, 2022, 5:44:26 PM9/3/22
to inno...@googlegroups.com
//It's Error: '.png' " ?

Please provide the exact error you are seeing?

You are saying that you compiled Inno Setup from source, instead of installing the ready made IS installers?



On Fri, Sep 2, 2022 at 1:39 PM 杨宇 <yangy...@gmail.com> wrote:
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.
Reply all
Reply to author
Forward
0 new messages