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
U

User 307386

@User 307386
About
Posts
11
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Visual C++.Net - Alternative to Large Switch Case
    U User 307386

    I would just do binary or plaintext file, put in resource, when needed load to memory and do something like Price=MemArray[index]. Igor Green http://www.grigsoft.com/ Compare It! + Synchronize It! - files and folders comparison never was easier!

    C / C++ / MFC c++ csharp database hardware performance

  • It crashes !
    U User 307386

    Doesn't matter, how big your memory is. Your data is allocated on stack, and there is a limit for stack size. I'm not sure about default stack (1Mb?), you can check docs for it, you can also adjust its size in compiler settings. But allocation of big memory blocks on stack is very bad practice. Igor Green http://www.grigsoft.com/ Compare It! + Synchronize It! - files and folders comparison never was easier!

    C / C++ / MFC

  • Extract text from Ms -office documents
    U User 307386

    If requiring Office to be installed on target PC is OK, check COM. Otherwise there are 3rd party suppliers for libraries reading various formats. Search for "xls text conversion" etc. I can recommend wordcnv.com[^] for Word conversion, I have used it without problems. Igor Green http://www.grigsoft.com Compare It! + Synchronize It! : Files and folders comparison never was easier!

    C / C++ / MFC

  • Where is the problem ? please help...
    U User 307386

    Obviously you are missing the PSheet point - it is not to be used in Dialog (at least normally). PSheet was designed to be used on itself only, providing general dialog with pages - I guess this is the reason you have problems. If you want to have dialog with pages among other controls, you will have to add it manually by adding tab control and managing tab switches yourself. I do have a class for this, if someone would be interested I could try to make an article on CP on with it. Igor Green http://www.grigsoft.com Compare It! + Synchronize It! : Files and folders comparison never was easier!

    C / C++ / MFC help question

  • How to compare two files quickly?
    U User 307386

    No, this is the fastest way. The speed will depend on realization. while (*p1++==*p2++); will be slower than memcmp, fully loaded files are a bit faster then mapped files, etc. The only alternative is some crc generation, but it will be faster only when comparing one file to many. Igor Green http://www.grigsoft.com Compare It! + Synchronize It! : Files and folders comparison never was easier!

    C / C++ / MFC tutorial question

  • Help!!! How to write single Event Handler for 100 buttons
    U User 307386

    ...Or check ON_COMMAND_RANGE, just make sure your buttons have subsequent IDs. Your handler will look like: void MyApp::OnButton(UINT nID) { int nIdx = nID-IDC_BUTTON1; // handle button by order index } Igor Green http://www.grigsoft.com Compare It! + Synchronize It! : Files and folders comparison never was easier!

    C / C++ / MFC help tutorial question

  • Help with menus
    U User 307386

    Have you checked WTL? It is generally considered a good alternative to MFC. Much less crap, smaller binaries. There are also a lot of ready-to-use classes, including menu (check CP's wtl part) Igor Green http://www.grigsoft.com Compare It! + Synchronize It! : Files and folders comparison never was easier!

    C / C++ / MFC help c++

  • Advice Required
    U User 307386

    I would just add some settings file, if you don't have one yet. There you could add smth like this: [Custom] DoSomething=... DoSomethingElse=... Given the possibilities you have, you will have to think over what to write in keys to be simple enough for end user to edit it. Alternatively, you could add some settings dialog which you will adjust to it.

    C / C++ / MFC business help question

  • Writting data to CD
    U User 307386

    I don't know - I'm VC developer myself. But it should not matter - any Win32 development platform will have same limitation - well, maybe you will find free Delphi library for this. Another choice could be .Net - but it will limit your target platform anyway. Igor Green http://www.grigsoft.com[^] Compare It! + Synchronize It! : Files and folders comparison never was easier!

    C / C++ / MFC c++ help

  • Writting data to CD
    U User 307386

    If it is required under XP only, you may check ASPI interface. Otherwise quickest solution will be using 3rd party libraries, like that of binarymagics.com Igor Green http://www.grigsoft.com[^] Compare It! + Synchronize It! : Files and folders comparison never was easier!

    C / C++ / MFC c++ help

  • Finding CRLF or other Characters in char
    U User 307386

    Just use case 13: // code char is numerical type in C++ Igor Green http://www.grigsoft.com Compare It! + Synchronize It! : Files and folders comparison never was easier!

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

  • Don't have an account? Register

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