Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Non-global global?

Status
Not open for further replies.

evilpeer

Programmer
Sep 24, 2001
16
US
Well, it seems I've run into MSKB article Q177135 (ODBC stuff in DLL global scope causes GPF "by design").

Now I am left with the task of removing a global database object, while retaining global access to it, and without breaking current function compatibility (which means moving to a class is out, as is adding the database as a parameter for all functions).

Um.. help? Suggestions?

---Evil Peer
 
Twould seem that it simply is not possible. That's the response I've gotten on another board. Thanks anyway.

---Evil Peer
 
I didnt have time to look at the article... but what about using a namespace? would that fix the problem?

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top