Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

jparsons

@jparsons
About
Posts
231
Topics
31
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How can I get the version information about a DLL?
    J jparsons

    I need to know the major, minor, build and revision numbers. Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    C / C++ / MFC question announcement

  • Using ISyncMgrRegister
    J jparsons

    Wow that was a stupid mistake. Thanks Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    COM c++ com sales help announcement

  • Using ISyncMgrRegister
    J jparsons

    I'm trying to write my own customer SyncMgr component. I'm having some trouble loading up the ISyncMgrRegister object. I'm a little new to COM so I'm probably missing osmething obvious here. This is MC++ code. Can someone point me in the correct direction. #include "stdafx.h" #include "mobsync.h" #using using namespace System; int _tmain() { HRESULT hr = CoInitialize(NULL); if ( FAILED(hr) ) { Console::WriteLine(S"Cannot Initilaize com"); goto error; } ISyncMgrRegister *reg = NULL; hr = CoCreateInstance( CLSID_SyncMgr, NULL, CLSCTX_LOCAL_SERVER, IID_ISyncMgrRegister, reinterpret_cast(reg)); if ( FAILED(hr) ) { Console::WriteLine(S"Could not create an instance of the Sync Mgr"); goto error; } reg->Release(); Console::WriteLine(S"Press Enter to Exit"); Console::ReadLine(); return 0; error: Console::WriteLine(S"Press enter to exit"); Console::ReadLine(); return 1; } Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    COM c++ com sales help announcement

  • Process Owner and Parent
    J jparsons

    I know I'm missing something obvious. I'm writing a tool that does some dianostics on processes. I can't seem to figure out how to locate the name of the user running a process or the id of the parent process. Can someone please point me in the correct direction. Thanks Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    C# tutorial

  • How do I get an app to run on boot?
    J jparsons

    If you want the app to run when a user logs in then the suggestions already provided are the best way to do it. If you want the program to start on startup regardless of whether or not a user is logged in then you need to install the program as a windows service. There was a great article on how to do this on osnews just the other day. Below is a link www.osnews.com[^] Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    C# question

  • Redbull
    J jparsons

    It's like smoking. The first time you wonder why people do it. The second time you can't get enough of it. Now, the mere smell of red bull is like a caffeine shot in the arm Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    The Lounge question

  • Redbull
    J jparsons

    Jeremy Davis wrote: Vodka and Redbull That's for after my final this morning. Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    The Lounge question

  • Redbull
    J jparsons

    How did I make it through the first two years of college without you? You have been a true friend these last few weeks. Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    The Lounge question

  • The legal situation in America
    J jparsons

    Or recommend sterilization. Get the idiots out of the gene pool Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    The Back Room com question announcement career

  • Airline communications
    J jparsons

    Thanks. That gave me some much needed relief from finals studying Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    The Back Room adobe data-structures question

  • The legal situation in America
    J jparsons

    Okay. I have to throw out my little idea here. Such ridiculous lawsuits as

    • People sueing baby stroller manufactuerers because they accidently shut their baby. Claim it was the manufactuerer's fault because there was no warning label
    • Woman sueing McDonald's because she didn't realize the coffee was hot and it burnt her

    These people have prompted a new invention in my mind. It's call the darwin gun. Bailifs in civil court (and possibly criminal court) should all be equiped with this gun. When the plaintiff brings a suit such as those above they should be shot with the darwin gun. While producing no outward harm the darwin gun will sterilize the individual and thus remove their genes from future generations of the gene pool. Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    The Back Room com question announcement career

  • Rudolph the red-nosed torture master
    J jparsons

    Toasty0 wrote: Look into my . You are feeling happy. Your feet will twitch with anticipation of candy, goodies, and warm cider. Look into my . You feel the warm tingle of happiness enveloping your legs. Look into my ... Nah. I'm getting bad thoughts in my head Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    The Lounge

  • Dog and Cat Humor
    J jparsons

    Had this one sent to me recently. Enjoy EXCERPTS FROM A DOG'S DAILY DIARY: 8:00 a.m. Oh, boy! Dog food! My favorite! 9:30 a.m. Oh, boy! A car ride! My favorite! 9:40 a.m. Oh, boy! A walk! My favorite! 10:30 a.m. Oh, boy! Getting rubbed and petted! My favorite! 11:30 a.m.Oh, boy! Dog food! My favorite! Noon - Oh, boy! The kids! My favorite! 1:00 p.m. Oh, boy! The yard! My favorite! 4:00 p.m. Oh, boy! To the park! My favorite! 5:00 p.m. Oh, boy! Dog food! My favorite! 5:30 p.m. Oh, boy! Pretty Mums! My favorite! 6:00 p.m.. Oh, boy! Playing ball! My favorite! 6:30 p.m. Oh, boy! Watching TV with my master! My favorite! 8:30 p.m Oh, boy! Sleeping in master's bed! My favorite! EXCERPTS FROM A CAT'S DAILY DIARY: Day 183 of My Captivity: My captors continue to taunt me with bizarre little dangling objects. They dine lavishly on fresh meat, while I am forced to eat dry cereal. The only thing that keeps me going is the hope of escape, and the mild satisfaction I get from ruining the occasional piece of furniture. Tomorrow I may eat another houseplant. Today my attempt to kill my captors by weaving around their feet while they were walking almost succeeded, must try this at the top of the stairs. In an attempt to disgust and repulse these vile oppressors, I once again induced myself to vomit on their favorite chair, must try this on their bed. Decapitated a mouse and brought them the headless body, in an attempt to make them aware of what I am capable of, and to try to strike fear into their hearts. They only cooed and condescended about what a good little cat I was. Hmmm, not working according to plan. There was some sort of gathering of their accomplices. I was placed in solitary confinement throughout the event. However, I could hear the noise and smell the food. More importantly, I overheard that my confinement was due to my power of "allergies." Must learn what this is and how to use it to my advantage. I am convinced the other captives are flunkies and maybe snitches. The dog is routinely released and seems more than happy to return. He is obviously a half-wit. The bird, on the other hand, has got to be an informant, and speaks with them regularly. I am certain he reports my every move. Due to his current placement in the metal room, his safety is assured. But I can wait, it is only a matter of time. Jared jparsons@jparsons.org www.prism.g

    The Lounge tutorial

  • SCO - Put up or shut up..
    J jparsons

    Tim Smith wrote: IMHO the more important thing has happened. The lie that Linux is free of IP issues has been destroyed. I thought that was the whole issue here. The lie hasn't been destroyed because SCO won't give any conclusive proof to their claims. This just fuels the idea that linux is free of IP issues instead of the alternative. Note: I believe Linux most likely has IP issues however I don't think a manager at SCO saying it has IP issues in any way proves it does Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    The Lounge com question

  • Visual Studio AddIn problem - adding a sub-menu to the Edit menu
    J jparsons

    Purely speculation but I think you need to register your .NET object as a COM object using the wrappers so that Visual Studio can gain access to it Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    C# csharp help visual-studio question

  • Installer keeps trying to run when I view documentation
    J jparsons

    Yes it was. The current user I'm running it under is an administrator Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    Visual Studio help csharp visual-studio tutorial question

  • Why must they waste my first hour every day?
    J jparsons

    Sometimes when I log into the lab at school I get 2 or 3 virus scanners running at the same time. The best part is that its the same program. Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    The Back Room sysadmin question

  • Karma ?
    J jparsons

    Karma or just good old southern inbreeding at work? Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    The Back Room html com adobe question

  • Extending System.Collections.Hashtable
    J jparsons

    Only if the object is a SerializableHashtable. Otherwise he will get an exception thrown Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    C# question csharp c++

  • Extending System.Collections.Hashtable
    J jparsons

    Thomas Gondorf wrote: Both of the things i try in Load fails. So the big question is: How can i assign the Hashtable object to SerializeableHashtable? (In C++ it works using the this pointer ...) You can't. SerializableHashtable is a child of Hashtable. You cannot assign a parent object to a reference pointing to the child. Also you cannot (without shooting yourself in the foot) do this in C++. Suppose you had a method (FooBar) in SerializableHashtable which doesn't exist in Hashtable. If you were allowed to assign a Hashtable object to a SerializableHashtable reference, what would happen if you called FooBar? It is possible for you to assign a SerializableHashtable object to a Hashtable reference. Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    C# question csharp c++
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups