Jump to content

ifdef unigui version


nurettin

Recommended Posts

Hi, we have multiple projects using different versions of unigui (0.99.10 and 0.99.95) we have to transition slowly.

 

Is there a way to determine which unigui version we are building with? I need to set UniServerModule soAllowStressTest flag depending on version.

Link to comment
Share on other sites

  • 2 years later...

Hi all,

I'm also trying to port my projects from release 1.00 to 1.50, and I'm finding many incompatibilities in CSS and JS.

Is there a way to use a conditional compilation to differentiate the code based on the installed UniGUI build ?

Something like:

  { IFDEF UNIGUI1.00}
// old code

  { ELSIF UNIGUI1.50}

// new code
  { ENDIF}

Thanks in advance 

Andrea

Link to comment
Share on other sites

Hi Sherzod, 

the linked post says that it is possible to have 2 different builds of Unigui on two different Delphi installations, and this

would be very interesting. Could you supply installation instructions for such a configuraion ?

But my question was a bit different.

I would like to be able to have one single project, and compile it with two different Unigui builds.

Where necessary, using a conditional define, I would like to compile different statements

in order to be compatible with the compiling version.

Hoping to have been clearer,

thank you

Andrea

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...