Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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

 
Old December 16th, 2005, 11:57 AM
Friend of Wrox
 
Join Date: Jun 2003
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





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





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