PDA

View Full Version : Project Error after 7.7 Update



NewsArchive
04-05-2012, 10:25 AM
Hi Friedrich,

after updating to SB7.7, I can't compile my project anymore. Please see
attached screen shot. My (modified) project is also attached. The 7z
archive is password protected. The password is set to my serial number.

I hope you can help.

Thanks in advance.

Markus

NewsArchive
04-05-2012, 10:26 AM
Hi Markus,

> after updating to SB7.7, I can't compile my project anymore. Please
> see attached screen shot. My (modified) project is also attached.
> The 7z archive is password protected. The password is set to my
> serial number.
>
> I hope you can help.
>
> Thanks in advance.

And this worked in your previous V7.6? I tested it with 7.6 and got the
very same error (see attached screenshot).

Friedrich

NewsArchive
04-05-2012, 10:28 AM
Hi Friedrich,

my last Version was 7.6.3576, you've tested with 7.6.3595. This makes
the difference. With 3576, the project compiles without an error.

Markus

NewsArchive
04-05-2012, 10:29 AM
Hi Markus,

> my last Version was 7.6.3576, you've tested with 7.6.3595. This makes
> the difference. With 3576, the project compiles without an error.

See attached. I have installed and tested 7.6.3576. Same error.

Friedrich

NewsArchive
04-05-2012, 10:30 AM
See attached Screenshot.

Markus Zander

NewsArchive
04-05-2012, 10:31 AM
>
> See attached Screenshot.
>

And here is mine ;-)

Friedrich

NewsArchive
04-05-2012, 10:32 AM
Strange!

What else can we do to find the Problem? Should I send you my
Setupbuiklder installation directory?

Markus

NewsArchive
04-05-2012, 10:32 AM
Markus,

> Strange!
>
> What else can we do to find the Problem? Should I send you my
> Setupbuiklder installation directory?

Just for fun, do a fresh #3576 install on another machine and then unzip the
..z7 archive and recompile. I am sure it will also fail.

If you do not have the install image available, I have uploaded it for you:

http://www.lindersoft.com/sb70/sb76_3576_Dev.exe

Of course, this can't help to fix the problem. But as far as I can see,
this never worked. I have tested it with several builds (7.5.x, 7.6.x and
7.7) and it always failed.

Friedrich

NewsArchive
04-05-2012, 10:33 AM
BTW, I have the following files in the #3576 installation folder (see
attached screenshot).

Friedrich

NewsArchive
04-05-2012, 10:34 AM
Hi Friedrich,

I've tried a fresh 7.6.3576 installation: Error occurs.
I've tried to copy the installation directory from my build machine to
my desktop pc: Error occurs!

I don't know, what the differences is, but I think, it dosn't matter.
The compiler says, that the compiler variables don't exist, but they do
(because they are system compiler variables) and we should try to find
out, why the error occurs and not, why it works with 7.6.3576 on my
build machine...

What do you think?

Markus

NewsArchive
04-05-2012, 10:34 AM
Hi Markus,

> I've tried a fresh 7.6.3576 installation: Error occurs.
> I've tried to copy the installation directory from my build machine to my
> desktop pc: Error occurs!
>
> I don't know, what the differences is, but I think, it dosn't matter. The
> compiler says, that the compiler variables don't exist, but they do
> (because they are system compiler variables) and we should try to find
> out, why the error occurs and not, why it works with 7.6.3576 on my build
> machine...
>
> What do you think?

Yes, the one million dollar question is why do we see this error. As far as
I can see, the "foreeventlog.sbi" include script is processed several times
before that error and all the previous instances did not fail. Perhaps it
has something to do with the contents of the "namespace.ini" file. I don't
know yet.

But as I already mentioned more than a year ago, I am amazed to see that
your "namespace" method works <g>. It's a great method and I am impressed.
But you have a VERY complex project so we have to see if this namespace
"trick" causes negative side effects. This investigation will definitely
take some time.

I have tested your project with 7.2.x, 7.3.x, 7.4.x, 7.5.x, 7.6.x and 7.7
and it NEVER compiled here. So it's definitely not caused by the 7.7 update
per-se.

Friedrich

NewsArchive
04-05-2012, 10:35 AM
Thanks Friedrich. I will switch back to my latest revision (Yes, I'm
holding my SB-Installation-Directory in our SVN) and will wait for your
answer.

Markus

NewsArchive
04-05-2012, 10:36 AM
Markus,

I added a debug #msgbox to the "foreeventlog.sbi" (see attached screenshot)
to check the value of your dynamically created "namespace.ini"

During compilation (and when the #msgbox is displayed), the .ini contains:

---
[L]
1=
current=FORCEEVENTLOG
---

What does it contain in your case (when it succeeds)?

Friedrich

NewsArchive
04-05-2012, 10:36 AM
Hi Markus,

> after updating to SB7.7, I can't compile my project anymore. Please
> see attached screen shot. My (modified) project is also attached.
> The 7z archive is password protected. The password is set to my
> serial number.
>
> I hope you can help.
>
> Thanks in advance.

And I tested it with V7.5. Same error (see attached screenshot).

Friedrich

NewsArchive
04-05-2012, 10:37 AM
As shown in the other part of this thread: It works with 7.6.3576.

Markus

NewsArchive
04-07-2012, 07:32 AM
Hi Markus,

> Thanks Friedrich. I will switch back to my latest revision (Yes, I'm
> holding my SB-Installation-Directory in our SVN) and will wait for your
> answer.

The following in your project causes this. The compiler can't resolve the
value because it points to itself.

Friedrich

NewsArchive
04-07-2012, 07:32 AM
The compiler can catch this up much earlier now.

Friedrich

NewsArchive
04-09-2012, 02:57 AM
Thanks. Friedrich. Then I just have to find out, why my command line
value does not work anymore...

Markus Zander

NewsArchive
04-09-2012, 02:58 AM
> Thanks. Friedrich. Then I just have to find out, why my command line value
> does not work anymore...

Just leave the [PRODUCTVER] field blank in the Product Properties and you
are done!

Then your command line can set the [PRODUCTVER] value.

Friedrich