Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Product Lifecycle
  3. Free Tools
  4. Inno Setup: {Code:Function} Invalid prototype error

Inno Setup: {Code:Function} Invalid prototype error

Scheduled Pinned Locked Moved Free Tools
windows-adminhelpquestionworkspace
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Igal_Berezovsky
    wrote on last edited by
    #1

    I'm using Inno-Setup for my installation, I'm trying to use the {code} constant and when i compile the code it raises an error "Invalid prototype for 'ACADReg'"? what am I missing here? here is the snippet:

    [Registry]
    Root: HKLM; Subkey: "{code:ACADReg}\{#MyAppName}"; Flags: uninsdeletekey; ValueType: dword; ValueName: "MANAGED"; ValueData: 1;

    [Code]

    var
    AcadAppsRegSubKey: String;

    function ACADReg(): String;
    begin
    Result := AcadAppsRegSubKey;
    end;

    A 1 Reply Last reply
    0
    • I Igal_Berezovsky

      I'm using Inno-Setup for my installation, I'm trying to use the {code} constant and when i compile the code it raises an error "Invalid prototype for 'ACADReg'"? what am I missing here? here is the snippet:

      [Registry]
      Root: HKLM; Subkey: "{code:ACADReg}\{#MyAppName}"; Flags: uninsdeletekey; ValueType: dword; ValueName: "MANAGED"; ValueData: 1;

      [Code]

      var
      AcadAppsRegSubKey: String;

      function ACADReg(): String;
      begin
      Result := AcadAppsRegSubKey;
      end;

      A Offline
      A Offline
      Albert Holguin
      wrote on last edited by
      #2

      Try posting to one of their newsgroups[^]. Not sure how much of a response you'll get at CP, I use InstallShield.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups