good morning to all, i am savitri here. i am facing one problem in printing/reading the values from the card. please help me out.i used like this:
dStr=dStr + CHAR(dataRead[Ctr]);
in this m_MemId is a CString type and it is text box variable so the value of dStr is to print in that text box.
please help me out.
i am thankful u all.really i learnt many new things from u experts.
I have a question.
Why every object of a class which contains virtual functions, should have a hidden VPtr in it? This VPtr will increase the size of object by 4 bytes. That VPtr will only point to the base address of VTable. Why an object requires this VPtr in it? Instead it can be put at class level like VTable.
It works, but when a item is added or removed, the scrollbar is automatically adjust (hide when not necessary).
There is another problem with this solution, though I've used xptheme.xml, it'll show non-xp style when first called.
I am re-posting this because I am still having this problem and I am desperate to figure it out. I am trying to create a tray icon. I downloaded Chris Maunder's project and it works for me in my test dialog which is modal. Now I am trying to get it to work in a modeless dialog that ultimately I want to be hidden. I cannot get the tray icon create logic to work. The call to ::Shell_NotifyIcon() fails but I have no idea why. The NOTIFYICONDATA struct seems to be filled in correctly and GetLastError() returns 0. I have tried it with and without a visible modeless dialog. I need the tray icon only to let my user know that my service is running. My code is below.
I call the logic to create the icon below:
m_iconTray.Create( this, <br />
WM_ICON_NOTIFY, // Icon notify message to use<br />
_T("AutoFileHandler is running"), // tooltip to use<br />
::LoadIcon( NULL, IDI_ASTERISK ), // Icon to use<br />
IDR_TRAYICON ); // ID of tray icon
i have a hughe problem in my company. i have a quite complex application (distributed, corba, mulithreaded, Boost, QT 3.3)
and after closing the program (int closeevent() pApp->exit())
the program closes but after ca 5 sec. there comes an ASSERTION
attached_thread_count == 0
the code in boost looks like that:
attached_threadcount == 0 in tss_hooks.cpp. the code there looks like this:
even with the help of some c++ gurus and DevPartnerStudio we could not find the problem.
actually it isnt that annoying because only at exit it happens. but we cant deliver it to the customer like that.
does enyone has an idea what to do against it, even a trick to just dont show the assertion?
unfortunately i cant make a release-version for different reasons.
thanx for any input!!
p.s. someone gave me the following input in an other board:
Anyway, the assertion comes from the thread_specific_ptr machinery. It means that something registered a thread-exit handler but it wasn't called. This might happen if, for example, you use a thread_specific_ptr from a thread that wasn't created with boost::threads.
I am trying to play a AVI file on status bar indicating the progress for the lengthy operation.
I am doing this in a button click event. it is working fine if no statements are there below the call and, if there are statements below the avi start.. the avi is not playing on status bar.
I tryed with thread, but of no use.