SetTimer function not found?

Dmitry Olshansky dmitry.olsh at gmail.com
Sat Jun 2 04:09:05 PDT 2012


On 02.06.2012 15:08, Dmitry Olshansky wrote:
> On 02.06.2012 14:55, John Chapman wrote:
>> On Saturday, 2 June 2012 at 10:47:37 UTC, Dmitry Olshansky wrote:
>>> On 02.06.2012 14:35, Kevin Cox wrote:
>>>>
>>>> On Jun 2, 2012 6:33 AM, "John Chapman" <johnch_atms at hotmail.com
>>>> <mailto:johnch_atms at hotmail.com>> wrote:
>>>> >
>>>> > On Saturday, 2 June 2012 at 10:11:02 UTC, Godlike wrote:
>>>> >>
>>>> >> On Saturday, 2 June 2012 at 10:00:07 UTC, Martin Nowak
>>>> wrote:
>>>> >
>>>> > Just add these declarations to the appropriate module:
>>>> >
>>>> > extern(Windows) {
>>>> >
>>>> > alias void function(HWND, uint, uint, uint) TIMERPROC;
>>>
>>> Better check this callback definition - it might be extern(System) or
>>> extern(C).
>>
>> No, it's extern(Windows). And actually it's already defined in
>> core.sys.windows.windows.
>
> Right, which is exactly the same as extern(System) "expands" to on
> windows platform.
>
Ah bleh. I've failed to spot  extern(Windows){ ...}, carry on.


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list