Click here to Skip to main content
16,011,870 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: type confusion with _bstr_t Pin
Michael Dunn20-Jul-05 10:42
sitebuilderMichael Dunn20-Jul-05 10:42 
GeneralValid UNICODE character Pin
John R. Shaw20-Jul-05 8:30
John R. Shaw20-Jul-05 8:30 
QuestionUSB device/hub reset? Pin
jaycush20-Jul-05 7:51
jaycush20-Jul-05 7:51 
AnswerRe: USB device/hub reset? Pin
jaycush21-Jul-05 4:24
jaycush21-Jul-05 4:24 
Generalkilling dll Pin
Ann6620-Jul-05 6:45
sussAnn6620-Jul-05 6:45 
GeneralRe: killing dll Pin
Marc Soleda20-Jul-05 7:03
Marc Soleda20-Jul-05 7:03 
GeneralRe: killing dll Pin
Ann6620-Jul-05 8:07
sussAnn6620-Jul-05 8:07 
GeneralRe: killing dll Pin
David Crow20-Jul-05 9:34
David Crow20-Jul-05 9:34 
Ann66 wrote:
I tried the freelibrary() as you suggested but still does'nt work...

FreeLibrary() does more than just unload a DLL. In reality, it decrements the reference count of the DLL. Only when the reference count reaches zero does the DLL get unmapped from your process' address space. The fact that the DLL is still open after your EXE has terminated is an indication that your EXE has possibly created another thread which incremented the reference count of the DLL. Can you confirm/deny this?



"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown


GeneralRe: killing dll Pin
Ann6620-Jul-05 11:06
sussAnn6620-Jul-05 11:06 
GeneralRe: killing dll Pin
David Crow21-Jul-05 2:34
David Crow21-Jul-05 2:34 
GeneralWinExec Pin
Usman Tasleem Akshaf20-Jul-05 6:07
Usman Tasleem Akshaf20-Jul-05 6:07 
GeneralRe: WinExec Pin
berndg20-Jul-05 6:15
berndg20-Jul-05 6:15 
GeneralRe: WinExec Pin
Usman Tasleem Akshaf20-Jul-05 6:39
Usman Tasleem Akshaf20-Jul-05 6:39 
GeneralRe: WinExec Pin
Trollslayer20-Jul-05 6:46
mentorTrollslayer20-Jul-05 6:46 
GeneralRe: WinExec Pin
Usman Tasleem Akshaf20-Jul-05 6:52
Usman Tasleem Akshaf20-Jul-05 6:52 
GeneralRe: WinExec Pin
Trollslayer20-Jul-05 10:26
mentorTrollslayer20-Jul-05 10:26 
GeneralRe: WinExec Pin
berndg20-Jul-05 6:50
berndg20-Jul-05 6:50 
GeneralRe: WinExec Pin
Usman Tasleem Akshaf20-Jul-05 6:56
Usman Tasleem Akshaf20-Jul-05 6:56 
GeneralRe: WinExec Pin
toxcct20-Jul-05 20:44
toxcct20-Jul-05 20:44 
GeneralMultiple FIles to be read from 1 directory in C++ Pin
LCI20-Jul-05 6:04
LCI20-Jul-05 6:04 
GeneralRe: Multiple FIles to be read from 1 directory in C++ Pin
Trollslayer20-Jul-05 6:43
mentorTrollslayer20-Jul-05 6:43 
GeneralRe: Multiple FIles to be read from 1 directory in C++ Pin
LCI20-Jul-05 7:02
LCI20-Jul-05 7:02 
GeneralRe: Multiple FIles to be read from 1 directory in C++ Pin
David Crow20-Jul-05 8:41
David Crow20-Jul-05 8:41 
Generalreturn an array Pin
Halawlaws20-Jul-05 5:37
Halawlaws20-Jul-05 5:37 
GeneralRe: return an array Pin
toxcct20-Jul-05 5:41
toxcct20-Jul-05 5:41 

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.