Re: Debug a C DLL
- From: Mark McIntyre <markmcintyre@xxxxxxxxxxx>
- Date: Sat, 14 Jan 2006 00:04:44 +0000
On 12 Jan 2006 15:34:05 -0800, in comp.lang.c , "Karl Malbrain"
<malbrain@xxxxxxxxx> wrote:
>
>Mark McIntyre wrote:
>> On 12 Jan 2006 15:13:21 -0800, in comp.lang.c , "Jake Thompson"
>> <readytoride39@xxxxxxxxxxx> wrote:
>>
>> >Hello,
>> >
>> >I have an exe that calls a dll. The dll is dynamically loaded and I
>> >use getprocaddress to get the address of the funciton I want to call.
>> >
>> >Everything seems to work fine in debug mode but in release mode it is
>> >blowing up at the first call to the dll.
>>
>> You should ask this question again in a Windows programming group,
>> where the experts at this sort of stuff hang out. My guess is that
>> you're corrupting memory by overruning an array, or using unitialised
>> variables or something, and in debug mode you get away with it because
>> your debug build is more tolerant.
>
>Actually, you have this backward. The debug build has more error
>checking. karl m
No, I have it forward. The debug build typically has more tolerance of
faults, eg it initialises auto variables to zero, puts in overflow
space round arrays and structs, etc etc.
Mark McIntyre
--
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
.
- References:
- Debug a C DLL
- From: Jake Thompson
- Re: Debug a C DLL
- From: Mark McIntyre
- Re: Debug a C DLL
- From: Karl Malbrain
- Debug a C DLL
- Prev by Date: Re: Need recommendations for code modularization
- Next by Date: Re: float pointers
- Previous by thread: Re: Debug a C DLL
- Next by thread: Re: Debug a C DLL
- Index(es):
Relevant Pages
|
Loading