In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Resorces compiling problem

Xailer professional forum in English
Responder
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Resorces compiling problem

Mensaje 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
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Resorces compiling problem

Mensaje 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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Resorces compiling problem

Mensaje 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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Resorces compiling problem

Mensaje 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
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Resorces compiling problem

Mensaje 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
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Resorces compiling problem

Mensaje 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
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Resorces compiling problem

Mensaje 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
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Resorces compiling problem

Mensaje 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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Resorces compiling problem

Mensaje 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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Resorces compiling problem

Mensaje 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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Resorces compiling problem

Mensaje 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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Resorces compiling problem

Mensaje 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
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Resorces compiling problem

Mensaje 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
Responder