Página 1 de 1

Resorces compiling problem

Publicado: Mié Ene 31, 2007 6:28 pm
por Ingo Junge-Herrmann

Hi Ignacio and José
I got more and more problems with compiling the resources.
Klicking in the IDE on the button for compiling and starting Xailer shows
the message of linking the application and than the error message below is
shown (translated):
Xailer: resources couldn't be added to the application (32)
starting the application causes the
GPF (Code = c0000005)
TAPPLICATION:GETVERSIONINFO(0)
TAPPLICATION:INITIALIZE(144)
INITAPPLICATION$(32)
The applications size is at this moment only 3.74 MB. The correct builded
app's size is 3.77 MB.
Any idea?
Is it possible that the app is started by Xailer's IDE before the resources
are compiled and linked completely?
Will be there a possibilty building and using resources-DLLs in the near
future?
Thanks in advance
Ingo

--

Attached files

Resorces compiling problem

Publicado: Mié Ene 31, 2007 8:31 pm
por jfgimenez
Ingo,
> I got more and more problems with compiling the resources.
> Klicking in the IDE on the button for compiling and starting Xailer shows
> the message of linking the application and than the error message below is
> shown (translated):
>
> Xailer: resources couldn't be added to the application (32)
Once exe is built by the linker, the IDE adds several other resources to it
(default icon, cursors, version info, etc.). That error message means that
the windows' API resource functions called by the IDE fail to add those
resources, but it's not possible to know the exact reason. In my experience,
most times it's caused due to the .exe is locked by any process; it could be
the own IDE if it's launched by another debugger. It also happens by a bug
in Vista 64 when running 32 bits apps (as this case).
Does it happen always? Or only the second time and succesives you try to
compile? What OS are you using?
> starting the application causes the
> GPF (Code = c0000005)
> TAPPLICATION:GETVERSIONINFO(0)
> TAPPLICATION:INITIALIZE(144)
> INITAPPLICATION$(32)
>
> The applications size is at this moment only 3.74 MB. The correct builded
> app's size is 3.77 MB.
It's caused by the above problem
> Is it possible that the app is started by Xailer's IDE before the
> resources
> are compiled and linked completely?
No, AFAIK
> Will be there a possibilty building and using resources-DLLs in the near
> future?
I'll review it when I have some spare time.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

Resorces compiling problem

Publicado: Mié Ene 31, 2007 8:31 pm
por jfgimenez
Ingo,
> I got more and more problems with compiling the resources.
> Klicking in the IDE on the button for compiling and starting Xailer shows
> the message of linking the application and than the error message below is
> shown (translated):
>
> Xailer: resources couldn't be added to the application (32)
Once exe is built by the linker, the IDE adds several other resources to it
(default icon, cursors, version info, etc.). That error message means that
the windows' API resource functions called by the IDE fail to add those
resources, but it's not possible to know the exact reason. In my experience,
most times it's caused due to the .exe is locked by any process; it could be
the own IDE if it's launched by another debugger. It also happens by a bug
in Vista 64 when running 32 bits apps (as this case).
Does it happen always? Or only the second time and succesives you try to
compile? What OS are you using?
> starting the application causes the
> GPF (Code = c0000005)
> TAPPLICATION:GETVERSIONINFO(0)
> TAPPLICATION:INITIALIZE(144)
> INITAPPLICATION$(32)
>
> The applications size is at this moment only 3.74 MB. The correct builded
> app's size is 3.77 MB.
It's caused by the above problem
> Is it possible that the app is started by Xailer's IDE before the
> resources
> are compiled and linked completely?
No, AFAIK
> Will be there a possibilty building and using resources-DLLs in the near
> future?
I'll review it when I have some spare time.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

Resorces compiling problem

