Hi, Hutch

I wrote a DLL in MASM32, I use it this file for to print in a Laser Printer, Matrix and BubleJet, When I use it in Windows95/98 this program print and works very good, but in Windows XP doesn't print, the documents only appears in Spooling list, but that's all.

I saw the NotePad.exe prints without problems, and I opened this file "NotePad.exe" with W32Dasm893 and I saw it use olny functions with "W" like CreateDCW, CreateFontW and StartDocW.

The file GDI32.Inc in \MASM32\INCLUDE directory has not these functions declared into it, also it has not the DEVMODEW declared.

Please help me, because I need to export my programs to WINDOWS XP.


Posted on 2002-05-23 17:12:02 by YunKaX32Bits

The API functions that end with "W" are unicode versions. If you are running an OS version that supports unicode, you can create a full set of include files with the utility l2incW.exe that comes with MASM32.

The examples and library that come with MASM32 are all ANSI so if you want to use full unicode, you will have to start from scratch.


Posted on 2002-05-23 21:17:20 by hutch--
Hello, Hutch

Thank you for your answer, but I need to know, how I can to print in Windows XP without problems like to Windows98, Because my print program in MASM32 has not problems in Windows98, only in Windows XP and I told you about "W" functions because I was thinking in this solutions, but If you know another solutions please let me know which is the correct struture for to print from MASM32 in Windows XP, Because I'm tryed with print examples from Ron's Cornucopia and Test, and these examples aren't work too.

If you want and if you have time, I will send you my DLL and let me know why the program prints in Windows95/98, but not in Windows XP.

I'm using this struture for to print:


Printing Data


Regards and Thank you,
Posted on 2002-05-24 09:31:05 by YunKaX32Bits