Re: using lex in dll

"Bill A" <>
10 Sep 1999 00:09:37 -0400

          From comp.compilers

Related articles
using lex in dll (1999-09-05)
Re: using lex in dll (Bill A) (1999-09-10)
| List of all articles for this month |

From: "Bill A" <>
Newsgroups: comp.compilers
Date: 10 Sep 1999 00:09:37 -0400
Organization: Posted via Supernews,
References: 99-09-010
Keywords: Windows, lex

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

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.