Publicado: Jue Feb 01, 2007 8:29 am
por Ingo Junge-Herrmann
Jose,
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote:
>Ingo,
>
>> I got more and more problems with compiling the resources.
>> Klicking in the IDE on the button for compiling and starting Xailer shows
>> the message of linking the application and than the error message below
is
>> shown (translated):
>>
>> Xailer: resources couldn't be added to the application (32)
>
>Once exe is built by the linker, the IDE adds several other resources to
it
>(default icon, cursors, version info, etc.). That error message means that
>the windows' API resource functions called by the IDE fail to add those
>resources, but it's not possible to know the exact reason. In my experience,
>most times it's caused due to the .exe is locked by any process; it could
be
>the own IDE if it's launched by another debugger. It also happens by a bug
>in Vista 64 when running 32 bits apps (as this case).
>
>Does it happen always? Or only the second time and succesives you try to
>compile? What OS are you using?
>
I'm using XP.
It happens when I changed some code and compile and start it again (F9).
A workaround is to compile and link it first (Strg+F9) then waiting a while
(3 or 4 seconds) after the link process is finished and then starting the
app (F5).
>
>> starting the application causes the
>> GPF (Code = c0000005)
>> TAPPLICATION:GETVERSIONINFO(0)
>> TAPPLICATION:INITIALIZE(144)
>> INITAPPLICATION$(32)
>>
>> The applications size is at this moment only 3.74 MB. The correct builded
>> app's size is 3.77 MB.
>
>It's caused by the above problem
>
>
>> Is it possible that the app is started by Xailer's IDE before the
>> resources
>> are compiled and linked completely?
>
>No, AFAIK
>
>
>> Will be there a possibilty building and using resources-DLLs in the near
>> future?
>
>I'll review it when I have some spare time.
>
>--
>Regards,
>
>Jose F. Gimenez
>http://www.xailer.com
>http://www.xailer.info
>
>
Regards
Ingo

Resorces compiling problem

Publicado: Jue Feb 01, 2007 8:29 am
por Ingo Junge-Herrmann
Jose,
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote:
>Ingo,
>
>> I got more and more problems with compiling the resources.
>> Klicking in the IDE on the button for compiling and starting Xailer shows
>> the message of linking the application and than the error message below
is
>> shown (translated):
>>
>> Xailer: resources couldn't be added to the application (32)
>
>Once exe is built by the linker, the IDE adds several other resources to
it
>(default icon, cursors, version info, etc.). That error message means that
>the windows' API resource functions called by the IDE fail to add those
>resources, but it's not possible to know the exact reason. In my experience,
>most times it's caused due to the .exe is locked by any process; it could
be
>the own IDE if it's launched by another debugger. It also happens by a bug
>in Vista 64 when running 32 bits apps (as this case).
>
>Does it happen always? Or only the second time and succesives you try to
>compile? What OS are you using?
>
I'm using XP.
It happens when I changed some code and compile and start it again (F9).
A workaround is to compile and link it first (Strg+F9) then waiting a while
(3 or 4 seconds) after the link process is finished and then starting the
app (F5).
>
>> starting the application causes the
>> GPF (Code = c0000005)
>> TAPPLICATION:GETVERSIONINFO(0)
>> TAPPLICATION:INITIALIZE(144)
>> INITAPPLICATION$(32)
>>
>> The applications size is at this moment only 3.74 MB. The correct builded
>> app's size is 3.77 MB.
>
>It's caused by the above problem
>
>
>> Is it possible that the app is started by Xailer's IDE before the
>> resources
>> are compiled and linked completely?
>
>No, AFAIK
>
>
>> Will be there a possibilty building and using resources-DLLs in the near
>> future?
>
>I'll review it when I have some spare time.
>
>--
>Regards,
>
>Jose F. Gimenez
>http://www.xailer.com
>http://www.xailer.info
>
>
Regards
Ingo

Resorces compiling problem

Publicado: Jue Feb 01, 2007 10:48 am
por Ingo Junge-Herrmann
Jose,
to complete my last post: it happens after changing and recompiling the code
many times without ending and restarting the IDE.
It is not a significant problem (see the workaround) but I thought it is
better to tell it.
Regards
Ingo

