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

Jared Allen

@Jared Allen
About
Posts
22
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • attributed ATL, forward declare interface?
    J Jared Allen

    hmmm, yeah i'm not enjoying using Attributed ATL. I only used it because I started a new project in VS 2003 and it must have been the default setting back then and so i thought "It must be better and the thing todo" so it has stuck with this particular project since then... I'm not looking forward to rewriting it though, i figured that forward declaration was such a common thing that there would be a well known solution.

    Jared Allen. www.chironexsoftware.com

    ATL / WTL / STL c++ database help question

  • attributed ATL, forward declare interface?
    J Jared Allen

    I'm using attribute ATL, and i need to forward declare an interface but i'm not sure what the correct syntax is? this is what i currently have but i'm getting a compile error. VS2005 error MIDL2025 : syntax error : expecting a type specification near "IDLArchiveFile" [export] __interface IDLArchiveFile; [ object, uuid("3E661C7F-C4C4-4EF8-94A3-4AA9FC0F9419"), dual, helpstring("IDLArchiveDirectory Interface"), pointer_default(unique) ] __interface IDLArchiveDirectory : IDispatch { [id(6), helpstring("method GetFileAt")] HRESULT GetFileAt([in] SHORT index,[out,retval] IDLArchiveFile** pFile); }; [ object, uuid("08B48958-99C0-4AE1-91C9-1DD68B419A07"), dual, helpstring("IDLArchiveFile Interface"), pointer_default(unique) ] __interface IDLArchiveFile : IDispatch { [propget, id(3), helpstring("property Parent")] HRESULT Parent([out, retval] IDLArchiveDirectory** pVal); };

    Jared Allen.

    ATL / WTL / STL c++ database help question

  • __ftol2 ?? where did it come from? .NET?
    J Jared Allen

    Any idea how to get around it without using VC++ 7.0 ? The problem is I have a .lib file that references it, and i don't have the source. It's from MS I've tried to define the function __ftol long __ftol2(float x) { return (long)x; } But i still get the link problem, i think i'm putting it in the wrong place? put i should be able to have it in any .cpp file of the project? Jared Allen. www.chironexsoftware.com

    C / C++ / MFC csharp c++ com help tutorial

  • __ftol2 ?? where did it come from? .NET?
    J Jared Allen

    Ok i just got the windows media DRM SDK delivered to me from MS. I added it into my project and now i get a linker error. error LNK2001: unresolved external symbol __ftol2 I also updated my MS Platform SDK a few dats ago (while i was trying to get a copy of the internet SDK , i didn't even want the upgrade) I've searched and heard that __ftol2 may have something to do with managed C++ and or .NET , can anyone tell me how to get around this. thanks. Jared Allen. www.chironexsoftware.com

    C / C++ / MFC csharp c++ com help tutorial

  • Non MFC Async Socket Class
    J Jared Allen

    Hey I'm in a big need for a async sockect class that is pretty much a clone of the MFC version, with all it's features.. But importantly Is thread safe! . or doesn't have to be used in a single thread Any ideas ? I'm looking for any library out there that you guys can recommend , free is good but $$$ is fine if it does the job and is solid. Thanks heaps! Jared Allen. www.chironexsoftware.com

    C / C++ / MFC c++ com architecture question announcement

  • Tasmania???
    J Jared Allen

    Yes I'd have to agree there.. lol thats the general drift that Queenslanders like myself hear about. Jared Allen. www.chironexsoftware.com

    The Back Room question lounge

  • Software Coding Standards
    J Jared Allen

    I'm in the same boat, I'm trying to put together some standards for a development team so i can keep them all up to scratch. Any links to related material would be great, Also I'm interested in what others use in terms of support tools? like CVS, Visual source safe? Anything that makes your coding life a little easier. Thanks. Jared Allen. www.chironexsoftware.com

    The Lounge database com help

  • Drawing Drag Rect\Selection Rects in GDI
    J Jared Allen

    Hi, An example of what i want to do - when you drag a splitter control, drag a window , drag a selection box etc a drag rect is drawn to show what you are selected. I want to know how to draw the rect? with GDI , it is some sort of line style , it is not a solid line, maybe a pattern? If any one knows how it is drawn it'd really help Thanks.

    C / C++ / MFC graphics tutorial regex architecture help

  • Detecting CD eject\insertion
    J Jared Allen

    Hi, i need some help with detecting when a CD is inserted or ejected from a drive. I've tried to override get the message handler... afx_msg BOOL CWnd::OnDeviceChange( UINT nEventType, DWORD dwData ); but it doesn't seem to be called? The docs say that the WM_DEVICECHANGED message is sent to all top level windows? so shouldn't all the apps get this message. If anyone has any code for this it would be really helpful Thanks. Jared Allen.

    Article Writing help question

  • CD device detection
    J Jared Allen

    Hi, i need some help with detecting when a CD is inserted or ejected from a drive. I've tried to override get the message handler... afx_msg BOOL CWnd::OnDeviceChange( UINT nEventType, DWORD dwData ); but it doesn't seem to be called? The docs say that the WM_DEVICECHANGED message is sent to all top level windows? so shouldn't all the apps get this message. If anyone has any code for this it would be really helpful Thanks. Jared Allen.

    C / C++ / MFC help question

  • Marking Active X as Safe
    J Jared Allen

    Hi, I've got an active x control packaged up and signed in a .cab file the only problem left is marking it safe for scripting and inialising. I have some code that has come with the internet SDK files called CATHELP.h ,.CPP and how to call them in the DLLRegisterServer function, but they don't have any effect! I can use the regediter and manually set the implemented catigories, and it works fine then , but this isn't a good way to go. Does anyone have any experience with the CATHELP.h,.CPP files or anyother way to mark a control as safe? thanks.

    COM c++ help tutorial question

  • Active X distribution for web content
    J Jared Allen

    Hi, I've been having real trouble getting to grips with how to package in a cab file and sign a active x control for use in a web page. I have all the componets i need (i think) a .ocx , .spc , .pvk and a .ini that i have made which seems to be correct becuase i can use it in a web page to setup the active x control. but i have used the cabarc.exe tool, but i can't then embed it in a web page as the codebase item, IE just starts to open the page, then the icon turns to an X, and thats it, no error message. Any help or guidance would be real helpful, Thanks.:confused:

    COM help tutorial workspace

  • CAB files
    J Jared Allen

    Hi, I am in great need of some info. I've developed an active x control and i have pruchased a certificat to sign it. now i need to make a cab file and then sign it. I have searched msdn far and wide and in circles looking for a program called cabarc and the other tools that are with the CAB software development kit, but all the links are broken and lead no were. if there is any one that can help please do.

    COM tools help

  • Active-X Control Redrawing
    J Jared Allen

    I'm having some trouble with screen flickering when the browser window (or active X test control container) is scrolled. It is really quiet bad, Is ther any way to get better redrawing? with less flickering? I've tried some double buffering but it doesn't seem to work. Especially with the CDC that the OnDraw function gives me. It is an MFC base Active X control. Any ideas, would be great thanks, JAred.

    C / C++ / MFC c++ css docker question

  • Active X Control - Redrawing
    J Jared Allen

    I'm having some trouble with screen flickering when the browser window (or active X test control container) is scrolled. It is really quiet bad, Is ther any way to get better redrawing? with less flickering? I've tried some double buffering but it doesn't seem to work. Especially with the CDC that the OnDraw function gives me. It is an MFC base Active X control. Any ideas, would be great thanks, JAred.

    COM c++ css docker question

  • URL parseing \ encoding
    J Jared Allen

    I need to do the same thing that the javascript unescape function does but in C++. Is there a library function or , some class that can do this for me? e.g hello+this+is+the+message would become: hello this is the message but of course there are all the special characters %0D ect Thanks. JAred.

    C / C++ / MFC c++ javascript question learning

  • Active X controls in Internet Explorer
    J Jared Allen

    I'm working with really simply stuff, I'm just following a text bok word for word mouse click for mouse click, and it works exatcly fine in Active X control container. but I've tried to get them to work in IE but they won't what happens in IE is - the box where the control should be is shown with a picture symbol then the page is loading then the control just stops with out displaying anything and a red x symbol is shown I'm placed an AfxMessgaeBox call in the InitInstance function and it gets called! in IE. but the OnDraw methode doesn't seem to be called before it stops. Does any one a simple control that is useing MFC and works in IE. I even just run the Active X wizard in VC++ 6.0 and complied. ran fine in Active X control Container but same result in IE. Please help? I'm totally stuck.

    C / C++ / MFC c++ docker question

  • Active X Controls in IE
    J Jared Allen

    I have created a number of Active X controls useing MFC and I have tested them in the Active X control Container and they work fine - but when i try to get them to work in IE they don't seem to work. Does anyone have any examples of what needs to be done to get the active x control to work in IE? thanks

    COM c++ docker question

  • Active X controls in Internet Explorer
    J Jared Allen

    I have created a number of Active X controls useing MFC and I have tested them in the Active X control Container and they work fine - but when i try to get them to work in IE they don't seem to work. Does anyone have any examples of what needs to be done to get the active x control to work in IE? thanks

    C / C++ / MFC c++ docker question

  • Getting a handle to a resource
    J Jared Allen

    I need to have two binary dll's in my application as resources. I then will need to be able to copy them out to the hard drive and save them. How do i get a handle to the resource (not using MFC is best) and what should i then do with it? I'm doing this so i can include some of the MFC dll's in an setup application that are needed to run a different app. This would really help me, any code/suggestions Please:confused:

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

  • Don't have an account? Register

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