Yusuf Motiwala < yusuf@motiwala.org >
Building flex on MSVC does not require any code changes. You only require proper project/workspace files [Download, ~10KB]
Flex-2.5.4\MISC\MSVC\
-Flex
-Flexlib
-InitScan
-TestProject
Test your build by opening TestProject.dsw in MISC/MSVC\TestProject directory. It compiles sample lex file and generates a win32 console application
Using Flex with Microsoft Visual C++ 6.0 and .Net
You need to setup custom build rules to compile your lex files. See TestProject in MISC\MSVC\TestProject directory [right click on example.l, ->Settings]. It compiles sample lex file and generates a win32 console application
I also made a test application which integrates flex with MSVC. Send me an e-mail and I will send you details.
Write me and I will try to help you as far as I can.
==================================================================================================
Yusuf Motiwala < yusuf@motiwala.org >
http://www.geocities.com/ymotiwala//flex.html