Click here to Skip to main content
15,867,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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

AnswerRe: problem with outlook application object Pin
Richard MacCutchan24-Dec-10 2:31
mveRichard MacCutchan24-Dec-10 2:31 
AnswerRe: problem with outlook application object Pin
Roger Broomfield24-Dec-10 4:19
Roger Broomfield24-Dec-10 4:19 
GeneralRe: problem with outlook application object Pin
Richard MacCutchan24-Dec-10 5:11
mveRichard MacCutchan24-Dec-10 5:11 
GeneralRe: problem with outlook application object Pin
Roger Broomfield24-Dec-10 5:38
Roger Broomfield24-Dec-10 5:38 
QuestionHow to check the memory leak Pin
yu-jian23-Dec-10 22:03
yu-jian23-Dec-10 22:03 
AnswerRe: How to check the memory leak Pin
jk chan23-Dec-10 22:39
jk chan23-Dec-10 22:39 
AnswerRe: How to check the memory leak Pin
Hadi Dayvary23-Dec-10 22:47
professionalHadi Dayvary23-Dec-10 22:47 
AnswerRe: How to check the memory leak Pin
T210224-Dec-10 2:37
T210224-Dec-10 2:37 
AnswerRe: How to check the memory leak Pin
LunaticFringe24-Dec-10 7:54
LunaticFringe24-Dec-10 7:54 
AnswerRe: How to check the memory leak Pin
yu-jian26-Dec-10 16:09
yu-jian26-Dec-10 16:09 
GeneralRe: How to check the memory leak Pin
pacchij27-Dec-10 11:11
pacchij27-Dec-10 11:11 
Questionthrow exception after allocating some memory [modified] Pin
followait23-Dec-10 20:14
followait23-Dec-10 20:14 
QuestionRe: throw exception after allocating some memory Pin
CPallini23-Dec-10 21:12
mveCPallini23-Dec-10 21:12 
AnswerRe: throw exception after allocating some memory Pin
followait23-Dec-10 21:38
followait23-Dec-10 21:38 
QuestionRe: throw exception after allocating some memory Pin
CPallini23-Dec-10 22:00
mveCPallini23-Dec-10 22:00 
AnswerRe: throw exception after allocating some memory Pin
bleedingfingers23-Dec-10 21:40
bleedingfingers23-Dec-10 21:40 
AnswerRe: throw exception after allocating some memory Pin
jk chan23-Dec-10 21:46
jk chan23-Dec-10 21:46 

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.