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
I

IGeorgeI

@IGeorgeI
About
Posts
26
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • divide by 10 problem
    I IGeorgeI

    I am not a C# programmer by trade. I am a C/C++/Java/MFC developer. 1) I posted my C++ question in the C++ section of this forum. I merely added the fact about the C# compiler to help other people. You must have misunderstood my post. 2)I have written work arounds for this problem, I just wanted to see how other people have handled this problem out of pure interest. We can all become better programmers if we want to. You must have misunderstood my post. 3) At no point was I arguing with him. Why would I argue with somebody who is clearly trying to help me?? You must have misunderstood my post. I would suggest that in the future you should try reading the post more closely to avoid misunderstandings like this. If you want, you can contact me anytime and I will help you with that. Kindest Regards

    George W Software Developer www.zsystems.ca

    C / C++ / MFC help

  • divide by 10 problem
    I IGeorgeI

    Of course but when you are dealing with high precision numbers, you have to implement workarounds to solve the problem. I was just wondering how others have handled it. You simply cannot leave it like that when dealing with mathematical engines written in c++. The error will carry through and get worse. So I just wanted to see what others are doing. For your information, the c# compiler does solve the problem and does give you to correct base 10 answer of .30

    George W Software Developer www.zsystems.ca

    C / C++ / MFC help

  • divide by 10 problem
    I IGeorgeI

    This has been a problem of mine for years. It appears to be compiler specific which is why I put it in this section. Run this piece of code double test = 3.0/10.0; The result of test is .299999999999999 I know why this happens. I was just wondering how some of you have solved this problem. :-D Thanks for any input

    George W Software Developer www.zsystems.ca

    C / C++ / MFC help

  • App doesn't shut down propperly
    I IGeorgeI

    That is pure GOLD! Thank you....I have been struggling with this problem for a while. I knew exactly where to look as soon as I read that. Problem fixed! Thanks again IGeorgeI George W Software Developer www.zsystems.ca

    C / C++ / MFC c++ question

  • App doesn't shut down propperly
    I IGeorgeI

    Hey guys My app has a mem leak which results from ExitInstance() not being called when I terminate the program. I have traced into MFC and descovered that in the THRDCORE.cpp file, the following code is causing ExitInstance() to NOT be called. ============================================================== // phase2: pump messages while available do { // pump message, but quit on WM_QUIT if (!PumpMessage()) return ExitInstance(); ============================================================== Does anybody know what some of causes of pumpMessage() to return true?? Thanks George George W Software Developer www.zsystems.ca

    C / C++ / MFC c++ question

  • Visual studios 6 is buggin me..help
    I IGeorgeI

    This has been bugging me for years. In Visual Studios 6, if I go to the frame menus and go [edit] -> [Find] and enter some text and hit "mark all" button, this all works fine. BUT how do you clear the bookmarks where the text has been found???? This is a problem because if I perform another search and select "mark all" again, the bookmarks from the previous search remains. You get bookmarks everywhere. Any help appreciated, thanks IGeorgeI George W Software Developer www.zsystems.ca

    C / C++ / MFC help question

  • CreateCompatibleBitmap and mem allocation
    I IGeorgeI

    Hello everyone I am using CreateCompatibleBitmap to create bitmaps of my list of worksheets. The problem is, when I hit around 20 bitmaps in a loop, the CreateCompatibleBitmap call begins to fail. I have traced into the MFC function calls and I discovered that the memory allocation on the HEAP has reached its limit for creating more resources. Has anybody ever seen this before?? If not, does anybody have any suggestions?? Thank you for you help IGeorgeI George W Software Developer www.zsystems.ca

    C / C++ / MFC help c++ performance question

  • USB flash memory for compiling code
    I IGeorgeI

    Has anybody ever compiled code using USB flash memory? If so, is it faster? Also If I am shopping for USB memory, what are the things to look for? What are the main diff between brands? Any good educational sites on this subject? Any help appreciated George W Software Developer www.zsystems.ca

    IT & Infrastructure adobe performance help question

  • starting windows 2000 from dos??
    I IGeorgeI

    In windows 98, at the A: you can type c:\win to fire up windows. What is the command for Windows 2000 ???? (from the A: prompt) Any help appreciated George W Software Developer www.zsystems.ca

    C / C++ / MFC question help

  • open files over the net????
    I IGeorgeI

    My app uses an old style MFC File open dialog box. I noticed that in Microsoft Word - File Open dialog box, if you click the drop down box for the "Look in" field at the top, there is an option at the bottom that says FTP Locations. One can use this option to open files from a remote location via FTP directly into MS Word. I need this ability in my app but I can't figure out how. I have looked through the MFC documentation and I can't find squat! Any help appreciated. :) George W Software Developer www.zsystems.ca

    C / C++ / MFC c++ help question

  • Polar Plots (repost)
    I IGeorgeI

    Hi John 1) first you need a DC to the dialog - I suggest you add an empty control to the dialog first, and get the DC from the control. That way your coordiante system is relative to the control(drawing area) this make life easier. 2) create a "polar transform" method that is fast and efficient. - this transform will be called every single time any rendering or user interaction with the graph occurrs so BE efficient. - All incomming polar data is to be formatted through this transform and the resulting cartesian data will be rendered in your offset DC fron the control. There is of course a lot more to it, especially when you consider user interaction, zooming, flicker free panning etc. But that is all pretty standard stuff. If you want to see a very good example of an XY or polar plot, check out our company website at homepage - www.zsystems.ca Active x - www.zsystems.ca/devtools.htm ZAX download - http://www.zsystems.ca/downloads.htm Download the ZAX demo and play around with the XY/Polar plot in there. If you have any questions on how we did anything, feel free to contact me directly. Good luck George W Software Developer www.zsystems.ca

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

  • Extracting RGB values from a color
    I IGeorgeI

    That's it!!!! Thanks for your help. George W Software Developer www.zsystems.ca

    C / C++ / MFC tutorial question

  • Extracting RGB values from a color
    I IGeorgeI

    I am receiving an RGB color in a method. 1) I want to strip the color into it's fundamental components. 2) I want to store these values as integers within the method. Ex. the method gets the color RGB (55, 155, 255) I want to extract the numbers into variables. int red = 55; int green = 155; int blue = 255; ====================================================== Any suggestions on how to strip the color into it's seperate RGB values???? I've done this before but I can't remember. George W Software Developer www.zsystems.ca

    C / C++ / MFC tutorial question

  • MFC open dialog enhancement
    I IGeorgeI

    Thanks for help I will look into this. George W Software Developer www.zsystems.ca

    C / C++ / MFC c++ sysadmin data-structures help tutorial

  • MFC open dialog enhancement
    I IGeorgeI

    Hey guys I am using MFC -> File Open dialog box, which works fine. I have noticed other applications use a different style of dialog box wich has quick buttons on the left that brings the navigation tree in the open dialog box to those locations. For example in Microsft Word, when you go File -> Open, there are 5 buttons on the left (History, My Documents, Desktop, Favorites, My Network places) I would also like the same type of "File Open" dialog box. How do I impliment this. I have searched the MSDN documentation and have come up with nothing. Any help appreciated George W Software Developer www.zsystems.ca

    C / C++ / MFC c++ sysadmin data-structures help tutorial

  • passing pointers from DLL to VB to DLL
    I IGeorgeI

    Thanks for the reply. I thought about that but my ploblem is that the 2nd DLL(receiving the pointer) must have a (double*) as it's parameter. I can not redeclare the function to accept "void pointers". If I could, I would. Any other suggestions? :((

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

  • passing pointers from DLL to VB to DLL
    I IGeorgeI

    Here is what I want to do VB front end is main app DLL # 1 creates an array of doubles DLL # 2 performs some task on an array of doubles passed to it Vb frontend will get a pointer to an array of doubles (double * array) from DLL #1 and pass the pointer to DLL #2 which accepts pointers to arrays of doubles. How do I get VB to do this ie. recognize what a pointer to a array of doubles is?????? Thanks in advance for all help

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

  • adding my program as a service in win2K?
    I IGeorgeI

    I want to add my program.exe as a service in windows 2000. Are there any tutorials for doing this either manually or progrmatically. any help appreciated George W Software Developer www.zsystems.ca

    C / C++ / MFC help question

  • can't display network computer
    I IGeorgeI

    Hi all I am trying to make my app a little friendlier. I a use a dialog to set a network computer as a source for a running object. For now the user must type in the name of the network coputer manually, for example..... \\server1 I am trying to set up a GUI like the browse folder dialog common in windows. Except it will browse computers on the network. When the user selects the computer, it's name will appears in the dialog box in one of the fields. I can't find any info on doing this but I have seen this done many times. Any help appreciated :confused: George W Software Developer www.zsystems.ca

    C / C++ / MFC sysadmin help tutorial

  • need help changing Modal dialog
    I IGeorgeI

    I tried SetWindowPos() but it ASSERTS. I was thinking that because I am calling DoModal(), I have lost control of the thing because MFC has taken over. Obviously, any attempts to adjust the position before DoModal() will ASSERT because the dialog window has yet to be created. Any calls after DoModal() is pointless because MFC is in control. I am trying a few different things right now. IGeorgeI :wtf: George W Software Developer www.zsystems.ca

    C / C++ / MFC 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