|using lex in dll email@example.com (1999-09-05)|
|Re: using lex in dll firstname.lastname@example.org (Bill A) (1999-09-10)|
|From:||"Bill A" <email@example.com>|
|Date:||10 Sep 1999 00:09:37 -0400|
|Organization:||Posted via Supernews, http://www.supernews.com|
Check for initialized global or static variables. When a DLL is loaded,
they have their initial values because of the load. Thereafter, they have
their previous values. I ported a legacy program to Windows to make it a
DLL and the static variables within functions really got me in trouble!
Torsten Wiederkehr wrote in message 99-09-010...
>I use lex in a dll under WinNT. The firsttime I call the lex-dll,
>everything is alright. The second time, the output file contains 0
Return to the
Search the comp.compilers archives again.