![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I can't figure out how to debug my add-in under OL2010? I'm using
VS2005 with a C++ COM/ATL add-in. Any breakpoints I set never break, although the add-in is loaded/running as determined by using MessageBox(). I suspect it has something to do with how I'm launching Outlook. Under OL2007, which I can debug in fine, I would start: C:\Program Files\Microsoft Office\Office12\OUTLOOK.EXE from within my project's debug properties. For OL2010 I've had to set it to: Command: "C:\Program Files\Common Files\microsoft shared \Virtualization Handler\CVH.EXE" Arguments: "Microsoft Outlook 2010 (Beta) 2014006204090000" It runs, but my breakpoints don't work. Am I doing something wrong? Thanks, Mark |
Ads |
#2
|
|||
|
|||
![]() You should be calling into C:\program files\microsoft office\office14\outlook.exe If you're using a 32-bit Outlook it'll be down the "program files (x86)" path instead. -- sgrosch1 http://forums.slipstick.com |
#3
|
|||
|
|||
![]()
On Apr 30, 5:03*pm, sgrosch1 sgrosch1.4a9ama@invalid wrote:
You should be calling into C:\program files\microsoft office\office14\outlook.exe If you're using a 32-bit Outlook it'll be down the "program files (x86)" path instead. -- sgrosch1http://forums.slipstick.com Thanks sgrosch1. I thought that initially too, but there are no .exe files in that folder on my system. I'm running Vista 32 bit, and Outlook 32 bit. There are only 6 files in the folder C:\Program Files \Microsoft Office\Office14 : Custom.propdesc NPSPWRAP.DLL ONFILTER.DLL OSPP.HTM OSPP.VBS SLERROR.XML and a folder called: OneNote I've searched my whole system for Outlook.exe, but can't find one, except my old OL2007 one, in the Office12 folder. Outlook 2010 does start okay, so I'm stumped as to where it is running from... Any ideas? Thanks, Mark |
#4
|
|||
|
|||
![]()
On Apr 30, 5:35*pm, Beiley wrote:
On Apr 30, 5:03*pm, sgrosch1 sgrosch1.4a9ama@invalid wrote: You should be calling into C:\program files\microsoft office\office14\outlook.exe If you're using a 32-bit Outlook it'll be down the "program files (x86)" path instead. -- sgrosch1http://forums.slipstick.com Thanks sgrosch1. *I thought that initially too, but there are no .exe files in that folder on my system. *I'm running Vista 32 bit, and Outlook 32 bit. *There are only 6 files in the folder C:\Program Files \Microsoft Office\Office14 : Custom.propdesc NPSPWRAP.DLL ONFILTER.DLL OSPP.HTM OSPP.VBS SLERROR.XML and a folder called: OneNote I've searched my whole system for Outlook.exe, but can't find one, except my old OL2007 one, in the Office12 folder. *Outlook 2010 does start okay, so I'm stumped as to where it is running from... *Any ideas? Thanks, Mark I figured out the problem. I had installed the "Home and Student" version of Office 2010 Beta, which uses this new "Click-to-Run" feature. Apparently, the Outlook.exe is downloaded, and run from a new mapped Q: drive, which you have no permissions to view. I uninstalled the Home/Student version and instead installed the Professional Office 2010 Beta. Now I have the regular EXE's in the Office14 folder, so I can debug normally. Mark Beiley Software - http://www.beiley.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OL2007 Add-in won't install on OL2010 | Mark B[_2_] | Add-ins for Outlook | 1 | April 13th 10 04:15 PM |
Create a Ribbon for the OL2010 Explorer | ChristianH | Outlook and VBA | 1 | March 17th 10 02:30 PM |
Cannot Debug .NET code behind | Erosha | Outlook - Using Forms | 1 | August 4th 08 02:58 PM |
Debug .NET Applicaion | Erosha | Outlook - Using Forms | 0 | October 1st 07 06:09 AM |
Supressing Debug | R Fourt | Outlook - Using Forms | 4 | March 2nd 06 05:18 AM |