Results 1 to 6 of 6

Thread: Unknown declaration "init"?

  1. #1
    Join Date
    Jan 2016
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default Unknown declaration "init"?

    I'm trying to run Davi's powerminer. I've made all the changes in the post to try and get the script working, but now it gives me this error in SimbaEx.simba: Error: Unknown declaration "init" at line 623. I've installed all the libraries required and have the latest plugins too. The associated code where the bug occurs is:

    Code:
    {$loadlib prosocks}
    function PS_GetPage(Url: string): string;
    var
      S: SSLSocket;
      Res: ProMemoryStruct;
    begin
      S.init();
      S.setURLFollow(true);
      S.setURL(URL);
      S.doGet(Res);
      MemMove(Res.Memory^, Result[1], Res.Size);
      S.free;
    end;

  2. #2
    Join Date
    Jun 2012
    Posts
    586
    Mentioned
    112 Post(s)
    Quoted
    296 Post(s)

    Default

    Update your ProSocks plugin.




    Skype: obscuritySRL@outlook.com

  3. #3
    Join Date
    Jan 2016
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    everything is already updated to the latest man

  4. #4
    Join Date
    Dec 2007
    Posts
    289
    Mentioned
    4 Post(s)
    Quoted
    86 Post(s)

    Default

    Quote Originally Posted by brainblips View Post
    everything is already updated to the latest man
    I'd triple check that again! Replace Prosocks.dll found in ./Simba/Plugins/ with the latest .dll found here: https://github.com/Brandon-T/ProSock...5/Prosocks.dll

  5. #5
    Join Date
    Jan 2016
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    lol I literally just updated this morning. I just updated again, and now it works. wtf happened???? I made sure my copy/paste order was correct....

  6. #6
    Join Date
    Dec 2007
    Posts
    289
    Mentioned
    4 Post(s)
    Quoted
    86 Post(s)

    Default

    Quote Originally Posted by brainblips View Post
    lol I literally just updated this morning. I just updated again, and now it works. wtf happened???? I made sure my copy/paste order was correct....
    Glad it's working

    Typical computers... "have you tried turning it on and off again" etc. etc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •