Click here to Skip to main content
16,015,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionEquivalent of POSIX pthread_cond_t in Windows threading API? Pin
paul_a_chapman14-Mar-06 4:52
paul_a_chapman14-Mar-06 4:52 
AnswerRe: Equivalent of POSIX pthread_cond_t in Windows threading API? Pin
Nemanja Trifunovic14-Mar-06 6:48
Nemanja Trifunovic14-Mar-06 6:48 
GeneralRe: Equivalent of POSIX pthread_cond_t in Windows threading API? Pin
paul_a_chapman14-Mar-06 21:24
paul_a_chapman14-Mar-06 21:24 
Questionwhy does barcode need special font? Pin
includeh1014-Mar-06 4:43
includeh1014-Mar-06 4:43 
AnswerRe: why does barcode need special font? Pin
David Crow14-Mar-06 5:24
David Crow14-Mar-06 5:24 
QuestionOpen a external application due tu the document type Pin
Alfred Willi14-Mar-06 4:42
Alfred Willi14-Mar-06 4:42 
AnswerRe: Open a external application due tu the document type Pin
includeh1014-Mar-06 4:50
includeh1014-Mar-06 4:50 
AnswerRe: Open a external application due tu the document type Pin
David Crow14-Mar-06 5:40
David Crow14-Mar-06 5:40 
Alfred Willi wrote:

How can I implement this functionality in my application, working under Visual C++ / MFC ?


Use ShellExecute() with the "open" verb will open the associated application.

Otherwise, if you are wanting to know how to register your own file type, this is handled for you automatically by MFC's AppWizard. It will create a .reg file in your project that can be merged on the target machine. Check out CWinApp::EnableShellOpen() and CWinApp::RegisterShellFileTypes().


"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

"There is no death, only a change of worlds." - Native American Proverb


GeneralRe: Open a external application due tu the document type Pin
Alfred Willi16-Mar-06 4:56
Alfred Willi16-Mar-06 4:56 
QuestionBlue Screen Pin
Aqueel14-Mar-06 4:10
Aqueel14-Mar-06 4:10 
Questionview computers in my lan Pin
User 242973714-Mar-06 4:04
User 242973714-Mar-06 4:04 
AnswerRe: view computers in my lan Pin
David Crow14-Mar-06 4:23
David Crow14-Mar-06 4:23 
GeneralRe: view computers in my lan Pin
User 242973714-Mar-06 4:40
User 242973714-Mar-06 4:40 
GeneralRe: view computers in my lan Pin
David Crow14-Mar-06 5:35
David Crow14-Mar-06 5:35 
GeneralRe: view computers in my lan Pin
User 242973714-Mar-06 8:18
User 242973714-Mar-06 8:18 
GeneralRe: view computers in my lan Pin
ThatsAlok14-Mar-06 18:28
ThatsAlok14-Mar-06 18:28 
GeneralRe: view computers in my lan Pin
User 242973714-Mar-06 20:18
User 242973714-Mar-06 20:18 
Questionwchat_t to normal char Pin
RichardS14-Mar-06 4:00
RichardS14-Mar-06 4:00 
GeneralRe: wchat_t to normal char Pin
Michael Dunn14-Mar-06 8:39
sitebuilderMichael Dunn14-Mar-06 8:39 
AnswerRe: wchat_t to normal char Pin
David Crow14-Mar-06 4:26
David Crow14-Mar-06 4:26 
AnswerRe: wchat_t to normal char Pin
Nemanja Trifunovic14-Mar-06 6:52
Nemanja Trifunovic14-Mar-06 6:52 
AnswerRe: wchat_t to normal char Pin
ThatsAlok14-Mar-06 18:29
ThatsAlok14-Mar-06 18:29 
Questionhow to Acesss Remote Database through Internet Pin
J512198214-Mar-06 3:38
J512198214-Mar-06 3:38 
QuestionSetting color of text with printf() Pin
jerry1211a14-Mar-06 3:22
jerry1211a14-Mar-06 3:22 
AnswerRe: Setting color of text with printf() Pin
David Crow14-Mar-06 4:28
David Crow14-Mar-06 4:28 

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.