Page 1 of 1

Building for DLL use?

PostPosted: Nov 23, 2005 @ 7:23am
by InexorableTash

PostPosted: Feb 15, 2006 @ 6:33am
by InexorableTash

PostPosted: Feb 28, 2006 @ 12:22am
by Antony

PostPosted: Feb 28, 2006 @ 9:52am
by Johan

PostPosted: Feb 28, 2006 @ 6:02pm
by Antony

PostPosted: Feb 28, 2006 @ 11:30pm
by Johan
Great! I'll add it to the FAQ!

//Johan

PostPosted: Mar 1, 2006 @ 6:35am
by InexorableTash
Confirmed, that did it, both with the sample and with my XP and PocketPC builds of my hobby project.

Thanks, Johan!

PostPosted: May 15, 2006 @ 6:34am
by InexorableTash
For posterity, note that when you switch to VS2005 you run into a little bit of fun: Microsoft's Visual C++ Runtime (MSVCRT) was updated in VS8, so it is not longer "automagically present" on devices.

See for instructions on how to deploy the MSVCRT80[d].DLL to your device when building in VS2005.[/url]

PostPosted: Sep 18, 2007 @ 8:01am
by nraf
I am using VS2003.net for C++ and have the same problem.

My project setting is already in /MDd

ntdll.dll!_DbgBreakPoint@0()
ntdll.dll!_RtlpBreakPointHeap@4() + 0x28
ntdll.dll!_RtlpValidateHeapEntry@12() + 0x113
ntdll.dll!_RtlValidateHeap@12() + 0xe0
kernel32.dll!7c85e9cf()
> msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x011b4f88) Line 1807 C
msvcr71d.dll!_free_dbg_lk(void * pUserData=0x011b4f88, int nBlockUse=1) Line 1132 + 0x9 C
msvcr71d.dll!_free_dbg(void * pUserData=0x011b4f88, int nBlockUse=1) Line 1070 + 0xd C
mfc71d.dll!operator delete(void * p=0x011b4f88) Line 369 + 0xc C++
SCC-COM.exe!SCCCOM::CSccIop::Run(int argc=4, char * * argv=0x00d86108) Line 3131 + 0x17 C++
SCC-COM.exe!SCCCOM::CSccCom::Run(int argc=4, char * * argv=0x00d86108) Line 3808 + 0x10 C++
SCC-COM.exe!main(int argc=4, char * * argv=0x00d86108) Line 3881 + 0x13 C++
SCC-COM.exe!mainCRTStartup() Line 398 + 0x11 C
kernel32.dll!7c816fd7()