Weird error text in Dll

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Im developing a C++ dll that is used by a C++ exe that I have another third party develop. The exe is crashing.
Im trying to get to the bottom of the problem and not having much luck but I opened the dll in text editor to look at the embeded manifest and can across weird like this below.

Looks like some compile errors that should appear in compile build log.
Can anyone enlighten be why this would be in my DLL?

Unknown Runtime Check Error <br/>
<br/>
Stack memory around _alloca was corrupted <br/>
<br/>
A local variable was used before it was initialized <br/>
<br/>
Stack memory was corrupted <br/>
<br/>
A cast to a smaller data type has caused a loss of data. If this was intentional, you should mask the source of the cast with the appropriate bitmask. For example: <br/>
<br/>
<span style="white-space:pre char c = (i & 0xFF); <br/>
<br/>
Changing the code in this way will not affect the quality of the resulting optimized code. <br/>
<br/>
The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention. <br/>
<br/>
¨ <br/>
ˆ <br/>
h <br/>
0 <br/>
 <br/>
ä <br/>
     Stack around the variable was corrupted. The variable is being used without being initialized. Run-Time Check Failure #%d - %s Unknown Module Name Unknown Filename
R u n - T i m e C h e c k F a i l u r e # % d - % s R u n t i m e C h e c k E r r o r . <br/>
<br/>
U n a b l e t o d i s p l a y R T C M e s s a g e . Stack corrupted near unknown variable A variable is being used without being initialized. X
<br/>
(v Stack around _alloca corrupted Local variable used before initialization Stack memory corruption Cast to smaller type causing loss of data Stack pointer corruption  <br/>
<br/>
è <span style="white-space:pre <br/>
Ð <span style="white-space:pre <br/>
¤ <span style="white-space:pre <br/>
„ <span style="white-space:pre <br/>
MSPDB80.DLL EnvironmentDirectory SOFTWAREMicrosoftVisualStudio9.0SetupVS RegCloseKey RegQueryValueExA RegOpenKeyExA ADVAPI32.DLL PDBOpenValidate5 HH <br/>
 H <br/>
<br/>

<br/>

<hr class="sig Regards Graeme

View the full article
 
Back
Top