Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linker errors on Unicode version of BCGSoft library Pin
sexywetdeath17-Oct-03 2:34
sexywetdeath17-Oct-03 2:34 
QuestionHow do I declare a function ? Pin
Anonymous15-Oct-03 18:58
Anonymous15-Oct-03 18:58 
AnswerRe: How do I declare a function ? Pin
Randhir Sinha15-Oct-03 20:17
Randhir Sinha15-Oct-03 20:17 
AnswerRe: How do I declare a function ? Pin
PremL17-Oct-03 6:09
PremL17-Oct-03 6:09 
GeneralMFC DLL Help Pin
Mike Danberg15-Oct-03 17:21
Mike Danberg15-Oct-03 17:21 
GeneralRe: MFC DLL Help Pin
Mike Danberg15-Oct-03 19:36
Mike Danberg15-Oct-03 19:36 
GeneralRe: MFC DLL Help Pin
Mike Dimmick16-Oct-03 1:18
Mike Dimmick16-Oct-03 1:18 
GeneralRe: MFC DLL Help Pin
Mike Danberg16-Oct-03 6:41
Mike Danberg16-Oct-03 6:41 
Ok I did that and it gave me an access violation. Doesn't really help me though. First off I'm not real good at debugging, so unless its an obvious problem, doing something like you suggested doesn't help me much.

It's still the same thing that's causing it. When I try disconnecting from a database from my dll. It really doesn't make any sense to me. It worked before when I opened and closed the database from within an exported function. Then I decided it was a waste of resources to open and close each time I wanted to access it. So I declared a global instance of a CDatabase class.

I connect once at program initialization and then call disconnect at close. Seemed pretty simple to me, but now its throwing an exception for no apparent reason. The only solution I can think of is to go back to the old way of opening and closing the DB each time I access it.

Mike
GeneralVisual Studio.Net C++ bug Pin
Anonymous15-Oct-03 17:12
Anonymous15-Oct-03 17:12 
GeneralRe: Visual Studio.Net C++ bug Pin
Steve S15-Oct-03 21:57
Steve S15-Oct-03 21:57 
GeneralHTML Help with VC++ in .net Pin
dhhlam15-Oct-03 13:39
dhhlam15-Oct-03 13:39 
GeneralChange the size of the console window Pin
hkl15-Oct-03 13:05
hkl15-Oct-03 13:05 
Questionstd::bad_alloc exception when plenty of memory available? Pin
IGx8915-Oct-03 12:56
IGx8915-Oct-03 12:56 
AnswerRe: std::bad_alloc exception when plenty of memory available? Pin
IGx8915-Oct-03 13:32
IGx8915-Oct-03 13:32 
GeneralRe: std::bad_alloc exception when plenty of memory available? Pin
IGx8915-Oct-03 13:47
IGx8915-Oct-03 13:47 
GeneralInstallShield request Pin
Gary R. Wheeler15-Oct-03 12:46
Gary R. Wheeler15-Oct-03 12:46 
GeneralBEGINNER help me here Pin
15-Oct-03 12:06
suss15-Oct-03 12:06 
GeneralRe: BEGINNER help me here Pin
Terry O'Nolley15-Oct-03 16:15
Terry O'Nolley15-Oct-03 16:15 
GeneralRe: BEGINNER help me here Pin
LOSTTWARE.com15-Oct-03 19:44
LOSTTWARE.com15-Oct-03 19:44 
GeneralRe: BEGINNER help me here Pin
Terry O'Nolley16-Oct-03 10:04
Terry O'Nolley16-Oct-03 10:04 
GeneralAdding bitmap to resources Pin
Tomas Petricek15-Oct-03 11:27
Tomas Petricek15-Oct-03 11:27 
GeneralRe: Adding bitmap to resources Pin
Steve Thresher17-Oct-03 2:38
Steve Thresher17-Oct-03 2:38 
GeneralMSN Add ins Pin
waqar_dr15-Oct-03 10:46
waqar_dr15-Oct-03 10:46 
GeneralDialog Pin
act_x15-Oct-03 9:54
act_x15-Oct-03 9:54 
GeneralRe: Dialog Pin
souldog15-Oct-03 20:06
souldog15-Oct-03 20:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.