Resorces compiling problem

Publicado: Jue Feb 01, 2007 10:48 am
por Ingo Junge-Herrmann
Jose,
to complete my last post: it happens after changing and recompiling the code
many times without ending and restarting the IDE.
It is not a significant problem (see the workaround) but I thought it is
better to tell it.
Regards
Ingo

Resorces compiling problem

Publicado: Jue Feb 01, 2007 11:17 am
por jfgimenez
Ingo,
> I'm using XP.
> It happens when I changed some code and compile and start it again (F9).
>
>
> A workaround is to compile and link it first (Strg+F9) then waiting a
> while
> (3 or 4 seconds) after the link process is finished and then starting the
> app (F5).
It's really strange. In that case it seems to be any kind of sync problem.
Do you have a dual-core processor? Is your XP patched up to day or is only
SP2?
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

Resorces compiling problem

Publicado: Jue Feb 01, 2007 11:17 am
por jfgimenez
Ingo,
> I'm using XP.
> It happens when I changed some code and compile and start it again (F9).
>
>
> A workaround is to compile and link it first (Strg+F9) then waiting a
> while
> (3 or 4 seconds) after the link process is finished and then starting the
> app (F5).
It's really strange. In that case it seems to be any kind of sync problem.
Do you have a dual-core processor? Is your XP patched up to day or is only
SP2?
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

Resorces compiling problem

Publicado: Jue Feb 01, 2007 11:19 am
por jfgimenez
Ingo,
> to complete my last post: it happens after changing and recompiling the
> code
> many times without ending and restarting the IDE.
Well, then it could be another kind of problem. Please, next time you got
this problem, compile using Shift+F9 to see all linker messages and send
them to me.
Also, check that if exiting the IDE and starting again solves the problem.
> It is not a significant problem (see the workaround) but I thought it is
> better to tell it.
Yes, of course.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

Resorces compiling problem

Publicado: Jue Feb 01, 2007 11:19 am
por jfgimenez
Ingo,
> to complete my last post: it happens after changing and recompiling the
> code
> many times without ending and restarting the IDE.
Well, then it could be another kind of problem. Please, next time you got
this problem, compile using Shift+F9 to see all linker messages and send
them to me.
Also, check that if exiting the IDE and starting again solves the problem.
> It is not a significant problem (see the workaround) but I thought it is
> better to tell it.
Yes, of course.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

Resorces compiling problem

Publicado: Jue Feb 01, 2007 6:19 pm
por Ingo Junge-Herrmann
Jose,
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote:
>Ingo,
>
>> I'm using XP.
>> It happens when I changed some code and compile and start it again (F9).
>>
>>
>> A workaround is to compile and link it first (Strg+F9) then waiting a
>> while
>> (3 or 4 seconds) after the link process is finished and then starting
the
>> app (F5).
>
>It's really strange. In that case it seems to be any kind of sync problem.
>Do you have a dual-core processor?
No
>Is your XP patched up to day or is only
>SP2?
Only SP2.
>
>--
>Regards,
>
>Jose F. Gimenez
>http://www.xailer.com
>http://www.xailer.info
>
Regards
Ingo

Resorces compiling problem

Publicado: Jue Feb 01, 2007 6:19 pm
por Ingo Junge-Herrmann
Jose,
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote:
>Ingo,
>
>> I'm using XP.
>> It happens when I changed some code and compile and start it again (F9).
>>
>>
>> A workaround is to compile and link it first (Strg+F9) then waiting a
>> while
>> (3 or 4 seconds) after the link process is finished and then starting
the
>> app (F5).
>
>It's really strange. In that case it seems to be any kind of sync problem.
>Do you have a dual-core processor?
No
>Is your XP patched up to day or is only
>SP2?
Only SP2.
>
>--
>Regards,
>
>Jose F. Gimenez
>http://www.xailer.com
>http://www.xailer.info
>
Regards
Ingo