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
D

douglasjordan

@douglasjordan
About
Posts
48
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • GDI+ PNG Transparency
    D douglasjordan

    Fill the client rect with grey before DrawImage or change your image.

    C / C++ / MFC graphics winforms

  • Debugging DLL problem
    D douglasjordan

    I have not done any DLL debugging with VS2005 yet, however in the past to get a DLL to step debug I had to start the debugger from the DLL project specifying the EXE that will load the DLL. If you cannot get the EXE to stop at the point you wish, just put an "_asm int 3h" inline and the debugger will stop. If its a debug build it should automatically pull in the source.

    C / C++ / MFC debugging com tools help question

  • Regarding Shipping of application developed in DirectX
    D douglasjordan

    If your app depends on DX9 then install the redist of DX9 with your install.

    C / C++ / MFC csharp c++ visual-studio graphics game-dev

  • Editor-debugger setup
    D douglasjordan

    If you debug from the assembly view it will execute the instructions one at a time.

    C / C++ / MFC csharp debugging visual-studio help question

  • How can I put characters directly into the keyboard buffer?
    D douglasjordan

    Start with SendInput http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/sendinput.asp[^]

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

  • Need a bit of Help
    D douglasjordan

    Did you ask Sony?

    Hardware & Devices help hardware

  • FTP - remote to remote transfer
    D douglasjordan

    What is m/c? You can open a pipe to both ftp locations and transfer the data through the middle system. The data can remain in a buffer, it does not need to be written to the local drive.

    C / C++ / MFC question sysadmin help

  • How can I call COM from MakeFile Project in C++
    D douglasjordan

    Sounds like you need to add ole32.lib to the project's lib files.

    C / C++ / MFC com help c++ question announcement

  • How to use _inp and _outp in VC++
    D douglasjordan

    You will need to create a miniport driver (.sys) that can map that memory and access that I/O. After that you can create a macro that uses the inp/outp syntax to call the miniport. See MSDN for more info on miniports.

    C / C++ / MFC c++ com help tutorial

  • hey guys the directshow.....
    D douglasjordan

    If you have an MP3 encoder filter loaded the it should not be a problem.

    C / C++ / MFC question

  • How to get a dynamic created control's dc
    D douglasjordan

    Can you use SetWindowText since its an edit window?

    C / C++ / MFC help

  • Calling a C# COM Object from VC++ 6.0
    D douglasjordan

    If the lib files were built with the later compilers you will have link problems building with VC6. The latest version of Platform SDK has some libs that will not compile with VC6.

    COM question csharp c++ com tutorial

  • help help help
    D douglasjordan

    You may be able to find a canned package in PHP or other web code, but I don't it would be done in COM.

    COM help lounge

  • Hiding Toolbars, Menubar, control bar and status bar
    D douglasjordan

    You can use ShowWindow with any window handle, but what window do you need to hide these items?

    C / C++ / MFC help tutorial question

  • (Console C++)Resizing mallocation?
    D douglasjordan

    You could create a file on the local drive and store as much as the drive would hold. There would be no need for any memory allocation or re-allocation. If you don't need speed, its an option.

    C / C++ / MFC c++ question

  • Control Lines of the Printer Port
    D douglasjordan

    The control port on your PC may be a write only port and reading back the data from it would not be valid. You should check the lines with a scope and verify if they are toggling. If you ultimately require more read lines for your project you can add a latch circuit and use one of the control lines to swap your other signals to read from the 8 data lines.

    C / C++ / MFC

  • Reading Files :doh:
    D douglasjordan

    Red, you may be able to use sscanf to parse each line of the file. It can parse based on a format string into the variables that are passed in the call to it. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_sscanf.2c_.swscanf.asp[^]

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

  • Adding entries to ComboBox created using DLGITEMTEMPLATE *
    D douglasjordan

    Atif, I sugguest you debug the program in conjunction with Spy++ and verify the combo box identifier. If the combox box is being displayed in the dialog then it will have a window handle and items can be added. With GetDlgItem returning null then either your IDC_ is incorrect or the window handle for the dialog is incorrect.

    C / C++ / MFC help tutorial

  • Adding entries to ComboBox created using DLGITEMTEMPLATE *
    D douglasjordan

    Your code to add the string is correct, however if you are adding items to your memory template after you have called CreateDialogIndirect, the new items will not be part of the dialog until you first close that dialog window and recall CreateDialogIndirect. The only way to add more control items to an existing dialog would be to use CreateWindow and specify the dialog as the hwnd parent.

    C / C++ / MFC help tutorial

  • problem in debugging MFC app
    D douglasjordan
    1. the question mark typically means it cannot resolve the address for the variable. 2)odd, that should work. 3) breaking away from your code to disassembly typically means it is in code that is outside your program and the source is not provided elsewhere. This can happen with many runtime functions or library code. There is no way to prevent it unless you make sure you do not step edit into something that is outside of your app code.
    C / C++ / MFC c++ visual-studio debugging help tutorial
  • Login

  • Don't have an account? Register

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