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
A

Alexander M

@Alexander M
About
Posts
978
Topics
63
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • memory mapped
    A Alexander M

    as you usually read full sectors when accessing the hdd, you should use normal file i/o for it. allocate a buffer that is big enough to keep the maximum amount of data the hex editor can display and read it from disk just the way you to with a normal file. memory mapping 64gb can only work with 64-bit os, as it requires a very big virtual address space. but i haven't tried to map that much data so far.

    Don't try it, just do it! ;-)

    C / C++ / MFC tutorial performance

  • Exchange SOAP Contacts Sync
    A Alexander M

    Hello everyone, I'm syncing contacts via SOAP to a Microsoft Exchange Server 2007. Now the Problem is: The Data transmitted is correct (and correctly displayed in Outlook Web Access), but when I connect Outlook (only tested 2007) it doesn't show a name a display name in the address book list (only email address etc.). So when I select the contact to send him/her a mail, only a ; is put inside the address field, which is bad... But when I open the contact details, everything is there. And if I change something (e.g. add a dot after the name or so) and save, then the name and display name are displayed correctly in the address book. This is very weird.. I'd appreciate any hints on what could cause that issue.

    Don't try it, just do it! ;-)

    C / C++ / MFC help wcf sysadmin xml learning

  • Race Condition
    A Alexander M

    this is pretty easy .. create a console app with two threads. one of them prints out 10xA, the other one 10xB.

    Don't try it, just do it! ;-)

    C / C++ / MFC tutorial

  • MFC ON_WM_RBUTTONUP(), handle within control class
    A Alexander M

    Ah thx, I found it. When SS_NOTIFY isn't set the static control doesn't answer WM_NCHITTEST with HTCLIENT so the messages go to the parent window.

    Don't try it, just do it! ;-)

    C / C++ / MFC c++ question

  • MFC ON_WM_RBUTTONUP(), handle within control class
    A Alexander M

    I've got a custom control class that derives from CStatic that should handle WM_RBUTTONUP within its code. unfortunately this message is always redirected to the parent window (a CDialog). What can i do?

    Don't try it, just do it! ;-)

    C / C++ / MFC c++ question

  • bind() to specific network interface before connect()
    A Alexander M

    I think I've found the reason.. http://technet.microsoft.com/en-us/magazine/cc137807.aspx Windows XP uses weak host model, Vista and later strong host model. There doesn't seem to be a way to configure this in Windows XP which is particularly ANNOYING!!

    Don't try it, just do it! ;-)

    C / C++ / MFC sysadmin testing beta-testing help question

  • bind() to specific network interface before connect()
    A Alexander M

    yea it is reachable. When i switch the default gateway to the interface i want to use i can reach the hosts. the routes should be fine.

    ===========================================================================
    Schnittstellenliste
    0x1 ........................... MS TCP Loopback interface
    0x2 ...00 0c 29 70 8c 43 ...... VMware Accelerated AMD PCNet Adapter - Paketplaner-Miniport
    0x10004 ...00 0c 29 70 8c 39 ...... VMware Accelerated AMD PCNet Adapter

    ===========================================================================
    Aktive Routen:
    Netzwerkziel Netzwerkmaske Gateway Schnittstelle Anzahl
    0.0.0.0 0.0.0.0 192.168.178.1 192.168.178.28 1
    0.0.0.0 0.0.0.0 192.168.179.1 192.168.179.130 100
    127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
    192.168.178.0 255.255.255.0 192.168.178.28 192.168.178.28 1
    192.168.178.28 255.255.255.255 127.0.0.1 127.0.0.1 1
    192.168.178.255 255.255.255.255 192.168.178.28 192.168.178.28 1
    192.168.179.0 255.255.255.0 192.168.179.130 192.168.179.130 100
    192.168.179.130 255.255.255.255 127.0.0.1 127.0.0.1 100
    192.168.179.255 255.255.255.255 192.168.179.130 192.168.179.130 100
    224.0.0.0 240.0.0.0 192.168.178.28 192.168.178.28 1
    224.0.0.0 240.0.0.0 192.168.179.130 192.168.179.130 100
    255.255.255.255 255.255.255.255 192.168.178.28 192.168.178.28 1
    255.255.255.255 255.255.255.255 192.168.179.130 192.168.179.130 1
    Standardgateway: 192.168.178.1

    Ständige Routen:
    Keine

    Don't try it, just do it! ;-)

    C / C++ / MFC sysadmin testing beta-testing help question

  • bind() to specific network interface before connect()
    A Alexander M

    Hi I have a machine with several network interfaces that route through different NAT VPNs. I've created a testing application that bind()s to one of these interfaces before calling connect(), which works excellent in Windows 7. When I try the same thing in Windows XP, bind() succeeds, but connect() fails with 10065 (WSAEHOSTUNREACH) after some seconds of blocking. I checked Wireshark, and there isn't even one single packet sent/received on each interface. Any ideas what may be the problem?

    Don't try it, just do it! ;-)

    C / C++ / MFC sysadmin testing beta-testing help question

  • reverse lines in OpenGl
    A Alexander M

    It depends on the settings your using for your OpenGL renderer.

    Don't try it, just do it! ;-)

    C / C++ / MFC graphics help c++ game-dev tutorial

  • Calculating the Number of Charcters in a Line Of a MultiLine Dialog Box
    A Alexander M

    i guess it's done automatically

    Don't try it, just do it! ;-)

    C / C++ / MFC json question

  • 3D Interactive Environment in C#! Is it possible?
    A Alexander M

    C# has access to Managed DirectX, so also Direct3D. Using it you can render almost everything. If there are classes that support TrueVision3D files I can't tell.. you might need to create them yourself or use a different file format.

    Don't try it, just do it! ;-)

    C# csharp help question workspace

  • sqrt() pow() fabs() do not work
    A Alexander M

    nevertheless it's a bad style as many people won't understand it.

    Don't try it, just do it! ;-)

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

  • How redraw images if screen resolution changes?
    A Alexander M

    what images? where are they displayed? how are they displayed?

    Don't try it, just do it! ;-)

    C / C++ / MFC tutorial question

  • strange char* compile error?
    A Alexander M

    this isnt strange as foo required char*& and not char*.

    Don't try it, just do it! ;-)

    C / C++ / MFC help question

  • Is assignment to int atomic
    A Alexander M

    it can be, but i doesn't have to. if you want to be sure use the volatile keyword. [code] volatile int test; int main(int argc, const char *argv[]) { test = 5; // this is atomic! } [/code]

    Don't try it, just do it! ;-)

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

  • How to inject a dll into another process ?
    A Alexander M

    there are several articles about that on codeproject..

    Don't try it, just do it! ;-)

    C / C++ / MFC tutorial question

  • How to handle notify message in both reflect way and normal way?
    A Alexander M

    MFC's global message handler will always use the first handler found. That means you have to forward the message to the parent window yourself.

    Don't try it, just do it! ;-)

    C / C++ / MFC tutorial question

  • double
    A Alexander M

    Why don't you just read the double from the file to memory and print it with printf or some other function? Then you should see if it is IEEE 754 (and I'm expecting that it is).

    Don't try it, just do it! ;-)

    C / C++ / MFC tutorial com performance help question

  • difference between CComPtr <ipin> and IPin*</ipin>
    A Alexander M

    And IPin is an interface used by DirectShow to connect filters together..

    Don't try it, just do it! ;-)

    C / C++ / MFC help question

  • Bluetooth DUN and PPP
    A Alexander M

    the windows DDK (now WDK) is always a good source for driver programming. you can get a copy via MSDN (subscriber) or via http://connect.microsoft.com

    Don't try it, just do it! ;-)

    C / C++ / MFC question database
  • Login

  • Don't have an account? Register

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