Message 1 of 6
Release VS. Debug

Not applicable
05-01-2002
07:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can anyone tell me the difference between release
and debug version? Because I have this problem - I have this arx preject,
compile it in Debug configuration - it's ok, then try to build the
ReleaseMinDependancy configuration - it gives me a redefinition. First it was
__free and __malloc, then it was a redefinition of my Interface (I am
writing a COM server):
and debug version? Because I have this problem - I have this arx preject,
compile it in Debug configuration - it's ok, then try to build the
ReleaseMinDependancy configuration - it gives me a redefinition. First it was
__free and __malloc, then it was a redefinition of my Interface (I am
writing a COM server):
size=2>E:\Vlado\#U.A.S.G\C++\VBExtend3\VBExtend3_i.c(38) : error C2370:
'LIBID_VBEXTEND3Lib' : redefinition; different storage
class
E:\Vlado\#U.A.S.G\C++\VBExtend3\VBExtend3.h(64) : see declaration of
'LIBID_VBEXTEND3Lib'
E:\Vlado\#U.A.S.G\C++\VBExtend3\VBExtend3_i.c(41) :
error C2370: 'IID_ICurveX' : redefinition; different storage
class
E:\Vlado\#U.A.S.G\C++\VBExtend3\VBExtend3.h(73) : see declaration of
'IID_ICurveX'
E:\Vlado\#U.A.S.G\C++\VBExtend3\VBExtend3_i.c(44) : error
C2370: 'CLSID_CurveX' : redefinition; different storage
class
E:\Vlado\#U.A.S.G\C++\VBExtend3\VBExtend3.h(380) : see declaration of
'CLSID_CurveX'
Generating Code...
Error executing
cl.exe.
VBExtend3.arx - 3 error(s), 0
warning(s)
warning(s)
ICurveX is my interface, and VBExtend is the
project's name. Why don't I get these with the Debug version? What am I doing
wrong and any ideas where can I read about it or how to fix
it?
project's name. Why don't I get these with the Debug version? What am I doing
wrong and any ideas where can I read about it or how to fix
it?
Thanks
Blade