evc 3.0 debugging dll problem

evc 3.0 debugging dll problem

Post by TXVjaGF » Fri, 10 Dec 2004 02:17:10


I write on Pocket PC 2002. I want debug the dll library on my Pocket PC device.
I've simple application and OnButtonClick() I want to load dll using
LoadLibrary.
The dll is very simple and has only dllmain function:

BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch(ul_reason_for_call)
{
case DLL_THREAD_ATTACH:
MessageBox(NULL,TEXT("DLL_THREAD_ATTACH"), TEXT("hallo2"),MB_OK);
return FALSE;
break;
case DLL_PROCESS_ATTACH:
MessageBox(NULL,TEXT("DLL_PROCESS_ATTACH"), hallo2"),MB_OK);
return FALSE;
break;
case DLL_PROCESS_DETACH:
MessageBox(NULL,TEXT("DLL_PROCESS_DETACH"), TEXT("hallo2"),MB_OK);
return FALSE;
break;
case DLL_THREAD_DETACH:
MessageBox(NULL,TEXT("DLL_THREAD_DETACH"), TEXT("hallo2"),MB_OK);
return FALSE;
break;
}
return TRUE;
}

The problem is that I cannot debug this dll, even though I've follow
instruction from msdn
http://www.yqcomputer.com/
I run debug, but it doesn't stop on instructions where I've set the
breakpoint. So I cannot see what is going on in my dll.
Can You help me with this?

Thanks for any advice,
 
 
 

1. evc 3.0 debugging dll problem

2. Debugging multi-threaded application in eVC 4.0 vs eVC 3.0

Hi,

We're working on migrating from CE 3.0 to CE 4.2 for a CEPC. The new
platform seems to be running just fine. We're seeing a significant
difference between the way eVC++ 4.0/CE 4.2 and eVC++ 3.0/CE 3.0 de *** s
handle breakpoints in multi-threaded applications. Under eVC++ 3.0 and CE
3.0, if a break point is encountered in one thread in the process, the other
threads continue execution. In eVC++ 4.0 with CE 4.2, if a break point is
encountered in one thread, ALL the other threads in the process stop
executing. If this is "by design", it's a major setback for us. Our
applications involve real-time control of machinery and the ability to step
through one thread while others continue to execute is of critical
importance. This ability was even present in CE 2.11. I'm sure hoping that
this is a matter of something I omitted from the platform or a setting that
needs to be changed!

Any suggestions will be greatly appreciated!

Jim Frazer

3. WARNING: Multi-Thread App Debugging with eVC++ 4.0 vs. eVC++ 3.0

4. How to debug a evc 3.0 dll that is p/invoked from a c# app?

5. can't debug on Pocket PC 2003 with eVC++ 3.0 ?

6. Erratic Sever Side Script Debugging ASP 3.0/.NET DLLs: Problems and Solution

7. How to migrate EVC++ 3.0 project to EVC++ 4.0

8. Is workspace on eVC++ 3.0 compatible on eVC++ 4.0?

9. EVC++ 3.0 to EVC++ 4.0...

10. eVC 4.0 vs eVC 3.0

11. Trying to call an ActiveX component from a eVC 3.0 dll

12. Importing eVC 3.0 Projects into eVC 4.2