Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CString & hex conversion problem Pin
Gammill30-Jul-04 19:32
Gammill30-Jul-04 19:32 
GeneralRe: CString & hex conversion problem Pin
lyn30-Jul-04 20:21
lyn30-Jul-04 20:21 
Questionhow to iternate and remove content from CMap at the same loop? Pin
zecodela30-Jul-04 18:31
zecodela30-Jul-04 18:31 
AnswerRe: how to iternate and remove content from CMap at the same loop? Pin
Gammill31-Jul-04 7:03
Gammill31-Jul-04 7:03 
AnswerWild guess on CMapStringtoPtr key removal Pin
bikram singh31-Jul-04 16:50
bikram singh31-Jul-04 16:50 
GeneralRe: Wild guess on CMapStringtoPtr key removal Pin
zecodelathe2nd31-Jul-04 17:25
zecodelathe2nd31-Jul-04 17:25 
GeneralThread Static calling non-static function Pin
Danny Gilbert30-Jul-04 17:43
Danny Gilbert30-Jul-04 17:43 
GeneralRe: Thread Static calling non-static function Pin
bikram singh31-Jul-04 16:10
bikram singh31-Jul-04 16:10 
Danny Gilbert wrote:
I don't understand the goal of the STATIC keyword in my declaration of my ThreadProcedure

I assume "ThreadProcedure" is a class member?

If you declare "ThreadProcedure" static, the function essentially "does not belong" to any single instance of the class. So, to use this method, you need to pass the instance's pointer (eg. via ThreadProcedure(this);), for the ThreadProcedure to be useful at all.

Other than the passed-in pointer, anything that ThreadProcedure uses from the class it is declared in, must also be defined as static.


Bikram Singh

Generalftp server Pin
Ryan McDermott30-Jul-04 16:21
Ryan McDermott30-Jul-04 16:21 
GeneralLoading Variable in EditBox Pin
arunforce30-Jul-04 12:00
arunforce30-Jul-04 12:00 
GeneralRe: Loading Variable in EditBox Pin
Archer28230-Jul-04 12:57
Archer28230-Jul-04 12:57 
GeneralRe: Loading Variable in EditBox Pin
arunforce30-Jul-04 13:13
arunforce30-Jul-04 13:13 
GeneralRe: Loading Variable in EditBox Pin
Jaime Stuardo30-Jul-04 13:52
Jaime Stuardo30-Jul-04 13:52 
GeneralRe: Loading Variable in EditBox Pin
arunforce30-Jul-04 14:25
arunforce30-Jul-04 14:25 
GeneralNotify Messages Pin
Kosk30-Jul-04 11:47
Kosk30-Jul-04 11:47 
GeneralRe: Notify Messages Pin
Renjith Ramachandran30-Jul-04 18:18
Renjith Ramachandran30-Jul-04 18:18 
GeneralUnicode and cstring Pin
pnpfriend30-Jul-04 11:05
pnpfriend30-Jul-04 11:05 
GeneralRe: Unicode and cstring Pin
Gary R. Wheeler30-Jul-04 12:19
Gary R. Wheeler30-Jul-04 12:19 
GeneralRe: Unicode and cstring Pin
Michael Dunn30-Jul-04 14:48
sitebuilderMichael Dunn30-Jul-04 14:48 
GeneralRe: Unicode and cstring Pin
PJ Arends30-Jul-04 23:15
professionalPJ Arends30-Jul-04 23:15 
Generalchar str[256] AND char *str = new char(256) Pin
Igor Mihailov30-Jul-04 10:44
Igor Mihailov30-Jul-04 10:44 
GeneralRe: char str[256] AND char *str = new char(256) Pin
Kosk30-Jul-04 12:01
Kosk30-Jul-04 12:01 
GeneralRe: char str[256] AND char *str = new char(256) Pin
Gary R. Wheeler30-Jul-04 12:24
Gary R. Wheeler30-Jul-04 12:24 
GeneralRe: char str[256] AND char *str = new char(256) Pin
Archer28230-Jul-04 13:03
Archer28230-Jul-04 13:03 
GeneralSetting Wallpaper Pin
Archer28230-Jul-04 10:40
Archer28230-Jul-04 10:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.