From 9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Fri, 9 Dec 2011 21:12:14 +0000 Subject: More string safety stuff --- Stars45/NPClientWraps.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/NPClientWraps.cpp') diff --git a/Stars45/NPClientWraps.cpp b/Stars45/NPClientWraps.cpp index c1d88d9..8659eec 100644 --- a/Stars45/NPClientWraps.cpp +++ b/Stars45/NPClientWraps.cpp @@ -209,8 +209,8 @@ NPRESULT NPClient_Init( const char* csDLLPath ) SIGNATUREDATA pSignature; SIGNATUREDATA verifySignature; // init the signatures - strcpy(verifySignature.DllSignature, "precise head tracking\n put your head into the game\n now go look around\n\n Copyright EyeControl Technologies"); - strcpy(verifySignature.AppSignature, "hardware camera\n software processing data\n track user movement\n\n Copyright EyeControl Technologies"); + strcpy_s(verifySignature.DllSignature, "precise head tracking\n put your head into the game\n now go look around\n\n Copyright EyeControl Technologies"); + strcpy_s(verifySignature.AppSignature, "hardware camera\n software processing data\n track user movement\n\n Copyright EyeControl Technologies"); // query the dll and compare the results NPRESULT vresult = NP_GetSignature( &pSignature ); if( vresult == NP_OK ) -- cgit v1.1