how to debug in OL2010?

Status
Not open for further replies.
B

Beiley

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
 
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.
 
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.

> > sgrosch1https://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
 
On Apr 30, 5:35 pm, Beiley <mbei...@gmail.com> 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.

>
> > > > sgrosch1https://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
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A ThisOutlookSession debug Outlook VBA and Custom Forms 3
T Outlook 2010 Advice on syncing OL2010 Calendar and Outlook app Using Outlook 0
T OL2010 Password box keeps appearing. Using Outlook 6
R OL2010 - Send to Mail Recipient going to wrong account Using Outlook 1
T From OL2010 Pro to OL2003 Pro Using Outlook 4
J Calendar search failing & wrong indexlocation showing..OL2010 Using Outlook 3
K OL2010 Button to Insert First Name Outlook VBA and Custom Forms 6
K OL2010 Button to Insert First Name Using Outlook 1
B How do I REALLY disable Outlook Junk E-mail sorting in OL2010 and/or 2013? Using Outlook 1
B OL2010 and install custom WYWO form Using Outlook 1
O Form cache size for OL2010 is set up to 0 Kbs, but sometimes ! Using Outlook 8
R New computer, OL2010 unable to display shared calendar appointments Exchange Server Administration 3
P OL2010 - custom form contact picture Using Outlook 0
B Updating Macro to OL2010/32bit Using Outlook 8
J OL2010 Create a new task while off line Exchange Server Administration 3
M How to skip weekends on recurring appointments - OL2010? Using Outlook 4
R OL2010 Calendar Appointment Highlighting Text issue Using Outlook 3
P migration issue from OL2003 to OL2010 with custom contact form Using Outlook 7
R OL2010; How to ALWAYS Reply/Forward using HTML? Using Outlook 1
B OL2010 - signatures while forwarding tasks or appointments Using Outlook 2
B right click outlook objects in OL2010 acts on current inbox mailitem Using Outlook 6
T Can't remove NEW GROUP in OL2010 Using Outlook 1
S OL2010 - choosing to not save inline images Using Outlook 1
T Reinstalled OL2010 now have 3 separate inboxes and contacts missing Using Outlook 2
T Defer Sending emails in OL2010 Using Outlook 1
G Keyboarding with HTML Email in OL2010-64bit Using Outlook 0
S OL2003 labels in OL2010 Using Outlook 7
M OL2007 Add-in won't install on OL2010 Outlook VBA and Custom Forms 1
C Create a Ribbon for the OL2010 Explorer Outlook VBA and Custom Forms 1

Similar threads

Back
Top