Any changes in CAdapt class from ATL 6.0 to ATL 7.0?

This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C377BD.65849D60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

This used to compile fine in VC 6.0. Now I get this error -=20

error C2664: 'ATL::CAdapt<T>::CAdapt(const T &)' : cannot convert =
parameter 1 from 'ATL::CComPtr<T>' to 'const IXPtr &'

Thanks in advance.




------=_NextPart_000_0008_01C377BD.65849D60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>
<P><FONT face=3DArial size=3D2>This used to compile fine in VC 6.0. Now =
I get this=20
error - </FONT></P>
<P><FONT face=3DArial size=3D2>error C2664: =
'ATL::CAdapt&lt;T&gt;::CAdapt(const T=20
&amp;)' : cannot convert parameter 1 from 'ATL::CComPtr&lt;T&gt;' to=20
'const&nbsp;IXPtr &amp;'</FONT></P>
<P><FONT face=3DArial size=3D2>Thanks in advance.</FONT></P>
<P><FONT face=3DArial size=3D2></FONT>&nbsp;</P></DIV></BODY></HTML>

------=_NextPart_000_0008_01C377BD.65849D60--

0
SteadySteps
9/10/2003 11:33:03 AM
vc.mfc 33608 articles. 0 followers. Follow

0 Replies
662 Views

Similar Articles

[PageSpeed] 38

Reply:

Similar Artilces:

Cannot change line/object color in Publisher 2002
Anyone who can help: I'm using an older version of Publisher (2002). I was working on a floor plan for a project when suddenly, all the lines and borders disappeared. I am now unable to make any selection to change the line color--the selection defaults to a blank option no matter what color I choose, creating essentially invisible objects and lines in my files, even new ones. I uninstalled and reinstalled Publisher twice to no effect--the problem persists. (Interestingly, the same files when opened in Publisher 2002 on another machine display fine.) Is there something else that co...

Change line to bar in Line
Hope someone can help on this one...I have 4 data series that I am trying to plot on a Line-Column chart. I need 3 of these to be columns and one to be a line. It is defaulting to 2 columns and 2 lines. Does anyone know how to override that default, so I can change the one line (basically the 3rd data series) to a column? Thanks :-) Select the series you want to change, then on the Chart menu, choose Chart Type, and choose the new type to assign to that series. Next time, starting from scratch, make a column chart with all four series, then change the one to a line. - Jon ------- Jo...

Many to 1 Relationships in CRM 4.0 #2
Hi I just wondering if there is a suggested way to create multiple many to 1 relationships in CRM 4.0. We have created a custom entity and we need to associate more than 1 type of contact with the custom entity. We have a nominated and a registered contact. We have created two many to 1 relationships with contacts and the custom entity. The problem is that the name of the custom entity now appears twice in the navigation pane for contacts. We can select the 'Do not display option' however the custom entity will not appear in the navigation pane for the 'nominated contacts&...

25 changes to 35
When the value of 25 is entered into a cell, the screen returns the value of 35. I have scanned for viruses, tracking software, defalt setup values, uninstalled an reinstalled excell, updated, etc. Still I get a value of 35 when I enter 25. Help. Hi! Check Tools>AutoCorrect Options and see if someone is playing a trick on you! Biff "David Sound Tech" <David Sound Tech@discussions.microsoft.com> wrote in message news:598DF7E4-04EE-4CE4-9248-7D5E445FB182@microsoft.com... > When the value of 25 is entered into a cell, the screen returns the value > of > 35. &...

Error while installing languega pack, CRM 4.0
Hello, I installed succesfully the german language pack for crm. When I try to activate this languega pack over the Webinterface i get an error. The application log tells me this: Source: MSCRMWebService Description: MUI Provisioning failed. Error: Thread was being aborted. Any ideas? I searched in previous entrys here, but wasn't able to find a solution. Thanks! Regards Rene On the crm database run the following command: Delete from MetadataSchema.LocalizedLabel where CustomizationLevel = 2 NB: make sure you have a backup. And ofcourse this is not supported but should work. -...

[Windows 7] Move "Show Desktop" to the left side of taskbar, how to? (w/pic)
I want the "Show Desktop" button to be by the start button like it was in XP. How to do that? Pic is self-explanitory --> http://i46.tinypic.com/257qbmb.jpg See http://www.msfn.org/board/regards-moving-show-desktop-t128691.html&s=beadc2ca061fa0aff6d25b3f0f85f790 On 29/11/2009 13:32, G. Morgan wrote: > I want the "Show Desktop" button to be by the start button like it was in XP. > How to do that? > > Pic is self-explanitory --> > http://i46.tinypic.com/257qbmb.jpg ...

Changing Depre Life
I have a number of fixed assets that I need to extend the life. Their in service date was in the prior fiscal year. If I go to the Asset Book screen & change the life, <save> the screen & choose "Year" as the reset option (not Life or Recalculate), shouldn't I get some financial entries reflecting the current year adjustment of depreciation? I tried it in the test company & I'm not getting any GL entries. Any help is appreciated. Merle Merle: You have to run the GL Posting Routine at Tools>Routines>Fixed Assets to generate the GL entry. Fr...

