[Solved] fuzzylite visual c++ strange behavior


I solved problem .
the problem is because addition of windows.h in the file stdafx.h.
in that file there are macro definitions such as min and max that conflict with fuzzylite library.
by adding a #define NOMINMAX before that include problem solved the true way is:

// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently

#pragma once

#include "targetver.h"

#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from     
#define NOMINMAX
#include <windows.h>
#include "fl/Headers.h"

hope this helps others.

solved fuzzylite visual c++ strange behavior