Re: [Lazarus] Graphics unit and DLLs

2009-05-27 Thread Marco van de Voort
On Tue, May 26, 2009 at 11:28:57PM -0400, matt shaffer wrote: Ah ok, thanks for clearing that up For more background info, try to read http://wiki.freepascal.org/packages most notably the part about state and VMTs ___ Lazarus mailing list

[Lazarus] Graphics unit and DLLs

2009-05-26 Thread matt shaffer
So I've been tinkering with DLLs and Lazarus.. and I came across a problem. It won't let me import graphics. If I do uses graphics it says it can't find it. If I include the LCL in the compiler options, it gets an error with other pascal files. If I add graphics as the only compiler option, it'll

Re: [Lazarus] Graphics unit and DLLs

2009-05-26 Thread Mattias Gaertner
On Tue, 26 May 2009 12:14:06 -0400 matt shaffer dazappa.m...@gmail.com wrote: So I've been tinkering with DLLs and Lazarus.. and I came across a problem. It won't let me import graphics. If I do uses graphics it says it can't find it. If I include the LCL in the compiler options, it gets an

Re: [Lazarus] Graphics unit and DLLs

2009-05-26 Thread matt shaffer
Compiler options as in:Project - Compiler options . But on second glance, it doesn't appear that that would help anything. Well what you suggested (Project inspector dependencies) seemed to work. It recognized the graphics unit and let me have a tcanvas variable, and the quick compile worked