Click here to Skip to main content
15,881,173 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [C++ Error] exception(15): E2141 Declaration syntax error Pin
UKM_Student11-Sep-09 8:11
UKM_Student11-Sep-09 8:11 
GeneralThanks UKM_Student I'm looking at code blocks right now Pin
gordon305611-Sep-09 8:37
gordon305611-Sep-09 8:37 
QuestionOdd bug in CMFCToolbarComboBoxButton class Pin
Santanu Lahiri11-Sep-09 5:17
Santanu Lahiri11-Sep-09 5:17 
AnswerRe: Odd bug in CMFCToolbarComboBoxButton class Pin
PatrikE20-Oct-09 4:42
PatrikE20-Oct-09 4:42 
GeneralRe: Odd bug in CMFCToolbarComboBoxButton class [modified] Pin
Santanu Lahiri20-Oct-09 10:00
Santanu Lahiri20-Oct-09 10:00 
AnswerSOLUTION!!: Odd bug in CMFCToolbarComboBoxButton class Pin
PatrikE20-Oct-09 5:27
PatrikE20-Oct-09 5:27 
GeneralRe: SOLUTION!!: Odd bug in CMFCToolbarComboBoxButton class Pin
Santanu Lahiri20-Oct-09 10:07
Santanu Lahiri20-Oct-09 10:07 
QuestionHow to unlock locked file using Win32 API? [modified] Pin
JoeSchmoe00711-Sep-09 4:55
JoeSchmoe00711-Sep-09 4:55 
My problem is similar to the one described here:

http://www-01.ibm.com/support/docview.wss?rs=1079&context=SS2KS6&dc=DB520&uid=swg21230924

In our application we have DLL that is used to write information to Event
Log. Problem is when I need uninstall/upgrade our application this DLL is
often locked after our application is shut down
and it requires computer reboot which is undesirable.

For what it's worth - our application is a service. All other .DLL/.EXE files are successfully deleted by uninstall after service is stopped. Or they can be deleted manually if service is stopped.

I know there is a way to unlock/delete this file because this is what
Unlocker application does (http://ccollomb.free.fr/unlocker/)

Does anyone have any ideas on how this is achieved using Windows API?

modified on Friday, September 11, 2009 11:30 AM

QuestionRe: How to unlock locked file using Win32 API? Pin
David Crow11-Sep-09 5:17
David Crow11-Sep-09 5:17 
AnswerFile is still locked after application is shut down. Pin
JoeSchmoe00711-Sep-09 5:30
JoeSchmoe00711-Sep-09 5:30 
GeneralRe: File is still locked after application is shut down. Pin
David Crow11-Sep-09 5:58
David Crow11-Sep-09 5:58 
GeneralRe: File is still locked after application is shut down. Pin
Nemanja Trifunovic11-Sep-09 8:08
Nemanja Trifunovic11-Sep-09 8:08 
AnswerRe: How to unlock locked file using Win32 API? Pin
Stuart Dootson11-Sep-09 21:37
professionalStuart Dootson11-Sep-09 21:37 
AnswerRe: How to unlock locked file using Win32 API? Pin
kilt14-Sep-09 2:21
kilt14-Sep-09 2:21 
QuestionBeginner's Question 2 Pin
UKM_Student11-Sep-09 4:37
UKM_Student11-Sep-09 4:37 
AnswerRe: Beginner's Question 2 Pin
David Crow11-Sep-09 4:41
David Crow11-Sep-09 4:41 
GeneralRe: Beginner's Question 2 Pin
UKM_Student11-Sep-09 4:44
UKM_Student11-Sep-09 4:44 
GeneralRe: Beginner's Question 2 Pin
David Crow11-Sep-09 4:48
David Crow11-Sep-09 4:48 
GeneralRe: Beginner's Question 2 Pin
UKM_Student11-Sep-09 4:56
UKM_Student11-Sep-09 4:56 
GeneralRe: Beginner's Question 2 Pin
UKM_Student11-Sep-09 4:55
UKM_Student11-Sep-09 4:55 
GeneralRe: Beginner's Question 2 Pin
David Crow11-Sep-09 5:13
David Crow11-Sep-09 5:13 
GeneralRe: Beginner's Question 2 Pin
UKM_Student11-Sep-09 5:23
UKM_Student11-Sep-09 5:23 
GeneralRe: Beginner's Question 2 Pin
Richard MacCutchan11-Sep-09 5:28
mveRichard MacCutchan11-Sep-09 5:28 
GeneralRe: Beginner's Question 2 Pin
UKM_Student13-Sep-09 4:34
UKM_Student13-Sep-09 4:34 
GeneralRe: Beginner's Question 2 Pin
Richard MacCutchan13-Sep-09 4:58
mveRichard MacCutchan13-Sep-09 4:58 

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.