Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problem with DllImport StackOverFlowException

Reply
Thread Tools

Problem with DllImport StackOverFlowException

 
 
=?Utf-8?B?RGFuaWxv?=
Guest
Posts: n/a
 
      04-21-2005
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!
 
Reply With Quote
 
 
 
 
Scott Allen
Guest
Posts: n/a
 
      04-22-2005
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
<(E-Mail Removed)> 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!


 
Reply With Quote
 
 
 
Reply

Thread Tools

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
StackOverflowException in .NET Runtimes =?Utf-8?B?Qy5EaW1pdHJvdg==?= ASP .Net 1 07-25-2005 07:43 PM
System.StackOverflowException Simon Harris ASP .Net 4 05-11-2005 07:50 AM
StackOverflowException after Page.Unload - how to debug? Lars-Erik Aabech ASP .Net 8 04-29-2005 03:15 AM
System.StackOverflowException: Exception of type System.StackOverf =?Utf-8?B?UGF0cmljay5PLklnZQ==?= ASP .Net 3 10-08-2004 07:41 AM
StackOverflowException Diego Bustamante MCSD 1 02-22-2004 04:36 PM



Advertisments