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
E

Ed SHaw

@Ed SHaw
About
Posts
9
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Visual C++ 6 - Will it work under Windows 7
    E Ed SHaw

    It's my main development platform too, and I never run as administrator - Win 7 32.

    The Lounge c++ question

  • IME
    E Ed SHaw

    I use IME to control i/o in Japanese and Chinese. While using an edit control for input, everything works fine. When I use the same edit control for editing an existing text string, the original string is shown as bytes instead of the Japanese Hiragana characters. More characters can be entered, and the result is correct, but the appearance is ugly. Should I be using ImmSetCompositionString() or something else, and if so, does anyone know how?

    C / C++ / MFC question

  • VS2010 - version and copyright and GetAdapters
    E Ed SHaw

    Undefined's for GetFileVersionInfoSize(), GetFileVersionInfo(), VerQueryValue()and GetAdaptersInfo(). I think I need version.lib and IPHlpApi.lib for x64 build. I put in the old version for win32 and they build and run ok. I expected new versions of everything with new VS2010 Ed

    C / C++ / MFC python help question announcement learning

  • VS2010 - version and copyright and GetAdapters
    E Ed SHaw

    Do you know where I can download the latest version.lib and IPHlpApi.lib for both win32 and x64?

    C / C++ / MFC python help question announcement learning

  • VS2010 - version and copyright and GetAdapters
    E Ed SHaw

    I used to get the version and copyright from the resource files using the following char ThisProgramsName[256]=""; GetModuleFileName(AfxGetInstanceHandle(),ThisProgramsName,256); DWORD dwHandle = 0; DWORD dwSize = GetFileVersionInfoSize( ThisProgramsName,&dwHandle ); if(dwSize!=0L) { UINT uVerInfoSize; char *lpVerInfo = new char[dwSize]; GetFileVersionInfo(ThisProgramsName, dwHandle, dwSize,lpVerInfo ); The libraries have all changed in VS2010. What do I need to link to satisfy these calls, or has the method of retrieving this information changed. Same question for GetAdapters This is the old code PIP_ADAPTER_INFO pAdapterInfo; PIP_ADAPTER_INFO pAdapter = NULL; DWORD dwRetVal = 0; UINT i; unsigned long LowestHexIP, PossibleIP; char MacByte[4], MacID[16], LowestMacID[16]; ULONG ulOutBufLen = sizeof(IP_ADAPTER_INFO); pAdapterInfo = (IP_ADAPTER_INFO *) MALLOC (sizeof(IP_ADAPTER_INFO)); // Make an initial call to GetAdaptersInfo to get // the necessary size into the ulOutBufLen variable if (GetAdaptersInfo (pAdapterInfo, &ulOutBufLen) == ERROR_BUFFER_OVERFLOW) { FREE (pAdapterInfo); pAdapterInfo = (IP_ADAPTER_INFO *) MALLOC (ulOutBufLen); } ES

    C / C++ / MFC python help question announcement learning

  • VS2010 - project setup
    E Ed SHaw

    How do I set up project wide settings. All of my sub-projects need to access the same #include paths. Can I set this up somewhere for solution instead of every project Same question for pre-processor defines. where do I set up some constants to be used by every project? ES

    C / C++ / MFC question workspace

  • VS2010 - debug version compiles, release version does not
    E Ed SHaw

    I had a series of #ifdef that were somehow impeding the compilation, There must be a conflict, but it does not explain differences between release and debug. Disabling these, as below, fixes the problem #if 0 // Allow use of features specific to Windows 95 and Windows NT 4 or later. #ifndef WINVER #define WINVER 0x0400 #endif // Allow use of features specific to Windows NT 4 or later. #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0500 #endif // Allow use of features specific to Windows 98 or later. #ifndef _WIN32_WINDOWS #define _WIN32_WINDOWS 0x0410 #endif ES // Allow use of features specific to IE 4.0 or later. #ifndef _WIN32_IE #define _WIN32_IE 0x0400 #endif #endif

    C / C++ / MFC announcement csharp c++ visual-studio debugging

  • VS2010 - debug version compiles, release version does not
    E Ed SHaw

    ...and the errors are not in my code C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include\afxwin2.inl(362): error C2039: 'NotifyWinEvent' : is not a member of '`global namespace'' C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include\afxwin2.inl(362): error C2660: 'CWnd::NotifyWinEvent' : function does not take 4 arguments I do not call NotifyWinEvent directly. I have tried to #ifdef out most of the code but still get this error. Module compiles fine in VC++6.0 release/debug, VS2005 release/debug win32/x64, VS2010 debug win32/x64, but fails as above in VS2010 release win32/x64. I am using default settings to build everything. ES

    C / C++ / MFC announcement csharp c++ visual-studio debugging

  • Using libraries in VS2010 / c++
    E Ed SHaw

    In previous versions, when I use dependencies and make a library project a dependency of another project, a link is added to the solution, and I can debug through the main project into the library. With VS2010, making the same dependency has no obvious effect on the solution. When I build the main project, the library is built, but is NOT included in the link. Seems trivial, but need help. Related. When I want to add a library from another developer, I used to use 'Add existing'. This still works in VS2010, but .lib is not in the drop downs. What is the preferred method for doing this. EJS

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