Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C - error while passing parameters Pin
Manfred Rudolf Bihy26-Dec-10 10:08
professionalManfred Rudolf Bihy26-Dec-10 10:08 
GeneralRe: C - error while passing parameters Pin
Chuck O'Toole26-Dec-10 15:39
Chuck O'Toole26-Dec-10 15:39 
GeneralRe: C - error while passing parameters Pin
Manfred Rudolf Bihy27-Dec-10 4:06
professionalManfred Rudolf Bihy27-Dec-10 4:06 
AnswerRe: C - error while passing parameters Pin
jadughar26-Dec-10 21:02
jadughar26-Dec-10 21:02 
QuestionIntegrating OpenCV with MFC in VC 6.0 SP 6 Pin
Vaclav_26-Dec-10 6:32
Vaclav_26-Dec-10 6:32 
AnswerRe: Integrating OpenCV with MFC in VC 6.0 SP 6 Pin
Tony Richards26-Dec-10 9:50
Tony Richards26-Dec-10 9:50 
QuestionHow can I draw an animation on a transparent window using Windows API? Pin
Asaf Pinhassi26-Dec-10 3:42
Asaf Pinhassi26-Dec-10 3:42 
AnswerRe: How can I draw an animation on a transparent window using Windows API? Pin
jk chan26-Dec-10 18:48
jk chan26-Dec-10 18:48 
QuestionShockwave object questions - strange behaviour, very frustrating Pin
sgergo25-Dec-10 23:15
sgergo25-Dec-10 23:15 
Questionresizing a dialog Pin
Krauze25-Dec-10 13:57
Krauze25-Dec-10 13:57 
AnswerRe: resizing a dialog Pin
Richard MacCutchan25-Dec-10 23:10
mveRichard MacCutchan25-Dec-10 23:10 
AnswerRe: resizing a dialog Pin
Maximilien26-Dec-10 4:11
Maximilien26-Dec-10 4:11 
QuestionHow to print from a service? Pin
martinergb24-Dec-10 21:19
martinergb24-Dec-10 21:19 
AnswerRe: How to print from a service? Pin
Dr.Walt Fair, PE25-Dec-10 7:54
professionalDr.Walt Fair, PE25-Dec-10 7:54 
GeneralRe: How to print from a service? Pin
martinergb26-Dec-10 2:04
martinergb26-Dec-10 2:04 
GeneralRe: How to print from a service? Pin
Ralf.Bue26-Dec-10 4:50
Ralf.Bue26-Dec-10 4:50 
GeneralRe: How to print from a service? Pin
martinergb26-Dec-10 8:06
martinergb26-Dec-10 8:06 
GeneralRe: How to print from a service? Pin
Ralf.Bue30-Dec-10 8:22
Ralf.Bue30-Dec-10 8:22 
QuestionImage Flicker Pin
john563224-Dec-10 0:31
john563224-Dec-10 0:31 
GeneralRe: Image Flicker Pin
Luc Pattyn24-Dec-10 1:00
sitebuilderLuc Pattyn24-Dec-10 1:00 
AnswerRe: Image Flicker Pin
followait24-Dec-10 5:14
followait24-Dec-10 5:14 
AnswerRe: Image Flicker Pin
LunaticFringe24-Dec-10 7:10
LunaticFringe24-Dec-10 7:10 
AnswerRe: Image Flicker Pin
Stephen Hewitt25-Dec-10 1:11
Stephen Hewitt25-Dec-10 1:11 
AnswerRe: Image Flicker Pin
Rozis25-Dec-10 5:36
Rozis25-Dec-10 5:36 
Questionproblem with outlook application object Pin
dharani24-Dec-10 0:31
dharani24-Dec-10 0:31 
Hello all
Good day . Though this question is not relevant to MFC or Win32 but to do with VB generic behavior =>
I have a outlook plugin ( COM plugin ) developed in VB 6.0 . We have an external application which uses the outlook addin to get the contact details from outlook. The problem is here =>

We create a new application object and free it as below =>

Set gApp = New Outlook.Application

....

Set gApp = Nothing

After this code is executed when we click on outlook application it says "Operation failed" . It looks like the outlook application object is not well freed by the statement Set gApp = Nothing . But I checked by adding the line below to ensure if the gApp is really free or not .

If gApp is Nothing
Then Log("gApp is free")
Else
Log ( "gApp is not free")
Endif


Even after this check it shows gApp is free which does not seem to be the case .
What can I further do to make sure the object is really made NULL !!!!

Going crazy with VB

regards
redindian

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.