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
M

m1m2

@m1m2
About
Posts
9
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CHtmlView - how to get session
    M m1m2

    Hi, how can I get CHtmlView session or session variables, and how can i change them. Thanks.

    C / C++ / MFC tutorial question

  • AxtiveX, this pointer [modified]
    M m1m2

    Hi, it hapend something very strange to me, when i call 'this' from inside the activeX control class, when i debug project with 'activex test container', it work fine, but when i start the release with iexplorer, when call 'this' it seems to get not activex control pointer to DC, but pointer to desktop DC. Because when iexplorer is not maximized, in the center of screen, when call 'this', it starts to write on the top left corner on the desktop, outside of iexplorer. I get this pointer and then construct CClientDC dc(this); I tought that maybe this is null and get desktop dc, but when put condition if(){}, this is not null and enter int brckets. Thanks. -- modified at 2:17 Monday 17th September, 2007

    COM com docker debugging announcement

  • Can I construct CBitmap from heap
    M m1m2

    I don't know : ) but i fix it, i save file on disk and read it from there. Furst i try to separate data from header in .bmp file, because i saw one function which draw on dc directly from data bits of .bmp, but something get wrong and save it on the disk. work fine now.

    C / C++ / MFC

  • Can I construct CBitmap from heap
    M m1m2

    Hi, I download a '.bmp' file through internet and save bits in the heap like char*, can I create CBitmap without save file to disk. :)

    C / C++ / MFC

  • ActiveX - open file error
    M m1m2

    Hi, i write one activex, it have one property that receive string with file name to open. I open my activex through iexplorer. AxtiveX is writen on VC++ 2005 Problem is that wherever i put my .html file in diferent folders it always search for the file in the folders that activex was started for the first time. My file looks like this < param name="source_file" value=".\aa.txt" > Help :)

    COM help c++ html com

  • CString porble
    M m1m2

    Thanks a lot : ) it works fine now.

    C / C++ / MFC help algorithms

  • CString porble
    M m1m2

    Hi, i have one text file, about 600-700 characters long, I try to read it in one CStfing variable. My code is : CString strTemp; while( ar.ReadString(strTemp) ) m_strFileBuffer += strTemp + _T(" "); ar is CArchive, i try to put all the data from the file in m_strFileBuffer. Problem is that when algorithm pass few times throught ReadString it stop to add data to m_strFileBuffer, it is very strange becouse the data from the file is readed properly in strTemp, then go to next line and try to execute 'm_strFileBuffer += strTemp + _T(" ");' but nothing hapend, algorithm go through this line, back to whili(), read next line from the file and try again to add data to m_strFileBUffer, and that is until ar go to end of the file. At the end i have only half of the file saved in the m_strFileBuffer. Anyone can help with that : ) Thanks.

    C / C++ / MFC help algorithms

  • Have a problem with CFileDialog [modified]
    M m1m2

    Find it :) when i browse for a file it change curren directory and save file in another plase :)

    C / C++ / MFC debugging help

  • Have a problem with CFileDialog [modified]
    M m1m2

    Hi. I write one application i have one button(browse) when click on it, it call CFileDialog.DoModal(). When user chose a file, the dialog thake the name and call to save it to another file void CRgnDoc::MyFileSaveFunction(int i,CString filename) { m_iStart=i; //int m_strSongPath=filename; //CString - separate string and save like //integer OnSaveDocument("OneClock.one"); } my Serialize function look like this void CRgnDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // storing code int i; i=m_strSongPath.GetLength(); ar<>i; for (int j=0;j>ch; m_strSongPath=m_strSongPath+(char)ch; // TRACE("%c",ch); // AfxMessageBox("asw"); } ar>>m_iStart; } } when call MyFileSaveFunction(), Serizlize() don't want to save my file byt if i call MyFileSaveFunction(4,"test") withought call CFileDalog befor that it work correct and everithing is save Meto -- modified at 7:19 Tuesday 29th August, 2006

    C / C++ / MFC debugging help
  • Login

  • Don't have an account? Register

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