Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 500
  • Last Modified:

Urgent help! Converting VC6 project into VC7.1

I've just converted a VC6 project into VC7.1.
Now it is complaing about the  #include <ATLControls.h> line in one of my headers.
Where can I find this header or what do I have to do to get around this problem? Are ATLControls not used anymore in VC7.1?
0
maloriopolium
Asked:
maloriopolium
  • 5
  • 5
1 Solution
 
mahesh1402Commented:
Whats exact error ? Have you searched your disk for same file ATLControls.h and pathnames for same ?

You may also Look :
http://blogs.msdn.com/adam_nathan/archive/2005/07/15/439342.aspx
Check Moving from 6.0 to 7.1 section.

-MAHESH
0
 
mahesh1402Commented:
try this :

Go to MSDN link :

http://www.microsoft.com/downloads/details.aspx?FamilyID=0f6893cb-ea35-4e74-9443-e5b9174808ba&DisplayLang=en

The Download link on this points to the required download file atl_atlcon.exe . Execute this and the required file ATLControls.h will be extracted. try to put that in your compilers e.g. \Vc7\include directory and check.

-MAHESH
0
 
maloriopoliumAuthor Commented:
Thanks Mahesh,
I'm getting a compile error: d:\Development\Clients\CatVC7\UsmSvr\FltSel.h(8): fatal error C1083: Cannot open include file: 'ATLControls.h': No such file or directory

In VC6, there was a directory in the visual studio package called: C:\Program Files\Microsoft Visual Studio\VC98\ATL\Include which contained the required ATLControls.h. However, in VC7.1, Microsoft seems to have removed or renamed it.
I suspect Microsoft have renamed it to something else (seems unlikely they will remove support for ATL). But I do not know which header to include now. Any ideas?

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
mahesh1402Commented:
Have you tried to dwonload above sample and use header file from thatone ?

-MAHESH
0
 
maloriopoliumAuthor Commented:
No I haven't. I'm a bit hesitant to install it because I don't want it creating unnecessary directories in my program files. Do you know what it will actually install?
0
 
mahesh1402Commented:
Thats ATL sample with src which is  having required file 'ATLControls.h'. You dont need to hesitant because your are downloading that from microsoft's website. You may just keep required header file and delete rest.

-MAHESH
0
 
mahesh1402Commented:
secondly it will not install any executable in your program files it will just extract source files to folder you mention at install time.

-MAHESH
0
 
maloriopoliumAuthor Commented:
Ok I'll give that a try.

Thanks again.
0
 
maloriopoliumAuthor Commented:
That worked.

But I still don't understand why microsoft don't include the AtlControls.h file with VC7.1. Can someone answer that for me?
0
 
Infinity08Commented:
There are several breaking incompatibilities between ATL in VC6 and VC7.1 :

    * between ATL6.0 and ATL7.0 : http://msdn2.microsoft.com/en-us/library/w1sc4t4k(VS.80).aspx
    * between ATL7.0 and ATL7.1 : http://msdn2.microsoft.com/en-us/library/9s5zwk1e(VS.80).aspx

A more general page about porting issues :

        http://blogs.msdn.com/adam_nathan/archive/2005/07/15/439342.aspx

I haven't checked whether your problem is on there, but it might be worth it to check things out ...
0
 
maloriopoliumAuthor Commented:
Hi Infinity08,

Yes I've come across those pages before but they don't say anything about header files such as AtlControls.h
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now