Problem with DllImport StackOverFlowException

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!
 
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.
 
Back
Top