On 08/08/13 13:04, Michael Schnell wrote:
> On 08/08/2013 01:42 PM, Lukasz Sokol wrote:
>> i see then, having a chain
>>
>> (callback procedure) -> MyObject.CallbackNotify -> (processing callback
>> data) ->
>> call a function within a form unit that does Application.QueueAsyncCall()
>>
>> is real
On 08/08/2013 01:42 PM, Lukasz Sokol wrote:
i see then, having a chain
(callback procedure) -> MyObject.CallbackNotify -> (processing callback data) ->
call a function within a form unit that does Application.QueueAsyncCall()
is really my best bet then?
I don't see another way.
And I suppose
On 08/08/13 12:50, Henry Vermaak wrote:
> On Thu, Aug 08, 2013 at 12:15:44PM +0100, Lukasz Sokol wrote:
>> but I would then need to make the wrapper object aware of the Application
>> or its forms then?
>>
>> I wanted the wrapper unit to be as self-contained as much as possible,
>> (so the callbac
On Thu, Aug 08, 2013 at 12:15:44PM +0100, Lukasz Sokol wrote:
> but I would then need to make the wrapper object aware of the Application
> or its forms then?
>
> I wanted the wrapper unit to be as self-contained as much as possible,
> (so the callback function is defined in a unit that only has
On 08/08/13 12:31, Michael Schnell wrote:
> On 08/08/2013 01:15 PM, Lukasz Sokol wrote:
>> but I would then need to make the wrapper object aware of the
>> Application or its forms then?
> This is provided by "Runtime Packages" with Delphi.
>
> Lazarus does not support Runtime packages (yet) so yo
On 08/08/2013 01:15 PM, Lukasz Sokol wrote:
but I would then need to make the wrapper object aware of the
Application or its forms then?
This is provided by "Runtime Packages" with Delphi.
Lazarus does not support Runtime packages (yet) so you are quite on your
own to implement something simil
On 08/08/2013 01:07 PM, Lukasz Sokol wrote:
in fact I DO want to be able to call gui-interfacing functions of the
form.
As Henry states, doing GUI calls from a thread is easy by
Application.QueueAsyncCall().
But, AFAIK, the dll does not know the main Form instance and does not
know the App
I retry with 2.6.0 and it seems to work, maybe something's wrong with my
2.6.2 (I forgot how I get it)
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Trunk-compilation-broken-tp5716081p5716089.html
Sent from the Free Pascal - General mailing list archive at Na
On 08/08/13 11:58, Henry Vermaak wrote:
> On Thu, Aug 08, 2013 at 11:34:53AM +0100, Lukasz Sokol wrote:
>> This would be fine, IFF i was adding this to the main form of my
>> application... but I'm not. I'm trying to wrap this .dll in a
>> separate unit, only communicating to the form through a wr
On 08/08/13 11:52, Michael Schnell wrote:
> On 08/08/2013 12:34 PM, Lukasz Sokol wrote:
>> Hello,
>>
>> I am making a Pascal wrapper for a library, which states in its API
>> description:
>>
>> " Note that the Callback function will be called from an
>> independent child thread, not from the Appl
On Thu, Aug 08, 2013 at 11:34:53AM +0100, Lukasz Sokol wrote:
> This would be fine, IFF i was adding this to the main form of my
> application... but I'm not. I'm trying to wrap this .dll in a
> separate unit, only communicating to the form through a wrapper
> object, defined in a separate unit.
On 08/08/2013 12:34 PM, Lukasz Sokol wrote:
Hello,
I am making a Pascal wrapper for a library, which states in its API description:
"
Note that the Callback function will be called from an independent child
thread, not from the Applications Window thread. It should not therefore be
used to dra
Hello,
I am making a Pascal wrapper for a library, which states in its API description:
"
Note that the Callback function will be called from an independent child
thread, not from the Applications Window thread. It should not therefore be
used to draw data directly to a Windows screen. The safes
On 08 Aug 2013, at 10:09, leledumbo wrote:
Just updated to r25228, I can no longer build fpc.
2.6.2 dies with:
/usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -
Fii386
-FE. -FU/media/Sources/lazarus-fpc/fpc/rtl/units/i386-linux -di386 -
dRELEASE
-Us -Sg system.pp
Fatal:
Am 08.08.2013 10:09, schrieb leledumbo:
Just updated to r25228, I can no longer build fpc.
2.6.2 dies with:
/usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386
-FE. -FU/media/Sources/lazarus-fpc/fpc/rtl/units/i386-linux -di386 -dRELEASE
-Us -Sg system.pp
Fatal: Compilatio
Just updated to r25228, I can no longer build fpc.
2.6.2 dies with:
/usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386
-FE. -FU/media/Sources/lazarus-fpc/fpc/rtl/units/i386-linux -di386 -dRELEASE
-Us -Sg system.pp
Fatal: Compilation aborted
An unhandled exception occurred
16 matches
Mail list logo