Related articles |
---|
using lex in dll wiederke@rummelplatz.uni-mannheim.de (1999-09-05) |
Re: using lex in dll bill@megahits.com (Bill A) (1999-09-10) |
From: | "Bill A" <bill@megahits.com> |
Newsgroups: | comp.compilers |
Date: | 10 Sep 1999 00:09:37 -0400 |
Organization: | Posted via Supernews, http://www.supernews.com |
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!
Bill
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
>Byte.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.