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
M

mstephens

@mstephens
About
Posts
21
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Network hardware advice
    M mstephens

    At the moment i have a home network with ADSL router/firewall but it's all wired. I'm looking to move house and unfortunately ADSL and cable aren't available but i can get a 512kbps wireless internet connection. In the house i'd like to use 802.11g wireless networking but i'm not sure what options i have for an all in one 802.11g firewall and switch or, whether i will need the firewall and seperate 802.11g access point. Anyone in here doing something similar or know of any products they would recommend? With the wireless internet connection i can either have a single static IP, or a small block if i wanted to host anything myself. For a start i'm expecting to use the single IP and NAT multiple machines. Thanks Matt

    The Lounge sysadmin hardware question

  • Receipt of the day
    M mstephens

    I have to agree with the pricing though. Faced with the choice i would definately pay more for Nothing than for Heineken - it certainly tastes better.

    The Lounge c++

  • Friday game
    M mstephens

    Hope this hasn't appeared here before, a friend sent me the link and i thought people here might like it:-D http://www.bbc.co.uk/drama/rockface/game/index.shtml[^]

    The Lounge database game-dev

  • Deactivating Microsoft apps
    M mstephens

    I did exactly that on a laptop i was taking away with me to Nepal to run a sports event scoring system. I meant to activate it once i had everything set up and working properly but somehow forgot! I was there trekking and kayaking for a month and when i turned up for the event the activation period had expired! You want to try calling MS support in london on the one phone for miles that can make international calls by the side of a dusty road with buses flying past honking their horns all the time!

    The Lounge com tools question

  • Just downloaded an IDE for cough hack wheeze Java...
    M mstephens

    I have never used it but a friend of mine has just moved over to eclipse www.eclipse.org[^] He reckons it's really good but i think you need to download some add-ins for screen designer support. Oh, and i think it's free:) Matt

    The Lounge question java visual-studio career

  • MS Licenses again...
    M mstephens

    You mean you have read the EULA for 98 at all? I thought those things were just put there to test that the mouse button works and the user understands the concept of OK!:)

    The Lounge csharp html visual-studio game-dev beta-testing

  • res: protocol and IMoniker
    M mstephens

    In my tests it works fine with the file: protocol. Thats the beauty of it, since an app can locate the resources it needs in a consistent way no matter where they are stored. Unfortunately the protocol handler for res: doesn't seem to work exactly like the others but it must be possible since you can create a IMoniker to a res: file and hand that to IE for it to load with no problems! I know that i could create my own pluggable protocol handler and that would then allow me to get at my files in resources but that seems like a lot of work when there must be slight change that i can make to the way i deal with the IMoniker interface to take advantage of Microsofts res: implementation.

    COM help html

  • res: protocol and IMoniker
    M mstephens

    Has had any experience with using IMoniker to open files stored in dll's or exe's using the res: protocol. I have written code that uses CreateURLMoniker() and then IMoniker::BindToStorage() to open files and read their content via IStream. This works fine for file:, http:, ftp: protocols but fails when using the res: protocol which unfortunately is the protocol i am particularly interested in! I don't understand how IE does it since i can use CreateURLMoniker() and then pass the moniker to ShowHTMLDialog() and IE is happy to read the file. If I step through the code then my IBindStatusCallback::OnProgress() gets called with BINDSTATUS_MIMETYPEAVAILABLE and after the MIME type string 'text/html' in the szStatusText parameter is the text of the file i want to load but i don't get a good IStream* back from IMoniker::BindToStorage(). My original code used URLOpenBlockingStream() which suffers from the same problem when accessing res: resources. Please help!

    COM help html

  • ASP.NET examples
    M mstephens

    I haven't finished looking through the documents yet but the IBuySpy.com site has ASP.NET best practices sample apps for a store front and portal site. Examples are available in both VB.NET and C#. So far it looks good although i'm no expert.:(

    .NET (Core and Framework) csharp asp-net com tutorial

  • AppDomains and CodeDOM
    M mstephens

    Has anyone had any experience or seen any articles about using AppDomains and the CodeDOM classes in the .NET framework in a similar way to ASP.NET? I would like to be able to compile extension code for my app that provides user specific customisation. Hopefully the extension code will have full access to the object model of my app including instances of objects hosted inside the main AppDomain. I guess it's the efficiency of marshalling calls between AppDomains that i want to understand so i can make best use of them. Thanks Matt

    .NET (Core and Framework) csharp asp-net dotnet question

  • Visual Studio Documentation
    M mstephens

    adamUK wrote: it is printed on the same low-grade paper that is installed in the dunny at work Maybe you need a career change? adamUK wrote: "I spent a lot of my money on booze, birds and fast cars. The rest I just squandered" George Best. Fantastic!

    The Lounge csharp visual-studio json learning

  • ImageList colour blending
    M mstephens

    I want to have a series of small icons in an image list that i can display in any colour. ImageList has BLEND25 and BLEND50 but no easy way as far as i can tell to use the mask as the shape but draw it in any colour that i choose. By the way i'm working in unmanaged C++ and MFC. Ideas/answers anyone?

    Article Writing c++ question

  • Listening to music whilst working
    M mstephens

    Simon Capewell wrote: Unfortunately the person responsible for my doing this had verbal diarrhoea and would often ignore the headphones and talk at me anyway. Should have just punched him in the face!:laugh:

    The Lounge tools tutorial question discussion

  • Could .NET choke Windows?
    M mstephens

    Well if Microsoft does everything in it's power and makes .NET on Windows that much better than .NET on other platforms then that will probably be a good thing for .NET users on the Windows platform. Lets face it compared to IE Netscape is a load of crap

    The Lounge csharp dotnet com linux tools

  • How Fast Are You?
    M mstephens

    Looks like .25 is about average but i had one really slow 18.2s! Turned out the square had changed colour to white!:)

    The Lounge com question

  • My .NET perf studies
    M mstephens

    What tests did you do where JIT compiled code ran 10% faster than regular compiled code? Sounds too good to be true!

    The Lounge c++ csharp com performance

  • MFC in VS.NET and _CrtIsValidHeapPointer
    M mstephens

    :((Has anyone been having trouble with the new MFC implementation of CString and the debug memory validation code like _CrtIsValidHeapPointer() ? I am just moving our projects over to VS.NET and it's really pi**ing me off! I have an extension DLL that seems to cause the problems in CAfxStringMgr::Free() when the program shuts down. I guess compiling release builds may hide this problem but there must still be a problem?! Anyone got any ideas for working through these issues? Cheers

    C / C++ / MFC csharp c++ visual-studio debugging performance

  • VS.NET _bstr_t flawed?
    M mstephens

    Is it me or is the latest implementation of the _bstr_t class flawed in Visual Studio .NET? I have a class that has an internal member of type _bstr_t. During construction the _bstr_t classes default constructor runs and sets it's internal m_Data pointer to NULL. Later i call a function with a BSTR parameter and use the _bstr_t::Assign method to copy the BSTR into my member variable. Under VS6 this code was fine but under VS.NET it crashes. The reason for the crash is in an ASSERT where the expression is something like (m_Data->GetWString() != s) since m_Data is NULL it crashes! Since it's in an assertion i can compile to a release build and it works ok. Has anyone else seen this and is there any kind of service pack for VS.NET that fixes the problem?

    C / C++ / MFC csharp visual-studio help question announcement

  • VB as a tool
    M mstephens

    I think both your points are correct. VB is an inferior language, but as a quick and dirty testing tool for COM components written in C++ it's damn good. It's lack of unsigned integers or longs is a complete pain in the ass for a lot of work i've ever done with it.

    The Lounge json question lounge

  • Using Visual C++ 6 to create DOS applications
    M mstephens

    If you're an MSDN subscriber then you can still download the old 16bit Visual C++ 1.52. It certainly can create DOS apps as we have the misfortune of using it for a product with an embedded DOS. Matt

    C / C++ / MFC c++ help question
  • Login

  • Don't have an account? Register

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