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

jhorstkamp

@jhorstkamp
About
Posts
30
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Looking for cough remedies
    J jhorstkamp

    I had a sinus infection for months that was pretty resistant to everything. Finally found a doc that gave me an antibiotic called "Ketek" or some similar spelling...Take 2 pills at a time once a day for 5 days. It killed the infection (or symptoms) in about a day and a half. Don't know about the cough. John

    The Lounge question

  • Salt and sugar woes
    J jhorstkamp

    Or...(if practical) you could take a little taste of the condiment in question before adding it to the food/drink. John

    The Lounge docker help

  • iPod question
    J jhorstkamp

    Thanks!

    The Lounge question

  • iPod question
    J jhorstkamp

    Thanks. That looks interesting and I passed it on to my buddy. (I might check it out for myself too...) John

    The Lounge question

  • iPod question
    J jhorstkamp

    Got a friend who got an iPod (20 gig) for a present. His computer is running Windows 98 and can't afford to buy/upgrade to XP. Apparently iTunes only runs on Win2K/XP. Do iPod's only work with iTunes? If not, are there any CD rippers that work for iPod's on Win98? Thanks, John

    The Lounge question

  • Frozen shoulder: anything work?
    J jhorstkamp

    Find a massage therapist who specializes in deep tissue and trigger point therapy work. If you can find a few try them all as each will have a different 'touch' and approach - find the best one that works for you. I had a similar condition and got 100% relief after a few sessions. It's not the most comfortable treatment, but it works. Rolfing might be something to look into as well. John

    The Lounge com help question

  • jpg and Access
    J jhorstkamp

    Can anybody point me to some example code or give me some tipson how to get a .jpg blob from an Access database into a static (picture) control? Thanks in advance, John

    C / C++ / MFC tutorial database question

  • memory leaks with IMPLEMENT_DYNACREATE
    J jhorstkamp

    Thanks - not sure I understand... Clicking on one of the memory leak messages in the debug window takes me to: IMPLEMENT_DYNCREATE(CPalsView, CScrollView) The next is: IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd) and the last is: IMPLEMENT_DYNCREATE(CPalsDoc, CDocument) does this mean that it thinks I (or maybe MFC) has a memory leak in one of these classes? The only place I see the RUNTIME_CLASS macro is here in the App.InitInstance function: CSingleDocTemplate* pDocTemplate; pDocTemplate = new CSingleDocTemplate( IDR_MAINFRAME, RUNTIME_CLASS(CPalsDoc), RUNTIME_CLASS(CMainFrame), // main SDI frame window RUNTIME_CLASS(CPalsView)); AddDocTemplate(pDocTemplate); which is of course a memory leak since I can't seem to find a cooresponding delete (unless MFC is handling that in some hidden way) ???? Any comments?

    C / C++ / MFC debugging c++ performance question

  • memory leaks with IMPLEMENT_DYNACREATE
    J jhorstkamp

    All, My VC7 debugger is catching memory leaks (I inherited a project with a lot of "new" and not a lot of "delete"...) which I am in the process of cleaning up. Several of the "caught" leaks take me to the IMPLEMENT_DYNACREATE macro in a few classes, most notably the MainFrm.cpp, the view class.cpp and the doc class.cpp files when I click on them in the debug window. I don't know where to go from there. Any suggestions? Thanks in advance, John

    C / C++ / MFC debugging c++ performance question

  • circular linked lists
    J jhorstkamp

    All, I need to implement a circular linked list of circular linked lists. I can generate the individual linked lists just fine but can't quite figure out how to link the lists together. My node has pointers to a right node and a down node. So, a list would be node->right to node->right etc, but I can't figure out how to link a list using the down pointer without loosing the pointer to the first node. Any advice? Thanks in advance (and I hope this makes sense...) John

    C / C++ / MFC data-structures tutorial question

  • How to interface System to External Hardware
    J jhorstkamp

    The first thing to do is to find out if the equipment actually ACCEPTS commands through the printer port (which would be a little unusual - that type of control is usually done through a serial port). Are there any manuals for the equipment that describe the remote control capabilities and message and command formats? If so, then that is the place to start. Once you find out FROM THE MACHINE HOW IT WANTS TO TALK, then you can start the process of how to implement a communication protocol in VC++. Hope this helps, John

    C / C++ / MFC c++ hardware help tutorial

  • Multithreaded Serial Classes in MFC
    J jhorstkamp

    Can anyone point me to some examples of how to write multithreaded serial comm classes in vc++ and mfc? Thanks in advance, John Horstkamp

    C / C++ / MFC c++ tutorial question

  • List control events
    J jhorstkamp

    Thanks - that almost works... It fails when I want to click on an already selected item and process data. (I'm varying some algorithm params in the dialog and observing the effect). So, I guess all I really want to do is to be able to use the up/down arrows to scroll and automatically process AND be able to use the mouse click to randomally select list data as well as process an already selected item. Is this the correct approach (using these events or do I need to set and clear some global bool that I create to bypass all these cascading events?) Thanks, John

    C / C++ / MFC question help

  • List control events
    J jhorstkamp

    All, History: I have a list control that I used the onclick event to perform action with. The user wanted to be able to use the up/down arrows so I changed the event handler to use the itemchanged message. Now: The user wants to use both the mouse and the arrows - which is fine since the itemchanged message takes care of both of these actions. The problem being that the user also wants to be able to reperform (if that's a word) the same actions (it's a function to do a lot of number crunching on some data) on the currently selected item. The problem is that the itemchanged message gets called 3 times and thus the number crunching takes place 3 times! How do I get this to handle both mouse clicks and up/down arrows without having my function called 3 times? Thanks in advance, John

    C / C++ / MFC question help

  • Stupid VS.net platform question
    J jhorstkamp

    Tried those suggestions - they didn't stay put from 1 session to the next but perhaps I did something wrong...thanks.

    C / C++ / MFC question csharp c++ css visual-studio

  • Stupid VS.net platform question
    J jhorstkamp

    OK - so how do I delete a member function (besides manually) in VC++.net. Used to be you selected the function from the class in question and hit delete - all code would then be commented out. (How simple and elegent was that!) I can't seem to do that in VC7 and I can't find anything in any of the menus...Aghhh! So far in converting my projects over from VC6 all I've found is some cool features, even less area for looking at code, slow compiles, slow environment, the elimination of some really useful features and a lot of frustration. What are they (Microsoft) trying to do to us? Sorry for the rant... John

    C / C++ / MFC question csharp c++ css visual-studio

  • Basic Serial I/O in VC++
    J jhorstkamp

    Don't know - haven't had to do them yet but I think they are treated the same as basic serial ports.

    C / C++ / MFC question c++

  • Need opinions on DAO and VC7
    J jhorstkamp

    Don't have much experience with XML but I thought XML is more of a data transport mechanism as opposed to a data storage mechanism. Actually, what I am doing (for a variety of reasons) is changing an application from using the Microsoft serialization scheme to a relational database scheme. The app object model actually lends itself nicely to a relational database. The database (50 or more .dat files or 1 .mdb) is fairly stable - ie nothing changes - once a site is calibrated and up and running. The creation and calibration of a site is another story. The admin portion of the database is trivial - even for Access. There is however a large portion of numerical (calibration) data that I store as a blob. The app was started in VC6 and I am converting to VC7. It will run on Win2k and XP machines (and maybe NT at some old sites). I don't know if that's too much info...or even makes sense... or is relavent :) John

    C / C++ / MFC database csharp c++ sql-server visual-studio

  • Need opinions on DAO and VC7
    J jhorstkamp

    After doing a little research on MSDN it does seem that MSDE and ADO are the way to go...Downloading MSDE now. I may have further questions... Thanks for the response John

    C / C++ / MFC database csharp c++ sql-server visual-studio

  • Need opinions on DAO and VC7
    J jhorstkamp

    After doing a little research on MSDN it does seem that MSDE and ADO are the way to go...Downloading MSDE now. I may have further questions... Thanks for the response John

    C / C++ / MFC database csharp c++ sql-server visual-studio
  • Login

  • Don't have an account? Register

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