Click here to Skip to main content
15,917,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: TerminateThread returns with ERROR_ALREADY_EXISTS!! Pin
Adam Roderick J20-Oct-09 0:18
Adam Roderick J20-Oct-09 0:18 
GeneralRe: TerminateThread returns with ERROR_ALREADY_EXISTS!! Pin
karthiksharmasg20-Oct-09 0:39
karthiksharmasg20-Oct-09 0:39 
AnswerRe: TerminateThread returns with ERROR_ALREADY_EXISTS!! Pin
Cedric Moonen20-Oct-09 0:48
Cedric Moonen20-Oct-09 0:48 
GeneralRe: TerminateThread returns with ERROR_ALREADY_EXISTS!! Pin
karthiksharmasg20-Oct-09 1:09
karthiksharmasg20-Oct-09 1:09 
Questionstatic library resource dialogs not working in linking applications Pin
KASR119-Oct-09 22:47
KASR119-Oct-09 22:47 
AnswerRe: static library resource dialogs not working in linking applications Pin
Adam Roderick J20-Oct-09 0:15
Adam Roderick J20-Oct-09 0:15 
AnswerRe: static library resource dialogs not working in linking applications Pin
KASR120-Oct-09 0:49
KASR120-Oct-09 0:49 
AnswerRe: static library resource dialogs not working in linking applications Pin
cmk20-Oct-09 5:47
cmk20-Oct-09 5:47 
You need to include the .rc from the static library in your .exe list of resource includes.

e.g.
Test.lib has TestLib.rc with all resources for static lib i.e. dialog template.

Test.exe:
- in VC++ goto resource view for project
- right-click on TestExe.rc
- select Resource Includes ...
- add #include "TestLib.rc" to Compile-time directives

Test.exe will now pull-in resources from Test.lib when built.

...cmk

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack

GeneralRe: static library resource dialogs not working in linking applications Pin
KASR120-Oct-09 17:53
KASR120-Oct-09 17:53 
GeneralRe: static library resource dialogs not working in linking applications Pin
Adam Roderick J20-Oct-09 17:56
Adam Roderick J20-Oct-09 17:56 
GeneralRe: static library resource dialogs not working in linking applications Pin
KASR120-Oct-09 18:09
KASR120-Oct-09 18:09 
GeneralRe: static library resource dialogs not working in linking applications Pin
Adam Roderick J20-Oct-09 18:46
Adam Roderick J20-Oct-09 18:46 
QuestionEye detection using openCV in microsoft visual C++ Pin
fahira19-Oct-09 22:29
fahira19-Oct-09 22:29 
AnswerRe: Eye detection using openCV in microsoft visual C++ Pin
Adam Roderick J19-Oct-09 23:54
Adam Roderick J19-Oct-09 23:54 
QuestionNeed help for CStdioFile.Read Pin
Nicholas Amh19-Oct-09 21:13
Nicholas Amh19-Oct-09 21:13 
AnswerRe: Need help for CStdioFile.Read Pin
Richard MacCutchan19-Oct-09 21:59
mveRichard MacCutchan19-Oct-09 21:59 
GeneralRe: Need help for CStdioFile.Read Pin
Nicholas Amh19-Oct-09 22:21
Nicholas Amh19-Oct-09 22:21 
GeneralRe: Need help for CStdioFile.Read Pin
Richard MacCutchan19-Oct-09 22:52
mveRichard MacCutchan19-Oct-09 22:52 
AnswerRe: Need help for CStdioFile.Read Pin
theCPkid19-Oct-09 22:28
theCPkid19-Oct-09 22:28 
GeneralRe: Need help for CStdioFile.Read Pin
Nicholas Amh19-Oct-09 23:11
Nicholas Amh19-Oct-09 23:11 
GeneralRe: Need help for CStdioFile.Read Pin
theCPkid19-Oct-09 23:11
theCPkid19-Oct-09 23:11 
GeneralRe: Need help for CStdioFile.Read Pin
Nicholas Amh19-Oct-09 23:29
Nicholas Amh19-Oct-09 23:29 
GeneralRe: Need help for CStdioFile.Read Pin
theCPkid19-Oct-09 23:42
theCPkid19-Oct-09 23:42 
Questioncoloring a button Pin
ratprita19-Oct-09 20:28
ratprita19-Oct-09 20:28 
AnswerRe: coloring a button Pin
theCPkid19-Oct-09 20:52
theCPkid19-Oct-09 20:52 

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.