The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

COM error

Last post 05-12-2008 9:40 AM by morbiuswilters. 24 replies.
Page 1 of 1 (25 items)
Sort Posts: Previous Next
  • 05-08-2008 5:00 PM

    COM error

    Okay, Google's been no help on this, so maybe you people can help me. I'm no Windows programming expert by any means. At start-up of my app, I'm getting "Invalid reference, COM object does not exist" errors. Anyone ever experienced this? What's the likely culprit?

  • 05-08-2008 5:02 PM In reply to

    Re: COM error

     What version of Windows?

    Filed under:
  • 05-08-2008 5:03 PM In reply to

    Re: COM error

    Windows XP. I've tried using SSDS, but it was no help, either!

  • 05-08-2008 5:04 PM In reply to

    Re: COM error

    bstorer:
    Windows XP

    What language/platform?

    Filed under:
  • 05-08-2008 5:06 PM In reply to

    Re: COM error

    MasterPlanSoftware:
    What language/platform?

    Oh, yeah. That information might've helped. It's C++ with VS.NET.

  • 05-08-2008 5:11 PM In reply to

    Re: COM error

    bstorer:
    MasterPlanSoftware:
    What language/platform?

    Oh, yeah. That information might've helped. It's C++ with VS.NET.

     

    Got a sample of the code?

    Filed under:
  • 05-08-2008 5:12 PM In reply to

    Re: COM error

    bstorer:
    MasterPlanSoftware:
    What language/platform?

    Oh, yeah. That information might've helped. It's C++ with VS.NET.

    Jeez, I must have C++ on the brain or something. It's written in C#.

  • 05-08-2008 5:14 PM In reply to

    Re: COM error

    bstorer:
    It's written in C#.

    Ahh that should be even easier to help with then.

    What does the app do?

    Filed under:
  • 05-08-2008 5:22 PM In reply to

    Re: COM error

    bstorer:
    Jeez, I must have C++ on the brain or something. It's written in C#.
     

    Nah, you just forgot the top row of '+'s.

     

    Heh.

    Filed under:
  • 05-08-2008 5:42 PM In reply to

    Re: COM error

    bstorer:

    Windows XP. I've tried using SSDS, but it was no help, either!

     

    Off chance, are you running SP2?

    Filed under:
  • 05-09-2008 9:22 AM In reply to

    Re: COM error

    bstorer:

    Okay, Google's been no help on this, so maybe you people can help me. I'm no Windows programming expert by any means. At start-up of my app, I'm getting "Invalid reference, COM object does not exist" errors. Anyone ever experienced this? What's the likely culprit?

    Have you tried rebooting?  That fixes most problems in Windoze.  Also, you are writing in C# -- do you happen to be trying to compare objects with ==?  There was a thread a few days ago about a bug in C# that causes object comparisons with == to fail. 

    < pstorer> Bans don't mean shit on the forum. It's like being on the Sex Offender List. You can still entice kids into your van with candy.

    Want more? Go the IRC channel #TDWTFMafia on irc.slashnet.org.

    Bush^3 vs. /O(s|b)ama Bi(n La)?den/ -- YOU DECIDE!
  • 05-09-2008 9:25 AM In reply to

    Re: COM error

    morbiuswilters:
    That fixes most problems in Windoze. 
     

    Anti-MS trolling.

    morbiuswilters:
    There was a thread a few days ago about a bug in C# that causes object comparisons with == to fail. 

    That was Java.

     

    Geez Morbius you are becoming quite the troll lately.

  • 05-09-2008 10:05 AM In reply to

    Re: COM error

    what type of stuff are you trying to reference in your project? You might have the wrapper class in your .Net references list, but the COM dll necessary is missing or upgraded. Are you using any COM interop features, or third party controls that might be doing it. If none of these apply, are you using P/Invoke to call a native dll that might be using COM ?

  • 05-09-2008 2:05 PM In reply to

    Re: COM error

    I figured it out. I used my knowledge of C++ and Java, and passed the code into g++ and then piped it to javac. Problem solved. Also, it was just a problem with initializing dependencies in the wrong order.

  • 05-09-2008 2:54 PM In reply to

    Re: COM error

    bstorer:

    I figured it out. I used my knowledge of C++ and Java, and passed the code into g++ and then piped it to javac. Problem solved. Also, it was just a problem with initializing dependencies in the wrong order.

    Should have used Linux to begin with.  I don't know why you're wasting time with this C# garbage from a convicted monopolist.

    < pstorer> Bans don't mean shit on the forum. It's like being on the Sex Offender List. You can still entice kids into your van with candy.

    Want more? Go the IRC channel #TDWTFMafia on irc.slashnet.org.

    Bush^3 vs. /O(s|b)ama Bi(n La)?den/ -- YOU DECIDE!
  • 05-09-2008 4:20 PM In reply to

    Re: COM error

    morbiuswilters:
    Should have used Linux to begin with.
     

    Yeah then you could have just edited your /etc/COM/COM.config file and added:

    -rr 5674

    -f 7838

    ...etc. Noodles, jam it, etc etc.

    morbiuswilters:
    I don't know why you're wasting time with this C# garbage from a convicted monopolist.

    You are such a TROLL. Go back to IRC, stay off our forums.

  • 05-10-2008 2:25 AM In reply to

    Re: COM error

    morbiuswilters:
    Should have used Linux to begin with.  I don't know why you're wasting time with this C# garbage from a convicted monopolist.

    Because it's a decent language built on a reasonably well-thought-out platform using an OS that has market penetration sufficient for people to sob 'monopoly' reflexively?   It's not like jumping on the "perl/python/ruby/php on Linux" bandwagons is going to make you a iconoclast. 

    I think there might be a version of Smalltalk for the Amiga out there somewhere if you really want something that'll make you stand out in a "My technology is the best, but I still can't get a job" sort of way.

    -cw

  • 05-10-2008 2:51 AM In reply to

    • ammoQ
    • Top 10 Contributor
    • Joined on 04-13-2005
    • Vienna.Austria.Europe.Earth
    • Posts 3,326

    Re: COM error

    Is there any particular reason why everybody feeds the troll?

    beanbag girl 4ever
  • 05-10-2008 12:49 PM In reply to

    Re: COM error

    CodeWhisperer:

    morbiuswilters:
    Should have used Linux to begin with.  I don't know why you're wasting time with this C# garbage from a convicted monopolist.

    Because it's a decent language built on a reasonably well-thought-out platform using an OS that has market penetration sufficient for people to sob 'monopoly' reflexively?   It's not like jumping on the "perl/python/ruby/php on Linux" bandwagons is going to make you a iconoclast. 

    I think there might be a version of Smalltalk for the Amiga out there somewhere if you really want something that'll make you stand out in a "My technology is the best, but I still can't get a job" sort of way.

    -cw

    What part of my post was incorrect?  He solved the problem with Free Software and I just pointed out he should have gone that route to begin with.  Do you have some hidden agenda that makes you want to waste pstorer's precious time?  Perhaps "C# garbage" was a bit harsh, but C# obviously didn't help the OP.  Also, Microsoft is a convicted monopolist.  That's just a fact and I must have hit pretty close to home to get you riled up like that.  You may not like the decision the legal system made, but you can't rewrite history.  I actually have two jobs: I bag groceries at a Safeway during the week and I program websites in ColdFusion over the weekend.  Actually, three jobs if you count selling nugz to the college students around here.  I make lots of money and live in a luxury apartment.  That's better than your single job, which by your tone must be at Microsoft because you are so quick to defend it.

    < pstorer> Bans don't mean shit on the forum. It's like being on the Sex Offender List. You can still entice kids into your van with candy.

    Want more? Go the IRC channel #TDWTFMafia on irc.slashnet.org.

    Bush^3 vs. /O(s|b)ama Bi(n La)?den/ -- YOU DECIDE!
  • 05-10-2008 4:40 PM In reply to

    Re: COM error

    ammoQ:

    Is there any particular reason why everybody feeds the troll?

    For gems like this:

    morbiuswilters:
    three jobs if you count selling nugz to the college students around here.  I make lots of money and live in a luxury apartment

    You can't make this stuff up.  Well, maybe this guy can, from the basement of his parent's home.

    -cw

  • 05-10-2008 8:31 PM In reply to

    Re: COM error

    CodeWhisperer:

    For gems like this:

    morbiuswilters:
    three jobs if you count selling nugz to the college students around here.  I make lots of money and live in a luxury apartment

    You can't make this stuff up.  Well, maybe this guy can, from the basement of his parent's home.

    -cw

    Why you gotta be hatin' on someone who gots what you cannot have?  I didn't realize this site was The Daily Player Hater (TDPH).  I'd show you pictures of my girl, but you'd probably make some ignorant comment about that, too, so instead I'll leave you to your homely wife.

     

    Dude, TRPH is you.  It's been awhile since me and my boys from BK had to ride out on a fool for showin' disrespect.

     

    Peace. 

    < pstorer> Bans don't mean shit on the forum. It's like being on the Sex Offender List. You can still entice kids into your van with candy.

    Want more? Go the IRC channel #TDWTFMafia on irc.slashnet.org.

    Bush^3 vs. /O(s|b)ama Bi(n La)?den/ -- YOU DECIDE!
  • 05-10-2008 8:34 PM In reply to

    Re: COM error

     Morbius, wicked JimBastard impression, but your forgot to represent your 'triple nines' and spell everything wrong.

  • 05-11-2008 4:08 PM In reply to

    Re: COM error

    morbiuswilters:

    Dude, TRPH is you.  It's been awhile since me and my boys from BK had to ride out on a fool for showin' disrespect.

    Oh no!  He's (suddenly) speaking in patois! 

    Sigh.

    I mean, really?   Empty threats against someone on the internet because they weren't swayed by the "I live in a luxury apartment" argument? 

    I could sit here and drop some more snark, but honestly, nothing I can say will make you look more foolish than you just did on your own.  Good work.

    -cw

  • 05-11-2008 10:23 PM In reply to

    Re: COM error

    CodeWhisperer:
    make you look more foolish than you just did on your own. 
     

    Like I said in my last post, it is an obvious impersonation of JImBastard who has been trolling this site and our IRC channel for far too long.

    I agree that morbius is stretching this joke out a bit too far perhaps, as not everyone is in on the inside joke(s) that have developed.

  • 05-12-2008 9:40 AM In reply to

    Re: COM error