Problem with DllImport StackOverFlowException

Discussion in 'ASP .Net' started by =?Utf-8?B?RGFuaWxv?=, Apr 21, 2005.

  1. hi

    we use [dllImport] to call some function from unmanagged code. when we use
    WinForm it works, but over aps.net we have a StackOverFlowException.
    what could be the problem???

    thx!
     
    =?Utf-8?B?RGFuaWxv?=, Apr 21, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?RGFuaWxv?=

    Scott Allen Guest

    Are there any COM objects involved from the unmanaged code? One
    differeence I can think of offhand is the COM threading model. You can
    match the STA setting of a WinForms app by using AspCompat="true" in
    the @ Page directive of the aspx.

    --
    Scott
    http://www.OdeToCode.com/blogs/scott/

    On Thu, 21 Apr 2005 04:30:03 -0700, Danilo
    <> wrote:

    >hi
    >
    >we use [dllImport] to call some function from unmanagged code. when we use
    >WinForm it works, but over aps.net we have a StackOverFlowException.
    >what could be the problem???
    >
    >thx!
     
    Scott Allen, Apr 22, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UGF0cmljay5PLklnZQ==?=

    System.StackOverflowException: Exception of type System.StackOverf

    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=, Oct 8, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    3,204
    =?Utf-8?B?UHN5Y2hv?=
    Oct 8, 2004
  2. Lars-Erik Aabech
    Replies:
    8
    Views:
    774
    Steven Cheng[MSFT]
    Apr 29, 2005
  3. Simon Harris

    System.StackOverflowException

    Simon Harris, May 8, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    4,609
    Web Team @ Borough of Poole
    May 11, 2005
  4. =?Utf-8?B?Qy5EaW1pdHJvdg==?=

    StackOverflowException in .NET Runtimes

    =?Utf-8?B?Qy5EaW1pdHJvdg==?=, Jul 25, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,146
    Brock Allen
    Jul 25, 2005
  5. HyVong
    Replies:
    1
    Views:
    640
    Karl Seguin
    Nov 25, 2005
Loading...

Share This Page