A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

how to debug in OL2010?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 1st 10, 12:57 AM posted to microsoft.public.outlook.program_addins
Beiley[_2_]
external usenet poster
 
Posts: 3
Default how to debug in OL2010?

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  
Old May 1st 10, 02:03 AM posted to microsoft.public.outlook.program_addins
sgrosch1
external usenet poster
 
Posts: 4
Default how to debug in OL2010?


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  
Old May 1st 10, 02:35 AM posted to microsoft.public.outlook.program_addins
Beiley[_2_]
external usenet poster
 
Posts: 3
Default how to debug in OL2010?

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  
Old May 1st 10, 07:33 AM posted to microsoft.public.outlook.program_addins
Beiley[_2_]
external usenet poster
 
Posts: 3
Default how to debug in OL2010?

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
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 12:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.