Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 16th, 2005, 09:59 AM
indupriyav
Guest
 
Posts: n/a
Default Win 32 VC++ Implementation doubts !!!

Iam a developer comfortable with basic VC++ environment.Im not aware of the packaging of executables & implementation stuff.

I have a Win 32 Console Application which Im building on Win 2000. It uses the following C API's and string functions
like bsearch, strstr,memset and complex pointer logics.

RegOpenKeyEx
RegQueryValueEx
RegSetValueEx
RegCloseKey
RegCreateKeyEx
CreateFile
GetFileSize
ReadFile
SetFilePointer
WriteFile
CloseHandle
DeleteFile

I have the following questions.

The code is already been built as VC++ 4.0 Win NT exe & its size is 66.5KB. But when I build in VC++ 6.0
Win 2000 its size is 68.0 KB.

1.Can this copy Im buidling in VC++6/Win 2000 run on Win NT. Or will I have any backward compatibility problem.

2.The Win NT and 2000 machines are already running the exe built on VC4.0/Win NT & should be having the neccessary environment.
Is it enough if I just give the Win 2000 exe alone which I build in Release mode?. Since the size is more in Win 2K, will I have any problems ?

Windows and VC++ experts please advice.

Thanks,
Indu

Reply With Quote
  #2 (permalink)  
Old December 16th, 2005, 11:57 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

I strained my mind hard to find out the problem here, without much luck. ALL your applications are
running EVERYWHERE you want them to run. Honestly speaking I like to have such problems all the
time. However, if its all about those extra 1.5 KBs, well, I would say they shouldnt be the source
of your apprehension.

Still if you want a suggestion I would say that VC++ versions shouldnd be much of an issue here.
Usage of APIs, however, would make me feel more comfortable if you just build the app that you wanna
run on 2000 - on 2000 and the one you wanna run on NT - on NT. The one you built on NT should run on
both though.
Do let me know if u think I didnt understand your problem correctly or if you have something else to say on the issue.

Welcome to the forum, and thanks for your contributions here.


Regards
Ankur Verma
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nitepad in win 32 satishsatao C++ Programming 1 April 7th, 2006 03:26 AM
Working with Win 32 Registry pannet1 BOOK: Access 2003 VBA Programmer's Reference 4 April 27th, 2005 03:45 AM
prob:: vc++ ATL COM exe on win xp sachin_dm Visual C++ 1 March 22nd, 2005 08:49 AM
Using win 32 dll in C# abhijeet BOOK: Professional C#, 2nd and 3rd Editions 1 August 23rd, 2003 05:48 AM



All times are GMT -4. The time now is 08:06 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.