al_C.2B.2B team-pantheon programmer creators of Rastullahs Lockenpracht haffax OGRE Retired Moderator Posts: 4823 Kudos: 4 Joined: 18 Jun 2004Location: Berlin, Germany WebsiteICQ Top Reply with quote by Falagard » Thu Consider using strcpy_s instead. All rights reserved. Get rid of gets(). Source
Post a reply 21 posts • Page 1 of 1 Reply with quote [UNSOLVED]Cant even get started with OGRE... Im doing a tutorial and i know i dont have windows.h header. Menu 3DBuzz Training Store Forums Blog Sign Up Training Video Library Class Calendar Live Classes Workshops Recent Videos Discipline 2D Design 3D Design Game Dev Mathematics Mobile Dev Photography Programming Video I am writing a class CaptureScreen which will capture the images from the windows. Continued
Advertisement Krezpoz Thread Starter Joined: Nov 21, 2006 Messages: 1 Hi guyz: I've now been programming for almost a year with CodeBlocks and decided to switch to VisualC++ as I joined It took me now 6 work days just to get the glimpse of hpe to get a little nearer. These subjects and code optimization techniques are hard to do without the right tools.
See online help for details. 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string.h(105) : see declaration of 'strcpy' 1>c:\users\user\documents\visual studio 2010\projects\gapt\tests\carsimulation\carsimulati on\rs232.c(266): warning C4996: 'strcpy': This function or variable may be unsafe. You know about JuceAudioPlugin framework, right? So you do not add the correct library types. The speaker speaks in varying tempos with strong american accent (nearly uncomprehensible for a german ) Someties the urls are spelled but not allways, what happens I tried both methods,but now i just get 1>LINK : fatal error LNK1181: cannot open input file 'user32.lib,gdi32.lib,oleaut32.lib,ole32.lib,comdlg32.lib,shell32.lib,winmm.lib,comctl32.lib,rpcrt4.lib,wsock32.lib,odbc32.lib,advapi32.lib'Even with the additional dependencies added.Any help?Thanks.
And the thing that made me really susopicious that there was no successfull compile with any example was shown. Zoran p.s. This site is completely free -- paid for by advertisers and donations. http://www.cplusplus.com/forum/beginner/8067/ haydxn 2005-12-08 21:18:25 UTC #17 Pukeweed: ...
See if the error persists. See online help for details. 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string.h(105) : see declaration of 'strcpy' 1>c:\users\user\documents\visual studio 2010\projects\gapt\tests\carsimulation\carsimulati on\rs232.c(256): warning C4996: 'strcpy': This function or variable may be unsafe. From the File menu, click New Project. When I generate win32 executable (in win32 mode, other computer does not have .NET), it runs on my labtop but not on another pc.
Plus, microsoft got so hyped up in C#, they didn't finish the C++ tools, and left it to rot. http://www.3dbuzz.com/forum/threads/139904-VC-2005-include-lt-windows-h-gt-erorr If I tell any of my customers that I'm sorry, I don't give you this because of download without any explanation whatsoever of anything, they won't be happy with me. you can get rid of the strcpy warnings by adding _CRT_SECURE_NO_WARNINGS to your compiler preprocessor definitions settings. Go to Tools->Options and expand Projects and solutions.
That way, windows.h can't be affected by anything in juce.h. http://simplecoverage.org/visual-c/visual-6-0-c.php V6.0A is for x86. I also downloaded the Windows Platform SDK (the small one, not the big one) PSDK-x86.exe (1.26 MB) and ran that and installed to the default directory. I then started Visual fatal error 1083: windows.h no such file or directory I guess there was a problem in the installation process I used this header in my code #include
General JUCE discussion heureka 2005-11-30 22:52:58 UTC #1 Hi, I followed the advice from another thread to install the direct sound sdk in order to be able to compile Juce using Thursday, June 21, 2007 1:21 PM Reply | Quote 0 Sign in to vote I came to the same conclusion. user32.libgdi32.liboleaut32.libole32.libcomdlg32.libshell32.libwinmm.libcomctl32.librpcrt4.libwsock32.libodbc32.libadvapi32.lib With that I was able to compile the example and debug it! have a peek here Tuesday, May 10, 2005 11:16 PM Reply | Quote 0 Sign in to vote I had a problem where I cant find some major dll's and header files on my NEW
and is this in the include path under: Visual Studio->tools->Options->Projects and Solutions->VC++ directories ? *EDIT* Nevermind. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. Click on the Win32 Template and then give your project a name and click OK.
See online help for details. 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\string.h(105) : see declaration of 'strcpy' 1>c:\users\user\documents\visual studio 2010\projects\gapt\tests\carsimulation\carsimulati on\rs232.c(252): warning C4996: 'strcpy': This function or variable may be unsafe. Please start a New Thread if you're having a similar issue.View our Welcome Guide to learn how to use this site. Click here to join today! the only file of them that uses #include "windows.h" is JuceVSTWrapper.cpp - something you'll learn with a bit of playing is that if you ever need to include windows.h you'll have
The problem with include files as
As Ayman, and many other people, have pointed out you can, if you really want the PSDK, then you can downloadit separately. It seems that over the past 8 months, slowly all my project templates like WIN32, and MFC have gone missing from C++ 2005 Express., including most of the header files from See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, team-pantheon programmer creators of Rastullahs Lockenpracht haffax OGRE Retired Moderator Posts: 4823 Kudos: 4 Joined: 18 Jun 2004Location: Berlin, Germany WebsiteICQ Top Reply with quote by Gudafa » Sun May
One way to pin it down might be to compile the files in your project one by one. Topic archived. stoltzo 2005-12-08 15:13:11 UTC #13 jules: Sorry - I wasn't talking about the order of the include paths - I meant that in your code, you should put the line #include Obviously before I considered buying any product i wanted to try it out.
Still free.) Bottom line: If you have windows.h somewhere in the "Microsoft Visual Studio 8" directory tree, you must make sure that that directory is in the include path. (You must I mean windows.h is one of the main headers that a developper needs to program with VC. Reply With Quote 10-15-2006,01:23 PM #3 kostya92 View Profile View Forum Posts ->Beep<- Join Date Jul 2006 Location Israel Posts 395 if i dont have where can i get it?! After some soul seraching I decided on c++, and visual express c++ seemed a good place to start.
What Visual Studio version are you using? If yes, export current settings and reset all VS settings to default value. To get it running (built) I needed a windows.h file. Also, when I try to compile the above code, I get the following error message: Code: 1>------ Build started: Project: ScreenScraper, Configuration: Debug Win32 ------ 1>Compiling... 1>ScreenScraper.cpp 1>c:\users\simon\documents\visual studio 2005\projects\screenscraper\screenscraper\capturescreen.h(3) :