Recent

Author Topic: Using MS Word with Lazarus.It's possible ?  (Read 6905 times)

giannidanni

  • Newbie
  • Posts: 3
Using MS Word with Lazarus.It's possible ?
« on: May 14, 2004, 10:34:44 am »
I am developing an win32 application and i need to print a Microsoft Word document.

It's possible to use word with lazarus like in visual basic 6 or in other way?

Gianni




P.S : Thanx to Lazarus's developer for their great work!

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Using MS Word with Lazarus.It's possible ?
« Reply #1 on: May 14, 2004, 11:43:14 am »
The 1.9.x version of fpc supports com interfaces, so it might be possible.
Lazarus has no tools like delphi to import type libraries, so you have to hand code these.

If you are brave you might want to try, but I think it won't be easy.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2582
Using MS Word with Lazarus.It's possible ?
« Reply #2 on: May 18, 2004, 11:08:55 am »
Maybe you can launch Word the same way as when you choose print for a document in the Explorer.

Have a look in your registry at HKEY_CLASSES_ROOT\Word.Document.8\shell\Print\command
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018