Solved

Diff between 16 and 32 bit prog / VC++ DCOM on 95

Posted on 1998-06-12
7
247 Views
Last Modified: 2010-04-01
Hi,
Will any of the gurus out there send a nice note the diff between 16 and 32 between prog. What is the checklist to be followed for porting the application from 16->32 bit platforms.
Does porting from Windows95 to WIN-NT also come under this conversion ?

I have also heard some porting issuesfor Windows95 - Win Nt and vice- versa..  (such as UNICODE and ...)
Will anyone pls give me some info on this platform changing issues as well.
I have a VC++ COM server that works fine on WIN-NT 4.0 . What are the issues I will have to consider if have to make it work on Windows95 as well (Now that DCOM95 pack is also available)
0
Comment
Question by:gianapa
  • 4
  • 2
7 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 1165779
There are several books devoted to this subject.  I recommend you find one or two.  It is WAY to much material to be covered here.  One book I have is "Porting to Win32".
0
 
LVL 1

Accepted Solution

by:
sbartok earned 20 total points
ID: 1165780
For upgrading 16bit mfc stuff you can use the "MFC Porting Utility" which is included somewhere in that microsoft delevoper stuff. i'm going look where it is and tell you.
by the way : i fully agree to what nietod said, you should read a book first ! (he should get the points)
0
 

Author Comment

by:gianapa
ID: 1165781
sbartok,

Will u pls let me know more about the MFC porting Utility..
I want to know of the changes to be made for moving from WINDOWS95 to WINNT in particular..

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Expert Comment

by:sbartok
ID: 1165782
porting util is only for Win16->Win32, for win95->winnt you need to make changes by hand, e.g. example if you use regopenkey you have to look for security properties. in common security is the biggest problem, because you need more errorhandling if (for example:) a guest user tries to do an action which is only allowed by the system administrator.
ok ?
0
 

Author Comment

by:gianapa
ID: 1165783
Thanks for the feedback..
I think I read in 'Inside VC++ by David Kruglinski' about the UNICODE. My VC++ application is an Automation Server. It makes use of macros such as "TCHAR()". I guess macros like these will not work in Win95 !!
Kruglinski has just explained the NT and 95 prog diff in 3/4 page
My application does not do anything with the registry directly.

I need some more details like the UNICODE factor !
Any more details on this UNICODE point would also be appreciated..

0
 
LVL 1

Expert Comment

by:sbartok
ID: 1165784
wow. ok, i'll look for that stuff, but --warning-- could take a bit of time, but i won't forget you.
0
 
LVL 1

Expert Comment

by:sbartok
ID: 1165785
mk:@ivt:dnmfc/s2.HTM

this is the right url, type it in your url field in msdev and read through it. if you don't have the field,  use the infoviewer navigation :
tools and technologies -> mfc migration kit

good luck
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now