PC Review


Reply
Thread Tools Rate Thread

how to debug in OL2010?

 
 
Beiley
Guest
Posts: n/a
 
      30th Apr 2010
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

 
Reply With Quote
 
 
 
 
Beiley
Guest
Posts: n/a
 
      1st May 2010
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
 
Reply With Quote
 
Beiley
Guest
Posts: n/a
 
      1st May 2010
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.

>
> > --
> > 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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS Feeds in OL2010 JM Microsoft Outlook 0 15th May 2010 10:31 PM
OL2007 Add-in won't install on OL2010 Mark B Microsoft Outlook Program Addins 1 13th Apr 2010 03:15 PM
Re: Create a Ribbon for the OL2010 Explorer Ken Slovak - [MVP - Outlook] Microsoft Outlook VBA Programming 0 17th Mar 2010 01:30 PM
V Studio 2003 Doesn't Load Supporting DLL Debug Symbols for Windows Service Remote Debug INGSOC Microsoft C# .NET 0 8th Feb 2005 09:19 AM
Visual C++ Debug Library. Debug Error! Abnormal program termination John Microsoft Outlook Discussion 1 25th Sep 2004 09:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:41 PM.