I am using turbo c++ 4.5, and intend to read and write file using win32 API. I've applied CreateFile(), but it shows an error:"Call to undefined function".I think i need Winbase.h file.
Where can i find "WinBase.h".
Page 1 of 14 Replies - 131 Views - Last Post: 11 March 2013 - 05:18 AM
Replies To: Where can i find "WinBase.h".
#2
Re: Where can i find "WinBase.h".
Posted 10 March 2013 - 11:10 PM
At the top of the code write
#define Winbase.h
The compiler should be able to find it for you
#define Winbase.h
The compiler should be able to find it for you
#3
Re: Where can i find "WinBase.h".
Posted 10 March 2013 - 11:36 PM
It shows.
"Error NEW.CPP 6: Define directive needs an identifier"
however, i think its time to change my compiler
"Error NEW.CPP 6: Define directive needs an identifier"
however, i think its time to change my compiler
#4
Re: Where can i find "WinBase.h".
Posted 11 March 2013 - 12:18 AM
Why not try a more up to date IDE? if on a *nix machine, use G++, generally preinstalled, and if on windows, try something more modern like Eclipse, Visual Studio or Code::Blocks
Or: winbase.h
Or: winbase.h
This post has been edited by IngeniousHax: 11 March 2013 - 12:19 AM
#5
Re: Where can i find "WinBase.h".
Posted 11 March 2013 - 05:18 AM
You shouldn't include winbase.h directly. Include Windows.h which will include winbase.h indirectly.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|