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

Mike Beckerleg

@Mike Beckerleg
About
Posts
72
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • function passing problem
    M Mike Beckerleg

    The connecttoserver function must need one or more parameters. Look in in "connecting.h" (or post it here) to see the parameters the method takes. Mike

    C / C++ / MFC help c++ lounge

  • CMap and its key types
    M Mike Beckerleg

    If it was complaining about a compare method it would be "==" not "=". Mike

    C / C++ / MFC com help question discussion

  • Outlook Workarounds
    M Mike Beckerleg

    It is possible to turn off the Outlook warnings see http://www.microsoft.com/resources/documentation/office/xp/all/reskit/en-us/appa11.mspx[^] I believe there are also third-party tools available that can do this without requiring access to the Exchange Server. Mike

    The Lounge csharp question learning

  • linking static variables
    M Mike Beckerleg

    If in the .h file for your class you have class MyClass { static int mStatic; } Then in the .cpp you will need the following int MyClass::mStatic = 123; Mike

    C / C++ / MFC question help

  • Outlook 2003 Object Model Problem
    M Mike Beckerleg

    Hi Am am trying to automatically open email by using C++ to drive Outlook 2003. I use #import to get the correct libraries and everything is working fine except I cannot read encrypted emails. I have an _ItemsPtr for the inbox which I can use to iterate through all the items I have received and I can read all the non-encrypted ones but I can't access the encrypted ones. When I query the IDispatch for the item to get an _MailItemPtr it says the interface is not supported. The same code (using the appropriate libraries) works fine for Outlook 98, 2000, and 2002, just not for 2003. Any ideas? Is there something extra I need to do for encrypted mails? Mike

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

  • Hooks (WH_CALLWNDPROC)
    M Mike Beckerleg

    The constant calls to 'new' the character buffers (which you don't delete) and opening files are going to have a big performance hit. Doing that each time it will be very slow. Mike

    C / C++ / MFC ios performance help question

  • Simple but need ur response immediately
    M Mike Beckerleg

    Hit <Ctrl + Alt>+<Print Screen> to copy an image of the dialog that currently has focus to the clipboard. You can then paste it into your Paint and save it. Mike

    C / C++ / MFC help tutorial question

  • Should I make namespace std global?
    M Mike Beckerleg

    My preference is to use individual using std::string; type statements instead of bringing the whole std namespace in with using std; But of course there is no reason why you have to use using ...; at all. You can just use the full names at the appropriate points. eg std::cout << "This is a test" << std::endl; Instead of using std::cout; using std::endl; cout << "This is a test" << endl; Mike

    C / C++ / MFC c++ wpf wcf oop question

  • What warning level do you build at?
    M Mike Beckerleg

    Warning level 4. I don't treat warnings as errors but I do make sure I get rid of them before releasing any code. I also use pc-lint to perform further checking. Mike

    The Lounge question discussion

  • Who gets the Mutex?
    M Mike Beckerleg

    The queue to get access to the mutex is on a first-in, first-out basis. So the first thread to wait on the mutex will get access to it when it is released, regardless of thread priority. Mike

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

  • Would you spend one week changing strcpy to lstrcpyn ?
    M Mike Beckerleg

    If the strcpys are causing the Dr.Watson reports then they should be fixed. It might not be fun but thats life. Mike

    The Lounge c++ html com question career

  • suspend process
    M Mike Beckerleg

    I expect we will be able to help you if you tell us what the problem is. Mike

    C / C++ / MFC help question

  • 3D - data in a database
    M Mike Beckerleg

    Octrees do exist. I used to use them in ray-tracing to divide up a scene and calculate which objects are in which node of the Octree. This was used to reduce the number of ray-object intersections to test. Mike

    The Lounge question database com tools help

  • Vectors vs Arrays
    M Mike Beckerleg

    One thing to do when copying into vectors is use reserve() first if you know how many ites you need to copy in. Saves a lot of time spent allocating and copying progressively bigger blocks of memory. Mike

    C / C++ / MFC c++ visual-studio graphics performance help

  • GDI Objects
    M Mike Beckerleg

    Try posting some code for us to have a look at.

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

  • GDI Objects
    M Mike Beckerleg

    Does it leak the GDI objects everytime you open and close the frame or just the first time. If it is just the first time then it is nothing to worry about and is just MFC keeping handle to things that it will reuse. If the GDI count keeps going up with repeated open/closes then you do have a probelm. Mike

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

  • Residental Application
    M Mike Beckerleg

    What do you mean by a Residential Application? If you clarify that it may be possible to give you a useful answer. Mike

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

  • The cost of diabetes
    M Mike Beckerleg

    Bodyfat % is a much better measure than BMI (Body Mass Index) for an individual. My BMI puts me as borderline obese, however I do a lot of weights and play rugby and there is no way I am fat. If my memory serves me correctly BMI was first used as a statistical tool in medical studies. So people with a high BMI were found to be statistically more likely to develop certain health problems. That doesn't mean BMI can be usefully applied to an individual. The only problem with bodyfat % is finding a simple, consistent way to measure it. Mike

    The Lounge com tools question announcement

  • Control Enabled or Not
    M Mike Beckerleg

    Try m_myEditx.IsWindowEnabled() that should return the information you want. Mike

    C / C++ / MFC question

  • Regsvr32 writes an error
    M Mike Beckerleg

    Rassul Yunussov wrote: what is the "release version" - is it options of compilor that i usually use where i can change - debug or release in visual studio? Yes I meant the debug/release options in Visual Studio. These control whether debug information is included in your DLL and also whether your DLL uses the debug or release versions of DLLs. This will affect whether it is using for example msvcrt.dll (release) or msvcrtd.dll (debug). The best thing to do is use the Depends utility that is included with Visual Studio and point it at your COM DLL. It will then show you all the DLLs that your DLL depends on. You then need to ensure that all these DLLs are available and registered on the second machine. Mike

    C / C++ / MFC help c++ com sysadmin 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