why does CDatabase leave DLL's behind?
fredrik.hesse@mailbox.swipnet.se
Sunday, March 31, 1996
Hi!
I'm writing a Win95 program in Visual C++ 4.1..
I'm using the CDatabase class to connect to an ODBC source
that's originally an Access-database...
However, everytime the program has been executed and exited there's
a DLL called 'SYSTHUNK' still loaded in memory...
why is that? and how do I get rid of it?
thanks
/Fredrik Hesse, Sweden
Mike Blaszczak -- mikeblas@msn.com
Monday, April 01, 1996
----------
From: owner-mfc-l@netcom.com on behalf of fredrik.hesse@mailbox.swipnet.se
Sent: Sunday, March 31, 1996 6:50 AM
> I'm writing a Win95 program in Visual C++ 4.1..
Thanks.
> I'm using the CDatabase class to connect to an ODBC source
> that's originally an Access-database...
> However, everytime the program has been executed and exited there's
> a DLL called 'SYSTHUNK' still loaded in memory...
Are you using a 16-bit ODBC driver, or a 32-bit ODBC driver?
.B ekiM
TCHAR szIggyPop[] = _T("I work too hard, man, so don't trip me up.");
fredrik.hesse@mailbox.swipnet.se
Tuesday, April 02, 1996
Mike Blaszczak wrote:
>
> > I'm writing a Win95 program in Visual C++ 4.1..
>
> Thanks.
>
> > I'm using the CDatabase class to connect to an ODBC source
> > that's originally an Access-database...
> > However, everytime the program has been executed and exited there's
> > a DLL called 'SYSTHUNK' still loaded in memory...
>
> Are you using a 16-bit ODBC driver, or a 32-bit ODBC driver?
It is 32-bit.
Dan Kirby -- dkirby@accessone.com
Friday, April 05, 1996
Here's what one of the Windows developers had to say regarding SYSTHUNK.DLL...
"This is a 16 bit dll loaded on Win95 when you call some very rarely
used stuff like OLE1 apis from the 32 bit side. It purposely doesn't
free itself when done due to the way it provides thunks. But it doesn't
consume any more resources."
--dan
----------
From: fredrik.hesse@mailbox.swipnet.se[SMTP:fredrik.hesse@mailbox.swipnet.se]
Sent: Monday, April 01, 1996 11:06 PM
To: mfc-l@netcom.com
Subject: Re: why does CDatabase leave DLL's behind?
Mike Blaszczak wrote:
>
> > I'm writing a Win95 program in Visual C++ 4.1..
>
> Thanks.
>
> > I'm using the CDatabase class to connect to an ODBC source
> > that's originally an Access-database...
> > However, everytime the program has been executed and exited there's
> > a DLL called 'SYSTHUNK' still loaded in memory...
>
> Are you using a 16-bit ODBC driver, or a 32-bit ODBC driver?
It is 32-bit.
begin 600 WINMAIL.DAT
M>)\^(C4'`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`T (```(````,`````P``, ,````+``\.``````(!_P\!````/P``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````&UF8RUL0&YE=&-O;2YC;VT`4TU44 !M
M9F,M;$!N971C;VTN8V]M```>``(P`0````4```!33510`````!X``S !````
M$0```&UF8RUL0&YE=&-O;2YC;VT``````P`5# $````#`/X/!@```!X``3 !
M````$P```"=M9F,M;$!N971C;VTN8V]M)P```@$+, $````6````4TU44#I-
M1D,M3$!.151#3TTN0T]-`````P``.0`````+`$ Z`0````(!]@\!````! ``
M``````,-`````P``, 0````+``\.`0````(!_P\!````7P````````"!*Q^D
MOJ,0&9UN`-T!#U0"```!`&9R961R:6LN:&5S"YS=VEP;F5T
M+G-E`%--5% `9G)E9')I:RYH97-S94!M86EL8F]X+G-W:7!N970N"YS=VEP;F5T+G-E`%--5% `9G)E9')I:RYH97-S94!M86EL8F]X+G-W:7!N
M970N2!D;V5S($-$871A8F%S92!L96%V
M92!$3$PG2!D;V5S($-$871A8F%S92!L96%V92!$3$PG
M`!X,`0````4```!33510`````!X`'PP!````%0```&1K:7)B>4!A8V-E``@0`0```&4```!(15)%4U=(
M051/3D5/1E1(15=)3D1/5U-$159%3$]015)32$%$5$]305E214=!4D1)3D=3
M65-42%5.2T1,3")42$E325-!,39"251$3$Q,3T%$141/3E=)3CDU5TA%3EE/
M54-!``````(!"1 !````XP,``-\#``#P!@``3%I&=1I ]8?_``H!#P(5`J0#
MY 7K`H,`4!,#5 (`8V@*P'-E=.XR!@`&PP*#,@/&!Q,"@T8S`\4"`'!R<1(B
M?,C4U`H '"H$-L0M@;F@9PL1!0N 9P8`65-42%6 3DLN1$Q,+B$P
M'PJ%"H<+9!7"`= @(E0*: 0`("-A82 Q-L@@8FD%0&1L`R 7,,\?, F '3$=
MXCDU'.$)\&0@>0A@(&,'0 ,@=T*A741\!] %3!U
M#= D@$1I:QU@3TQ%'&!A[G C80-2':,S$B D$@"0J0VP+B JT$D%0' (<%QP
M;Q'P)U >8&\'D&Z\)W0*A0-0"> C@'0K@>\=D"63'B =460*4!]2';+.=Q^A
M)"$4P&]V*I$$("$=L'5N:W,JP$)UWP5 )"(KZP6@`(!U)I$`<+\?L 1@%Z ?
MP29P"'!C!Y <+B(A;@L9(L4M+60_`' AW1O9,U\+(2B0,3B", +1:2TQ-#0-
M\'\,T#E#"UDCX#/@`V 50&-_!4 U<#MF(=TZ=0PP.N9&O0-A.CQN.N8,@BRB
M9 40S&LN'< $$&5 `, #$*D&X'@N`^%P'5!T07" 95M33510.D O_4$]73P/
M/1T&8 (P/D\_6^9-`B UD'DL$W 4P ,11# Q21 Q.3DC\#'(,3HP(_!0342?
M/1TL5&]&WS];;1&@+6SF0$'!!:!M+D\Q2J]%KCAU8FH[(4S//UM29<=2$!SP
M*[0@0T0=$ &@IF$1\"2 96$>D" A`=D$#\W;SAS7#,V.>9PN
M)C$?L .106,S`=YS-8%4]"$X6^)('C >@?9R21!I@GE 60,% DT?\` ,E%Y:'IQ1]\'$!U@)>)B)"/"+2029-/_0K%IDP6Q(\ J$'..5HTK
M`?\C873T(5U7#SGG&]4ZYC/%!1;!`'OP``,`$! ``````P`1$ $```! ```#T``0````4```!213H@``````,`#33]
%-P``PI0C
`
end
| Вернуться в корень Архива
|