Ignacio, Jose,
when using a Canon Printer PIXMA IP 4000 and calling Printer:Setup()the debug
windows shows an error message. To localize it I inserted a logdebug() before
and after the line with the Printer:Setup() call.
the code:
LogDebug("line before Printer:Setup()")
lOk:=Printer:Setup()
LogDebug("line after Printer:Setup()")
the error message in the debugger window:
#1: line before Printer:Setup()
#2: HEAP[mwinse.exe]:
#3: Heap block at 0022D648 modified at 0022D72C past requested size of dc
#4: HEAP[mwinse.exe]:
#5: Invalid Address specified to RtlFreeHeap( 00150000, 0022D650 )
#6: line after Printer:Setup()
This error only occurs when the Canon Printer is the default printer
Any idea to work around?
Thanks in advance
Ingo
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.
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.
problem with Printer:Setup()
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
problem with Printer:Setup()
Ingo,
> when using a Canon Printer PIXMA IP 4000 and calling Printer:Setup()the
> debug
> windows shows an error message. To localize it I inserted a logdebug()
> before
> and after the line with the Printer:Setup() call.
>
> the code:
> LogDebug("line before Printer:Setup()")
> lOk:=Printer:Setup()
> LogDebug("line after Printer:Setup()")
>
> the error message in the debugger window:
> #1: line before Printer:Setup()
> #2: HEAP[mwinse.exe]:
> #3: Heap block at 0022D648 modified at 0022D72C past requested size of dc
>
> #4: HEAP[mwinse.exe]:
> #5: Invalid Address specified to RtlFreeHeap( 00150000, 0022D650 )
> #6: line after Printer:Setup()
>
> This error only occurs when the Canon Printer is the default printer
>
> Any idea to work around?
Just ignore it
Those messages are generated directly by the printer driver, via the API
function OutputDebugString(). Xailer's IDE catch them because it becomes a
debugger when executing the program, and all messages generated in the same
process (including DLL and drivers) are catched by it.
However, those messages are shown only when the prorgram is executed from
the IDE. If you run the program alone (like in production environment) you
won't see any message.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
> when using a Canon Printer PIXMA IP 4000 and calling Printer:Setup()the
> debug
> windows shows an error message. To localize it I inserted a logdebug()
> before
> and after the line with the Printer:Setup() call.
>
> the code:
> LogDebug("line before Printer:Setup()")
> lOk:=Printer:Setup()
> LogDebug("line after Printer:Setup()")
>
> the error message in the debugger window:
> #1: line before Printer:Setup()
> #2: HEAP[mwinse.exe]:
> #3: Heap block at 0022D648 modified at 0022D72C past requested size of dc
>
> #4: HEAP[mwinse.exe]:
> #5: Invalid Address specified to RtlFreeHeap( 00150000, 0022D650 )
> #6: line after Printer:Setup()
>
> This error only occurs when the Canon Printer is the default printer
>
> Any idea to work around?
Just ignore it

Those messages are generated directly by the printer driver, via the API
function OutputDebugString(). Xailer's IDE catch them because it becomes a
debugger when executing the program, and all messages generated in the same
process (including DLL and drivers) are catched by it.
However, those messages are shown only when the prorgram is executed from
the IDE. If you run the program alone (like in production environment) you
won't see any message.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
problem with Printer:Setup()
Ingo,
> when using a Canon Printer PIXMA IP 4000 and calling Printer:Setup()the
> debug
> windows shows an error message. To localize it I inserted a logdebug()
> before
> and after the line with the Printer:Setup() call.
>
> the code:
> LogDebug("line before Printer:Setup()")
> lOk:=Printer:Setup()
> LogDebug("line after Printer:Setup()")
>
> the error message in the debugger window:
> #1: line before Printer:Setup()
> #2: HEAP[mwinse.exe]:
> #3: Heap block at 0022D648 modified at 0022D72C past requested size of dc
>
> #4: HEAP[mwinse.exe]:
> #5: Invalid Address specified to RtlFreeHeap( 00150000, 0022D650 )
> #6: line after Printer:Setup()
>
> This error only occurs when the Canon Printer is the default printer
>
> Any idea to work around?
Just ignore it
Those messages are generated directly by the printer driver, via the API
function OutputDebugString(). Xailer's IDE catch them because it becomes a
debugger when executing the program, and all messages generated in the same
process (including DLL and drivers) are catched by it.
However, those messages are shown only when the prorgram is executed from
the IDE. If you run the program alone (like in production environment) you
won't see any message.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
> when using a Canon Printer PIXMA IP 4000 and calling Printer:Setup()the
> debug
> windows shows an error message. To localize it I inserted a logdebug()
> before
> and after the line with the Printer:Setup() call.
>
> the code:
> LogDebug("line before Printer:Setup()")
> lOk:=Printer:Setup()
> LogDebug("line after Printer:Setup()")
>
> the error message in the debugger window:
> #1: line before Printer:Setup()
> #2: HEAP[mwinse.exe]:
> #3: Heap block at 0022D648 modified at 0022D72C past requested size of dc
>
> #4: HEAP[mwinse.exe]:
> #5: Invalid Address specified to RtlFreeHeap( 00150000, 0022D650 )
> #6: line after Printer:Setup()
>
> This error only occurs when the Canon Printer is the default printer
>
> Any idea to work around?
Just ignore it

Those messages are generated directly by the printer driver, via the API
function OutputDebugString(). Xailer's IDE catch them because it becomes a
debugger when executing the program, and all messages generated in the same
process (including DLL and drivers) are catched by it.
However, those messages are shown only when the prorgram is executed from
the IDE. If you run the program alone (like in production environment) you
won't see any message.
--
Regards,
Jose F. Gimenez
http://www.xailer.com