PC Review


Reply
Thread Tools Rate Thread

access the call stack?

 
 
mark
Guest
Posts: n/a
 
      28th Feb 2008
is it possible to access the call stack in code?

What I mean is, if I write a subroutine into an Add-In (so that it can be
seperately secured from the rest of the code, for reasons I wish we didn't
need to deal with)

When I call a subroutine in that protected Add-In, is it possible to return,
in the code, the name of the calling routine?

It should be the next item up in the call stack.

Thanks.
Mark
 
Reply With Quote
 
 
 
 
mark
Guest
Posts: n/a
 
      28th Feb 2008
got my answer.... "No", but you can roll your own.

got it.

"mark" wrote:

> is it possible to access the call stack in code?
>
> What I mean is, if I write a subroutine into an Add-In (so that it can be
> seperately secured from the rest of the code, for reasons I wish we didn't
> need to deal with)
>
> When I call a subroutine in that protected Add-In, is it possible to return,
> in the code, the name of the calling routine?
>
> It should be the next item up in the call stack.
>
> Thanks.
> Mark

 
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
VBA access to call stack =?Utf-8?B?TWF0dGhldyBQZmx1Z2Vy?= Microsoft Excel Programming 3 26th Sep 2007 05:15 PM
Warning 1684 CA2214 : Microsoft.Usage : 'RandomShade..ctor(Int32, Int32, Int32, Int32, Int32)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences: steve bull Microsoft C# .NET 4 7th Jul 2005 05:54 PM
walking the call stack from within a thread. Getting the parent call stack Jason Coyne Microsoft C# .NET 1 30th Mar 2005 10:30 PM
Access 2000 - call stack use =?Utf-8?B?Q2luZHkgQ1Q=?= Microsoft Access VBA Modules 1 2nd Mar 2005 11:16 PM
Call Stack. Ivar Svendsen Microsoft Access VBA Modules 3 13th Jul 2003 12:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:10 PM.