About worksheet change event.
I wrote a code and somewhere, I want to restrict any changes with multiple cell selections, "except" adding a whole row by right-clicking on the row number bar. How can i do this? Maybe you could test like this If Target.Rows.Count = 1 And Target.Count = Rows.Count Then ... -- HTH RP (remove nothere from the email address if mailing direct) "serdar" <s@s.com> wrote in message news:Og4LA$Y%23FHA.3340@TK2MSFTNGP12.phx.gbl... > I wrote a code and somewhere, I want to restrict any changes with multiple > cell selections, "except"...

RegOwner and RegCompany Objects of Win32_Product Class
I am using RegOwner and RegCompany Objects of Win32_Product Class to get the Product details of the Microsoft applications installed on my machine. I was using the code below StrComputer = "." Function DispList(StrComputer) DIM objFSO, objWMIService, colSoftware, objSoftware Set objFSO = CreateObject("Scripting.FileSystemObject") DIM OutputFile DIM objFile OutputFile = "D:\output.txt" Set objFile = objFSO.CreateTextFile(OutputFile) objFile.WriteLine "Software list for " & StrComputer Set objWMIService = GetObject("wi...

Error upon installing GP 9.0 year-end update
Hello: Yesterday, since a client needed to have the year-end update for GP 9.0, I installed the update which includes service pack 3. I got the following message on all workstations but not the server: "A product on the computer is on a different version than the database version". Since the settings at the server and workstations were the same, per the dynamics.set file, I resolved the error by copying down the server's GP folder to the workstations. Issue resolved. Are there any problems with having a server's GP 9.0 folder residing on the workstations? Thanks! ...

Maximum Character Limit on the USerAgent String in IE 6
Hi, I am trying to access a web application which only supports IE version 5.01 and above. In order to perform this check we use USerAgent string to check the IE version and then allow the users to access the application. While testing we found out that on Windows XP IE 6.0 when the user agent is beyong 256 character length, the rest of the useragent string is getting truncated and it is only returning Mozilla/4.0 (compatible; MSIE 6.0;). However this is not the case with IE 7.0 and IE 8.0. Is this a known issue in IE 6.0 and do this have any workaroound? Any pointers to ...

Change the default Calendar
Hej to all I have outlook 2010 with 2 calendars, calendar and work. By default the default calendar is calendar, but I would like to be work, since calendar have almost my private things, there is a way to change the default calendar to work. Thanks to all. Sofia No, you'll have to copy over the items from one to the other. Personally I don't use 2 calendars for this but use a single calendar and categorize my appointments accordingly. For details see; http://www.msoutlook.info/question/191 -- Robert Sparnaaij [MVP-Outlook] Coauthor, Configuring Microsoft...

Message with MFC in custom class #2
Hi How can I catch messages in an other class than the view? I have a MFC-SDI-Application which draws with OpenGL. I'd like to have a class, which handels the keyboard input, and another which handels the OpenGL drawing. Can i derive the new class from CCmdTarget? Does that work, and how would an example look like? Thank you John John wrote: > Hi > > How can I catch messages in an other class than the view? I have a > MFC-SDI-Application which draws with OpenGL. > I'd like to have a class, which handels the keyboard input, and another > which handels the OpenGL...

Access is Denied in CRM 3.0 after upgrading from 1.2
After an upgrade of Microsoft CRM 1.2 to 3.0 without any errors, I can not log into the Microsoft CRM web page. I get the following error "you do not have enough privileges to access the microsoft crm object or perform the requested operation" I have searched everywhere for a solution for this but i am now at a loss. During the install i recieved two warnings 1. verify domain user account spn for the microsoft crm asp .net application pool account 2. setup was unable to verify that the "trust for delegation" property is enabled for the computer object. If I create a new...

Change the name of an auto save
I am trying to write a macro that will save the file to a specific cell reference. The reference is a specific name that is automatically generated by another macro function. Any suggestions on how I could do this? Cheers IS thsi what you want? Sub SaveMe() sFilename = Format(Worksheets("Sheet1").Range("A1").Value) ans = MsgBox("Save file as " & sFilename) If ans = vbOK Then ActiveWorkbook.SaveAs Filename:=sFilename End If End Sub HTH, Ryan-- -- Ryan--- If this information was helpful, please indicate this by clicking ''Y...

Auto date changing in Excel is maddening
I'm using MS Office Excel 2003 (11.6113.5703) to post data that spans over several days. sample plot http://peswiki.com/index.php/Directory:Bedini_SG:Replications:PES:Sterling_Allan:Data:Exp10.4_Different_Standing_Discharge_Rates or try http://tinyurl.com/6f8zn We had to jump through all kinds of work-arounds in order to accomplish this. It was not a straight-forward process, though it should have been. When I enter the date format, for example, as Format > Time > 3/14/01 13:30 And then enter 11/17/04 0:30:30, it enters okay, but when I double click on the cell to edit it, Ex...

changing the scale from hours to days in the Resource Usage view
My current Resource Usage view shows my resources and the hours allocated for each resource in hours. How can I change this view so that it tells me the allocated effort for each resource in days, as opposed to hours? thanks in advance. Tools > Options > Schedule > Work is Entered In.... - Andrew Lavinsky Blog: http://blogs.catapultsystems.com/epm > My current Resource Usage view shows my resources and the hours > allocated for each resource in hours. How can I change this view so > that it tells me the allocated effort for each resource in days, as > ...

How do I change the color of tabs in word 2008 notebook layout?
I've been trying to figure out how to change the color of the section tabs with no success. Does anyone know how to do this? In article <ee88f72.-1@webcrossing.caR9absDaxw>, somnium@officeformac.com wrote: > I've been trying to figure out how to change the color of the section tabs > with no success. Does anyone know how to do this? Right- or ctrl-click the tab and choose a color from the Section Color popup. I'm looking for the same thing; in addition - how to delete extra tabs. Ctrl-/right-click a tab, and you can change its colour as well as delete the tab (a...

change cells contents from vertical to horizontal
I need to copy from one workseet the values in cells that are arranged vertically into another worksheet and the values need to be arranged horizontally. Can this be done? If so, how? Select the data to be copied>Copy>Select target cell>Right click>PasteSpecial>select 'Transpose>OK If this post helps click Yes --------------- Jacob Skaria "GailH" wrote: > I need to copy from one workseet the values in cells that are arranged > vertically into another worksheet and the values need to be arranged > horizontally. Can this be done? ...

Excel If Statements
I am trying to create a conditional statement with 17 IFs. I started needing to do 11 Ifs. I got over the Excel limit of 7 by identifying a cell in the last element of the first string of 4 IFs in which there was a further string with 7 IFs. However I now need to expand this to 17 IFs. I tried the same technique of creating a third string with 6 more IFs and identifying this in the last condition of the second string. It didn't work. Any ideas. Look here: http://www.j-walk.com/ss/excel/usertips/tip080.htm -- Kind regards, Niek Otten Microsoft MVP - Excel "Peter" <P...

3.0 client crashes when going offline?
this user hasnt had any problems since we implemented 3.0 about a year ago. they are using Office 2007 with the 3.0 client in offline configuration. A couple days ago they ran into a problem where it crashes when trying to go offline, it gets to "waiting for offline database initialization" and then crashes outlook. any ideas? Have you verified that the localo SQL instance is happy and checked the event logs? "rodney" wrote: > this user hasnt had any problems since we implemented 3.0 about a year > ago. they are using Office 2007 with the 3.0 client in offl...

Unable to change Send From account in OL2K
I have just changed my Outlook 2k configuartion due to obtaining an account on an exchange server. I have numerous account sand in the past was able to determin ewhich account an email was sent from at the time I send it. I now cannot see any optoin to do that on the send button. Any help on this? Thanks "Mike Cook" <mpcook@earthnet.net> wrote in message news:1095987186.FbLWXD1ashS92/6OQ/EwnA@teranews... > I have just changed my Outlook 2k configuartion due to obtaining an account > on an exchange server. I have numerous account sand in the past was able to > d...

How to change string value in registry.
How to change the "string value" in the registry within the code? As there is a functionality in my application that the user can change the "string value" with some GUI. But I m not able to change it as there is a function RegReplaceKey but its only to take the backup of old file and to replace it with new one. "HItz" <hitesh_impossible@yahoo.co.in> wrote in message news:1188197253.025846.169010@22g2000hsm.googlegroups.com... > How to change the "string value" in the registry within the code? As > there is a functionality in my applica...

How do I change the default reminder in Outlook?
Gurus, How do I change the default reminder in Outlook 2003? -- Spin Tools->Options->Calendar Options. --=81 Milly Staples [MVP - Outlook] Post all replies to the group to keep the discussion intact. All unsolicited mail sent to my personal account will be deleted without reading. =20 After furious head scratching, Spin asked: | Gurus, |=20 | How do I change the default reminder in Outlook 2003? And just a bit more in case your view of what Default Reminders is means something else: Also try Tools | options | task options (for Task reminders) And Tools | email options | play ...

old password usable after a password change
Hi, Good day to all. I have an ADAM synchronising its proxy-user from an AD. After changing password in an XP client logon to the AD(restart or without restart), both the old and new passwords can still be used to LDP into the ADAM. 1. Though there are many DCs in my AD, replication is ruled out - as the phenomenon remains after a force replication on all the DCs. 2. AD-ADAM sync is also ruled out as I after performing a manual synchronisation (via the XML stuffs), the symtom persists. In addition, it is a proxy-user, so authentication is refered to the AD DCs, r...