Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer in st- or mt dll
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00615249
Message ID:
00615329
Views:
19
Hi!

Probably in the MT DLL it is in some sort of sleeping state until COM object is called. Did you tried to put the Timer object on the hidden form and use it that way? I remember once I have the same problem in the application running without the screen. After I put a timer on teh form, all went ok. I think it is not a bug, but have something relaed to the way Windows events work and processed by VFP.

>I found that timers simply do not seem to work in dll's.
>OK, make an EXE and it works.
>
>The questions are
>
>1. Why is that so? Does it have anything to do with the
> in proc approach?
>
>2. Why no documentation at all; no errors either? You can
> do anything with a timer with the minor drawback that
> it simply does not fire <g>.
>
>Is that a bug, a feature or a thats why?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform