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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
B

bankai123

@bankai123
About
Posts
57
Topics
28
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Reading in a DIB Raw AVI video
    B bankai123

    Hi, I was wondering how I may go about reading in a raw AVI file, as I have one and would like to convert it to another format such as WMV3. Are there any recommended libraries for this sort of work? Thanks

    C / C++ / MFC question

  • MFC + Windows Embedded Xp [modified]
    B bankai123

    Thanks. It's good to know.

    C / C++ / MFC c++ hardware question announcement

  • MFC + Windows Embedded Xp [modified]
    B bankai123

    Hi, I will soon be working on some work which will be in the Windows xp embedded operating system. I'm wondering if applications I code for the standard windows envrionment(such as in MFC) are compatible with the embedded version, also are there any important factors when programming for the Windows xp embedded OS? Thanks -- modified at 9:47 Thursday 11th October, 2007

    C / C++ / MFC c++ hardware question announcement

  • Code profiling tool
    B bankai123

    Hi, I was wondering if there are any notable freeware code profiling tools for Visual Studio 2005? I'm looking for a tool which can tell me how much time is spent on certain parts of the code(not sure this procedure is called) etc. Thanks. PS: I'm using MFC if that matters.

    Visual Studio csharp c++ visual-studio debugging tools

  • error LNK2019: unresolved external symbol
    B bankai123

    Thanks for the help!:laugh: I forgot the quotes, the directory path should be in Dos 8.3 format, am I correct? Oh well, thanks, all is working now. -- modified at 7:58 Friday 1st June, 2007

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

  • error LNK2019: unresolved external symbol
    B bankai123

    Thanks for that, that solution solved the linker problem. Now I seem to get this error LINK : fatal error LNK1104: cannot open file 'C:\Program.obj' Is this a problem with my directory path I specified? Which was C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib

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

  • error LNK2019: unresolved external symbol
    B bankai123

    The AviFile class doesn't use the Vfw32.lib library, but uses vfw.h. I'm using Visual Studio 2005, so would "object/library modules" be the Additional Library Directories? Thanks

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

  • error LNK2019: unresolved external symbol
    B bankai123

    Hi, I've recently opened a vc6 MFC project into vs2005 and let it do the conversions. The code would compile fine. Next I added a class called AviFile(Creating Movie from HBitmap on Codeproject) to the project which I assume is just using win32 API. However when I try to compile, I get his error message. 1>AviFile.obj : error LNK2019: unresolved external symbol _AVIFileInit@0 referenced in function "public: __thiscall CAviFile::CAviFile(char const *,unsigned long,unsigned long)" (??0CAviFile@@QAE@PBDKK@Z) 1>AviFile.obj : error LNK2019: unresolved external symbol _AVIFileExit@0 referenced in function "public: __thiscall CAviFile::~CAviFile(void)" (??1CAviFile@@QAE@XZ) 1>AviFile.obj : error LNK2019: unresolved external symbol _AVIFileRelease@4 referenced in function "private: void __thiscall CAviFile::ReleaseMemory(void)" (?ReleaseMemory@CAviFile@@AAEXXZ) ...etc I think there's something wrong with the linker settings, but I can't quite figure it out. I've googled for possible solutions, but still no luck. Does anyone have an idea? Thanks

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

  • Bitmap bits
    B bankai123

    I've used the CreateDibSection function to create a DIB for bitmap... HWND hWnd = this->GetSafeHwnd(); HDC hdc = ::GetDC(hWnd); BITMAPINFO bmpInfo; ZeroMemory(&bmpInfo,sizeof(bmpInfo)); bmpInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); bmpInfo.bmiHeader.biBitCount = 8; bmpInfo.bmiHeader.biCompression = BI_RGB; bmpInfo.bmiHeader.biSizeImage = 0; // Set to 0 for BI_RGB images bmpInfo.bmiHeader.biPlanes = 1; bmpInfo.bmiHeader.biHeight = 768; bmpInfo.bmiHeader.biWidth = 1024; bmpInfo.bmiHeader.biClrUsed = 256; hFrameBitmap = CreateDIBSection(hFrameDC, &bmpInfo, DIB_RGB_COLORS, **&pBits**, NULL, NULL); I'm wondering how I can set the 4th parameter to point to a FILE* type which I store my raw pixel data, where pBits must be a LPVOID. Thanks

    C / C++ / MFC graphics

  • Creating bitmap from file raw data
    B bankai123

    I've used the CreateDibSection function to create a DIB for bitmap... HWND hWnd = this->GetSafeHwnd(); HDC hdc = ::GetDC(hWnd); BITMAPINFO bmpInfo; ZeroMemory(&bmpInfo,sizeof(bmpInfo)); bmpInfo.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); bmpInfo.bmiHeader.biBitCount = 8; bmpInfo.bmiHeader.biCompression = BI_RGB; bmpInfo.bmiHeader.biSizeImage = 0; // Set to 0 for BI_RGB images bmpInfo.bmiHeader.biPlanes = 1; bmpInfo.bmiHeader.biHeight = 768; bmpInfo.bmiHeader.biWidth = 1024; bmpInfo.bmiHeader.biClrUsed = 256; hFrameBitmap = CreateDIBSection(hFrameDC, &bmpInfo, DIB_RGB_COLORS, **&pBits**, NULL, NULL); I'm wondering how I can set the 4th parameter to point to a FILE* type which I store my raw pixel data, where pBits must be a LPVOID. Thanks

    C / C++ / MFC graphics

  • Motion Detection in VC++
    B bankai123

    There isn't a exact procedure to implementing motion detection. There are many algorithms for doing that, and searching the articles on this site anf google should bring up some results. Good luck

    C / C++ / MFC c++ tutorial

  • How to get hWnd in MFC?
    B bankai123

    Using the Win32 API here he is some sample code to get the device context and create a bitmap HDC hBackDC=NULL; HDC hdc=GetDC(hWnd); hBackDC=CreateCompatibleDC(hdc); BITMAPINFO bmpInfo; ZeroMemory(&bmpInfo,sizeof(bmpInfo)); bmpInfo.bmiHeader.biSize=sizeof(BITMAPINFOHEADER); bmpInfo.bmiHeader.biBitCount=32; bmpInfo.bmiHeader.biCompression=BI_RGB; bmpInfo.bmiHeader.biSizeImage=320*240*4; bmpInfo.bmiHeader.biPlanes=1; bmpInfo.bmiHeader.biHeight=240; bmpInfo.bmiHeader.biWidth=320; hBackBitmap=CreateDIBSection(hBackDC,&bmpInfo,DIB_RGB_COLORS,&pBits,NULL,NULL); where "hWnd" is from LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) I'm wondering how I get the handle of the window (hWnd) in MFC? Thanks

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

  • Detect up/down pressed for NumericUpDown class
    B bankai123

    Hi, I'm wondering if it's possible at all to detect whether the user has clicked the up or the down button specifically. Thanks

    C#

  • Bitmaps to video
    B bankai123

    Which version of the Windows Media SDK do you recommend, or should I use the latest (version 11)? Thanks

    C / C++ / MFC question

  • Bitmaps to video
    B bankai123

    Thanks for the hints. I've heard DirectShow can also be a relevant library, or is that mainly for displaying video?

    C / C++ / MFC question

  • Bitmaps to video
    B bankai123

    Hi, I currently have bitmaps coming in as files from a usb input and I'm wondering what library is suitable for displaying the bitmaps into a video. If so can someone point me in the right direction? Thanks

    C / C++ / MFC question

  • Disable TextBox cursor
    B bankai123

    Setting the textbox enable property to false leave is a faded colour making text hard mopre difficult to read. I've used the Read-Only property however I don't want the user to be able to select the text if that's possible. Thanks

    C#

  • Disable TextBox cursor
    B bankai123

    Hi, I'm wondering how I can ensure a cursor(I'm referring to the IBeam cursor) doesn't appear in a textbox. What I want to do is use a textbox to display some message but I dont want any cursors showing up in it. Thanks

    C#

  • Performance counter question
    B bankai123

    Hi, I'm using the Windows Performance Counter to monitor my .NET application and to diagnose some memory leak problems. The two counters I'm particuarly interested in are "Working Set" and "Private Bytes". However I'm not sure what scale to use for both? Currently the scale is set at 0.00001 by default. I'm not sure what units this is measured in so can someone guide me to what scale to measure at? Thanks

    .NET (Core and Framework) performance question csharp tutorial

  • .pdb files in release build
    B bankai123

    Thanks for the help.

    Managed C++/CLI question announcement
  • Login

  • Don't have an account? Register

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