ok found it.
set compiler to 64 bit like here:
http://blogs.msdn.com/b/tolong/ar...-to-build-64-bit-application.aspx
and set correct working directory in properties.
now it works fine (thanks!!)
but i still see small errors in visual studio:
handmade.cpp:
================
internal loaded_bitmap
DEBUGLoadBMP(thread_context *Thread, debug_platform_read_entire_file *ReadEntireFile, char *FileName) { ...
debug_platform_read_entire_file => Error: identifier is undefined
debug_read_file_result => Error: identifier is undefined
... = ReadEntireFile(Thread, FileName);
=> <error-type> *ReadiEntireFile
Error: expression preceding parentheses of apparent call must have (pointer-to-) function type
handmade_platform.h:
==========================
debug_platform_free_file_memory => Error: identifier is undefined
debug_platform_read_entire_file => Error: identifier is undefined
debug_platform_write_entire_file => Error: identifier is undefined