I agree with Phil. Automation is completely independent of the language.
There are currently three solutions to do what you want, in FPC/Lazarus.
a - wait for the next full version of FPC. Automation is scheduled to be
included. COM is already available.
b - based on the COM layer, build a Word
Thanks all for your suggestions, I'll look int it.
Bart
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Hello lazarentos,
I've an TTrayIcon instance and need to use the same icon defined in
the Application.Icon.
I've tried:
* TrayIcon.Assign(Application.Icon)
* TrayIcon.LoadFromResourceName(HInstance, 'trayicon'); // Included an
resource file with the icon i want
Both don't worked. No errors, but
Bart,
If you want to see some info on how this sort of Automation document
manipulation is used with actual production software, grab the
SmartDoc.doc document that's pointed to by the Creating a 'Smart'
Document link on this page:
http://www.agry.purdue.edu/mmp/MmpDocs.htm
This
Which operating system, fpc and lazarus versions?
Does the example application work for you? It's in examples/trayicon
and it loads the icon from the LFM (inside the executable)
--
Felipe Monteiro de Carvalho
___
Lazarus mailing list