Click here to Skip to main content
15,893,564 members
Home / Discussions / COM
   

COM

 
GeneralRe: get_LastLogoff() fails with Unknown error Pin
JoeSchmoe00720-Aug-08 4:52
JoeSchmoe00720-Aug-08 4:52 
GeneralRe: get_LastLogoff() fails with Unknown error Pin
Nibu babu thomas21-Aug-08 1:48
Nibu babu thomas21-Aug-08 1:48 
GeneralRe: get_LastLogoff() fails with Unknown error Pin
JoeSchmoe00721-Aug-08 4:35
JoeSchmoe00721-Aug-08 4:35 
QuestionHow to execute exe file in ATL COM Pin
am 200919-Aug-08 1:45
am 200919-Aug-08 1:45 
AnswerRe: How to execute exe file in ATL COM Pin
CPallini19-Aug-08 2:03
mveCPallini19-Aug-08 2:03 
AnswerRe: How to execute exe file in ATL COM Pin
sivagnaesh22-Aug-08 2:12
sivagnaesh22-Aug-08 2:12 
AnswerRe: How to execute exe file in ATL COM Pin
Michael Dunn29-Aug-08 13:37
sitebuilderMichael Dunn29-Aug-08 13:37 
QuestionAccessViolationException on Vista if not run in debugger?! [modified] Pin
mav.northwind18-Aug-08 8:31
mav.northwind18-Aug-08 8:31 
Hi!
I'm using a COM DLL from a third party to access some hardware. The main application is written in C# and I can create the object and use it on XP without problems using an interop assembly created with tlbimp.
When I try the same on Vista SP1, I get an AccessViolationException on the first method call into the COM object.
The really weird thing is: The COM DLL only crashes when I call my application outside of VS, i.e. when I'm not trying to debug it. When stepping through the code in VS (2005 SP1), everything works as on Windows XP! Running the same executable from the debug directory crashes...

Can anyone explain this behaviour or tell me where to look next?

Thanks in advance!

Update:
The DLL also crashes in VS when I turn off the VS host process or when I first start the application and attach the debugger. So the big question is: What exactly does this VS host process do to keep the DLL from crashing?

Regards,
mav

--
Black holes are the places where God divided by 0...

modified on Tuesday, August 19, 2008 7:05 AM

AnswerRe: AccessViolationException on Vista if not run in debugger?! Pin
User 21559718-Aug-08 18:38
User 21559718-Aug-08 18:38 
GeneralRe: AccessViolationException on Vista if not run in debugger?! Pin
mav.northwind19-Aug-08 0:27
mav.northwind19-Aug-08 0:27 
GeneralRe: AccessViolationException on Vista if not run in debugger?! Pin
User 21559719-Aug-08 0:49
User 21559719-Aug-08 0:49 
AnswerRe: AccessViolationException on Vista if not run in debugger?! Pin
mav.northwind1-Sep-08 21:56
mav.northwind1-Sep-08 21:56 
GeneralRe: AccessViolationException on Vista if not run in debugger?! Pin
User 2155971-Sep-08 22:45
User 2155971-Sep-08 22:45 
QuestionDrag and Drop in IShellFolder Pin
Kai-Uwe Schmidt18-Aug-08 7:06
Kai-Uwe Schmidt18-Aug-08 7:06 
QuestionI want to invoke a queued component which is in another system from the asp Pin
kundan nath18-Aug-08 3:16
kundan nath18-Aug-08 3:16 
Questionshell extension infotip with more than text Pin
jb0817-Aug-08 23:27
jb0817-Aug-08 23:27 
AnswerRe: shell extension infotip with more than text Pin
CPallini18-Aug-08 0:00
mveCPallini18-Aug-08 0:00 
GeneralRe: shell extension infotip with more than text Pin
jb0818-Aug-08 3:30
jb0818-Aug-08 3:30 
QuestionHow to open IExplorer window from within Outlook Add-in Pin
Maciej Donotek12-Aug-08 0:38
Maciej Donotek12-Aug-08 0:38 
AnswerRe: How to open IExplorer window from within Outlook Add-in Pin
User 21559712-Aug-08 2:11
User 21559712-Aug-08 2:11 
GeneralRe: How to open IExplorer window from within Outlook Add-in Pin
Maciej Donotek12-Aug-08 2:42
Maciej Donotek12-Aug-08 2:42 
AnswerRe: How to open IExplorer window from within Outlook Add-in Pin
User 21559712-Aug-08 5:13
User 21559712-Aug-08 5:13 
GeneralRe: How to open IExplorer window from within Outlook Add-in Pin
Maciej Donotek12-Aug-08 7:18
Maciej Donotek12-Aug-08 7:18 
GeneralRe: How to open IExplorer window from within Outlook Add-in Pin
User 21559712-Aug-08 19:12
User 21559712-Aug-08 19:12 
QuestionCan I create addin for Outlook2002 in VS2005 Pin
wasimsharp11-Aug-08 23:06
wasimsharp11-Aug-08 23:06 

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.