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
P

P e t e r

@P e t e r
About
Posts
18
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • IVMRWindowlessControl:: RepaintVideo
    P P e t e r

    Using DirectShow I have made a program that captures a video stream and writes the data to screen and to disk. Rendering to screen is done by using IVMRWindowlessControl. Problems occur when the desktop is locked, e.g. by the screensaver. After unlocking, the rendering part of my application is gray. Calling IVMRWindowlessControl:: RepaintVideo refreshes this rendering part but resets the framecounter and the video contents. Any ideas how to solve this problem? Best regards, Peter

    C / C++ / MFC help tutorial question

  • opengl web application
    P P e t e r

    Hello, I am investigating how to port my C++ MFC application with OpenGL to a web-application. Searching the internet leads to many keywords, like plugins/ActiveX, X3D, OpenGL ch, Ajax3D and more. I am completely unexperienced to web-programming, but I am willing to learn and apply this. Can anybody advise me what could be a good direction? Best regards, Peter

    ASP.NET c++ com graphics game-dev algorithms

  • opengl web application
    P P e t e r

    Hello, I am investigating how to port my C++ MFC application with OpenGL to a web-application. Searching the internet leads to many keywords, like plugins/ActiveX, X3D, OpenGL ch, Ajax3D and more. I am completely unexperienced to web-programming, but I am willing to learn and apply this. Can anybody advise me what could be a good direction? Best regards, Peter

    Web Development c++ com graphics game-dev algorithms

  • dynamically create cbutton
    P P e t e r

    In my application a variable number of buttons (MFC CButton) are dynamically created. How to dynamically assign callback (OnClick) functions to these buttons? Can someone help me? Best regards, Peter de Hon

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

  • CDocument::UpdateAllViews MFC
    P P e t e r

    But it also appears with a window consisting of common controls like listboxes, buttons and so on... What call is responsible for this update (and flickering)?

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

  • CDocument::UpdateAllViews MFC
    P P e t e r

    When sending GetDocument()->UpdateAllViews alle views are flickering once. Can anybody tell me how to disable that flickering? Do I have to modify OnUpdate? I tried to do something with InvalidateRect but it does not solve my problem. Best regards, Peter :confused:

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

  • Avi writing using DirectShow
    P P e t e r

    My application writes the avi-files using the VFW Windows API-calls. But the problem I encounter now is the size limit of the avifile using VFW. I understand that using DirectShow instead of VFW solves this problem. But DirectShow is quite new to me. Could anybody give me some hints how to use DirectShow for writing avifiles? (Using interfaces like IGraphBuilder?) I am looking for a DirectShow-function that is a equivalent for AVIStreamWrite. At this function it is possible to present a data pointer. I have been looking in the DirectShow-documentation but I cannot find a function to which I can present a data pointer from a bitmap/frame.

    C / C++ / MFC graphics json help tutorial question

  • write avifile using DirectShow
    P P e t e r

    Can anybody tell me how to write (offline) a avi-file using the DirectShow interfaces? I like to write an avi file composed of a series of bitmaps. Which DirectShow-COM-object/interface do I need? Best regards, Peter:confused:

    C / C++ / MFC com tutorial question

  • corrupt avi file
    P P e t e r

    My program writes avi files (using a video capturing card) using the windows API (AVIFileCreateStream etc.) When the file is quite large (3 GB) the avi file becomes corrupt. The VirtualDub-program analyses the file with the message : missing index block. Can someone help me regarding this problem? Best regards, Peter de Hon PdH

    C / C++ / MFC help database json question

  • printing an Enhanced Metafile
    P P e t e r

    I want to print an Enhanced Metafile. This file is generated and printed by using GDI+ (Graphics and Metafile objects) What kind of Device Context do I have to use while generating this metafile, to be independent from the printer device it will be printed out later on? When I use a screen Device Context while generating this metafile and print it, the dimensions of the printed shapes are not OK !

    C / C++ / MFC graphics winforms question

  • GDI+ metafile problem
    P P e t e r

    In the following source code fragment a metafile is generated with a line with a length of 60 millimeter using GDI+. The problem is when I analyse this metafile with Visio or print 1:1 on paper, the dimension of the line is not 60 mm ! I hope somebody can tell me the reason. Gdiplus::GdiplusStartupInput gdiplusStartupInput; ULONG_PTR gdiplusToken; GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL); Metafile* myMetafile = new Metafile(L"MyDiskFile.emf", ::GetDC(NULL)); Graphics* myGraphics = new Graphics(myMetafile); Pen* myPen = new Pen(Color(255, 0, 0, 200)); myGraphics->SetPageUnit(UnitMillimeter); myGraphics->DrawLine(myPen, 0, 0, 60, 0); delete myGraphics; delete myPen; delete myMetafile; GdiplusShutdown(gdiplusToken);

    C / C++ / MFC graphics winforms help

  • client detection
    P P e t e r

    How can a COM server detect his clients ? Best regards

    COM com sysadmin question

  • client crash
    P P e t e r

    A server knows the client is present or not by using reference counting. But how knows the server when a client crashes. In that case the client is not able to call Release.

    COM sysadmin announcement

  • com client crash
    P P e t e r

    A server knows the client is present or not by using reference counting. But how knows the server when a client crashes. In that case the client is not able to call Release.

    C / C++ / MFC com sysadmin announcement

  • printf formatting problem
    P P e t e r

    The code : [ float f = 10.123; printf("%10.4E\n",f); ] results (Microsoft Visual C++) : 1.0123E+001 How to print 1.0123E+01 ? (2 digits after E instead of 3) Best regards, Peter

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

  • returnvalue message handler
    P P e t e r

    How can I get the returnvalue of the message handler function?

    C / C++ / MFC question

  • getting build number
    P P e t e r

    Is it possible in Microsoft Visual C++ to get the build number of an application (e.g. to display it in the About dialog) Best regards, Peter de Hon

    C / C++ / MFC c++

  • postfix operator problem
    P P e t e r

    Following code works well when compiled with Microsoft c-compiler : j = 0; j = (j < 1) ? j++ : 0; --> result j = 1 When compiled with Microsoft c++ compiler --> result = 0 (wrong) Can somebody explain this?

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