C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old December 7th, 2012, 02:16 AM
harishjoy harishjoy is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 1 harishjoy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 48 sec
Reputation Power: 0
General - Need help for win 7 compatibility

Need help for win 7 compatibility

Hi , I have this code for win xp

`char NotesDir[] = "\\Program Files\\notesw32";
char Fname[] = "C:\\Program Files\\notesw32\\notes.ini";
char Bakname[] = "C:\\Program Files\\notesw32\\notesini.bak";`

But for win 7 , these files will be present in c:\Program Files (x86) folder. How do i make sure my code works for both xp and win 7? Can anyone help me with this? Can an environment variable be used? If so, How do i use it because i have never used it and am new to c programs. Thanks in Advance.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > General - Need help for win 7 compatibility


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap