|
||||||
| Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Receiving this error:
Managed Debugging Assistant 'PInvokeStackImbalance' has detected a problem in 'C:\Documents and Settings\My Documents\Visual Studio 2005\Projects\DW Solution\DW Project\bin\Debug\DW Project.vshost.exe'. Additional Information: A call to PInvoke function 'DW Project! DW_Project.mainForm::LoadLibraryEx' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature. Any idea what this means? |
| Sponsored Links |
|
|
|
|||||
|
You are probably declaring the names of the DLL functions wrong. I've seen them display as "dothis()" but inside the DLL using pinvoke they are actually "dwlk_dothis()". Use dumpbin to find the correct names:
How to use dumpbin.exe
__________________
Lop |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PDF download problems | ikke | ionFiles | 5 | 10-09-2007 10:31 AM |
| Problems in GETMEM.INC with newer WinXP security updates. | dima_q | Pascal/Delphi | 0 | 06-04-2007 09:17 AM |
| Problems in compiling D-ITG | MietitoreDAnime | C and C++ | 2 | 02-15-2007 11:18 AM |
| Problems with Google? | Void | Marketing | 4 | 07-23-2006 07:12 PM |
| John | ........ | 223.00000 |
| dargueta | ........ | 168.00000 |
| Xav | ........ | 164.00000 |
| LogicKills | ........ | 20.00000 |
| gaylo565 | ........ | 18.00000 |
| WingedPanther | ........ | 15.00000 |
| |pH| | ........ | 15.00000 |
| Johnnyboy | ........ | 3.00000 |
| navghost | ........ | 1.00000 |
Goal: 100,000 Posts
Complete: 67%