Link to home
Start Free TrialLog in
Avatar of dvplayltd
dvplayltdFlag for Bulgaria

asked on

How to start VC 6 under Win 7 32 bits?

Hi experts!


I’m professional database programmer with VB6,C# 2008, SQL Server, but totally new to VS C. But now I need to learn it. I have a external device which I should rule using VS C .

I have a follow questions – as I see examples are for VC 6. But I’m under Win 7 32 bit and when I start VS C IDE and try to open project it crash.
1.      What options I have to make VS C 6 working under Win 7? I can’t use Virtual PC as I have external device, may be some other virtual solution which cover full function with external  hardware, but also I need to share some files (I need to create DLL or OCX which to reference in other project under Win 7 and I may need frequently change)
2.      In VS 2008 I have VC++ .  This VC++ demands NET framework? I’m very sure I do not want NET framework to mess in my call to API for this external device. It only can make errors.  My examples are on VC , not in C++ , there big difference, right?
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

VS2008 supports MFC.

Well, to be precise the FREE version of visual studio doesn't, all paid versions do.
Avatar of dvplayltd

ASKER

To AndyAinscow

OK - support MFC, what this mean? Does it this mean that application written in C 2008 will be  same like in C 6 ? What run time will demand to work my final application?

I use paid version of VS 2008.
Sorry, too precise in a way.
MFC is a wrapper for the windows API functions often used in C/C++ projects in visual studio.  It is NOT .net.


There have been changes to make the newer version compiler more compliant with standards but in general older code should work - you might get a number of warnings or a few errors that ought to be rapidly fixed.

I'd really suggest you try to go with the newer VS 2008 rather than VC 6 - if only because of more support for Vista/Win7.
SOLUTION
Avatar of Subrat (C++ windows/Linux)
Subrat (C++ windows/Linux)
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

Hyym. I was able to start example code for C6 in C2008 and on first look it functions well. By the way, this is only call to a DLL, it has not at all windows forms or any other UI.

In fact I need to create a DLL or better ActiveX and to use it with VB6. This is connecting with this question:
https://www.experts-exchange.com/questions/26628783/Manage-VB6-callback-problem-with-external-C-DLL.html

And I read in example comment that do not need MFC
oops. I forget question. Here is:

Then, what run-time files I should deploy on customer computer?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
10x to all.