Click here to Skip to main content
15,901,284 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionautomatically click a button in another application Pin
Russell'15-Oct-08 9:34
Russell'15-Oct-08 9:34 
QuestionRe: automatically click a button in another application Pin
David Crow15-Oct-08 10:57
David Crow15-Oct-08 10:57 
AnswerRe: automatically click a button in another application Pin
Russell'15-Oct-08 11:28
Russell'15-Oct-08 11:28 
GeneralRe: automatically click a button in another application Pin
Russell'15-Oct-08 11:57
Russell'15-Oct-08 11:57 
QuestionSpin Control Pin
WayneK10015-Oct-08 9:03
WayneK10015-Oct-08 9:03 
AnswerRe: Spin Control Pin
David Crow15-Oct-08 10:58
David Crow15-Oct-08 10:58 
QuestionWhy the activex .ocx can't find msvcr80.dll & mfc80.dll even if I install the 2005 sp1 redist.exe ? Pin
oppstp15-Oct-08 7:11
oppstp15-Oct-08 7:11 
GeneralRe: Why the activex .ocx can't find msvcr80.dll & mfc80.dll even if I install the 2005 sp1 redist.exe ? Pin
oppstp16-Oct-08 0:07
oppstp16-Oct-08 0:07 
My problem is solved now.

It might be the reason of wrong manifest file.
I solved this problem by commenting on the lstrcpyn() function. This function is used for querying the filter name.

After this step, the ProgramNameActiveX.ocx.intermediate.manifest contains two dependency item (Microsoft.VC80.CRT and Microsoft.VC80.MFC)
And the .cab can be installed correctly.

If I don't comment on this function, there will be a warning message.
msvcrt.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrtd.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
Then the ProgramNameActiveX.ocx.intermediate.manifest contains three dependency item. (Microsoft.VC80.CRT, Microsoft.VC80.MFC and Microsoft.VC80.DebugCRT)
Then the .cab can't be installed correctly and the.ocx can't be registered by hand.

But I still don't know why comment on this code can let the program work.
The sample "AudioCap" in platform sdk use this function too.
I also checked the project setting about Runtime Library. My project is the same as the sample "Audio Cap".
But the sample can work without adding the comment.
QuestionMFC App (Visual Studio 6) hangs when you click File, Open. Pin
Keith (MapMan)15-Oct-08 5:37
Keith (MapMan)15-Oct-08 5:37 
QuestionRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Mark Salsbery15-Oct-08 6:04
Mark Salsbery15-Oct-08 6:04 
AnswerRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Keith (MapMan)15-Oct-08 6:12
Keith (MapMan)15-Oct-08 6:12 
GeneralRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Mark Salsbery15-Oct-08 6:22
Mark Salsbery15-Oct-08 6:22 
GeneralRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Keith (MapMan)15-Oct-08 6:45
Keith (MapMan)15-Oct-08 6:45 
GeneralRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Mark Salsbery15-Oct-08 6:54
Mark Salsbery15-Oct-08 6:54 
GeneralRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Keith (MapMan)15-Oct-08 7:12
Keith (MapMan)15-Oct-08 7:12 
GeneralRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Keith (MapMan)15-Oct-08 22:55
Keith (MapMan)15-Oct-08 22:55 
GeneralRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Mark Salsbery16-Oct-08 4:14
Mark Salsbery16-Oct-08 4:14 
QuestionRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
David Crow15-Oct-08 7:23
David Crow15-Oct-08 7:23 
AnswerRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Keith (MapMan)15-Oct-08 22:40
Keith (MapMan)15-Oct-08 22:40 
QuestionRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Cosmic Egg15-Oct-08 6:07
Cosmic Egg15-Oct-08 6:07 
AnswerRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
jeron115-Oct-08 6:17
jeron115-Oct-08 6:17 
AnswerRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Keith (MapMan)15-Oct-08 6:21
Keith (MapMan)15-Oct-08 6:21 
GeneralRe: MFC App (Visual Studio 6) hangs when you click File, Open. Pin
Cosmic Egg15-Oct-08 6:34
Cosmic Egg15-Oct-08 6:34 
QuestionAnalysing dump files Pin
rajandpayal15-Oct-08 4:53
rajandpayal15-Oct-08 4:53 
QuestionCompare two icons(.gif) Pin
Subrat 470826615-Oct-08 3:43
Subrat 470826615-Oct-08 3:43 

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.