Problem with DllImport StackOverFlowException

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!
 
S

Scott Allen

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top