General discussions about Windows issues

windows issues, windows 7 issues, windows vista issues, windows 7 compatibility issues, windows xp issues, windows 7 networking issues, windows 7 sound issues, windows 7 upgrade issues, windows 7 known issues, windows 7 security issues, windows installer issues, windows 7 network issues, windows installer issues xp, windows 7 issues forum, windows 7 usb issues, windows 7 domain issues, windows 7 driver issues, windows 7 wireless issues, windows 7 installation issues, windows 7 64 bit issues, windows 7 update issues

Windows MetaFiles and word for Windows

I developp an application with QuickC for windows, and my application
creates Windows Metafile. Indeed, i thought it was the best way to import
graphics in word for windows. In fact, word for windows does not read
windows metafiles, it reads Aldus Metafile. The difference between Aldus
metafile and the real windows metafile is that in Aldus MetaFile, you have
a 22 bytes header of the following structure :

typedef struct {
DWORD                                   key;
HANDLE                          hmf;
RECT                                            bbox;
WORD                                            inch;
DWORD                                   reserved;
WORD                                            chechsum;

} APMFILEHEADER;

So, my problem is that i don’t know how to fill this header up, and
Microsoft France was not able (i thought they were the first !! ) to
answer me, in order to make my metafiles readable by Word for windows.

Please send me some code or hints to do that .

                                                        thanks

                                                                                                                                Ivan

No Comments




Comments are closed.