thanks jacek for replying!
the C code will be compiled with qt based code.
i want to disply it somewhere.
atleast i need to send the contents of a file to a printer using C code.if u know how to do it please tell me.
vishnu
thanks jacek for replying!
the C code will be compiled with qt based code.
i want to disply it somewhere.
atleast i need to send the contents of a file to a printer using C code.if u know how to do it please tell me.
vishnu
First write a stub of int printf( const char * format, ... ) function and see if you can convince the linker to use it instead of standard printf() (it might not work for libraries). Then you will need a singleton QObject that will emit a signal each time your custom printf() is invoked.
vishnu5 (18th December 2007)
Bookmarks