I have a global object 'obj' defined in a file x.cpp without any storage specifier. The object 'obj' is defined (constructor) in another dll.( statically linked dll). when i run the constructor of this file 'x' ( which is not a global object, but uses the 'obj' object ), i get an access violation inside the 'obj' dll?
i understand static oreder fiasco is relevant to two global objects, where one uses the other..
The access violation happens only in debug build.. should i worry about releasing this code?
Please do help me with this.
Shubha