www.digitalmars.com         C & C++   DMDScript  

D - Advice please

reply "Charles Sanders" <sanders-consulting comcast.net> writes:
Hey all, im trying to develop a C++ and D window kit for Windows, having a
little trouble implementing "MessageSlots" in the C++ version and Im not
sure how else to proceed, ive attached the source, the error message is
pasted at the bottom of WindyLib.cpp ... any advice is super helpful Im a
little bit out of my league.

Thanks all,
C


begin 666 window.h
M(VEF;F1E9B!724Y$3U=?2 T*(V1E9FEN92!724Y$3U=?2 T*#0H-" T*(VEN
M8VQU9&4 (F-O;6UO;BYH( T*(VEN8VQU9&4 (FUS9RYH( T*#0H-" T*#0H-
M"F-L87-S(%=N9"![#0IP<F]T96-T960Z#0H)2%=.1"!M7VAW;F0[#0H)<W1R
M:6YG(&U?8VQA<W-.86UE.PT*"7-T9#HZ;6%P/%5)3E0L37-G4VQO=#X ;7-G
M2&%N9&QE<G,[#0H-"G!U8FQI8SH-" E7;F0H8V]N<W0 <W1R:6YG)B!C;&%S
M<TYA;64L(%=N9"H <&%R96YT(#T ," I(#H ;5]C;&%S<TYA;64H8VQA<W-.
M86UE*2![('T-" T*#0H)8F]O;"!C<F5A=&5%>"A$5T]21"!D=T5X4W1Y;&4L
M8V]N<W0 <W1R:6YG)B!W:6YD;W=.86UE+"  ("!$5T]21"!D=U-T>6QE+"  
M("!I;G0 >"P ("  :6YT('DL("  (&EN="!N5VED=& L("  (&EN="!N2&5I
M9VAT+"  ("!(5TY$(&A7;F1087)E;G0L("  ($A-14Y5(&A-96YU+"  ("!(
M24Y35$%.0T4 :$EN<W1A;F-E+$Q05D])1"!X=')A*2 [#0H-" T*"5=N9" J
M("!G971087)E;G0H*3L-" T*"79O:60 <')E0W)E871E5VEN9&]W*"!$5T]2
M1" F9'=3='EL92P 1%=/4D0 )F1W17A3='EL92 I#0H)>PT*"7T-" D-" EV
M;VED('!O<W1#<F5A=&57:6YD;W<H*0T*"7L-" E]#0H-" EV;VED(&%D9$AA
M;F1L97(H(%5)3E0 ;7-G+"!-<V=3;&]T("9M<R I#0H)>PT*"0EM<V=(86YD
M;&5R<UMM<V==(#T ;7,[#0H)?0T*#0H)8F]O;"!H86YD;&5-97-S86=E*"!,
M4D5354Q4("9R=BP 54E.5"!M<V<L(%=005)!32!W<&%R86TL($Q005)!32!L
M<&%R86T *0T*"7L-" D)37-G4VQO="!M<SL-" D):68 *"!M<V=(86YD;&5R
M<RYF:6YD*&US9RD (3T ;7-G2&%N9&QE<G,N96YD*"D *2![#0H)"0T*"0D)
M;7, /2!M<V=(86YD;&5R<UMM<V==.PT*"0D)#0HO+PD)"7!R:6YT9B  (B K
M+2!M7VAW;F0Z)5  ;7-G)7 H)2XJ<RD 6R5X("5X75QN(BP 8V%S="AI;G0I
M;5]H=VYD+"!M<V<L(&=E=$US9TYA;65?<')V*"!M<V< *2P =W!A<F%M+"!L
M<&%R86T *3L-" D)"7)E='5R;B!M<RYP<F]C97-S*"!R=BP =W!A<F%M+"!L
M<&%R86T *3L-" D)?0T*+R\)"7!R:6YT9B  (B J7&XB("D[#0H)"7)E='5R
M;B!F86QS93L-" E]#0H-" T*"6)O;VP :&%N9&QE0V]M;6%N9"  3%)%4U5,
M5" F<G8L(%=/4D0 8VUD("D #0H)>PT*"0D-" D)37-G4VQO="!M<SL-" D)
M:68 *"!M<V=(86YD;&5R<RYF:6YD*&-M9"D (3T ;7-G2&%N9&QE<G,N96YD
M*"D *2![#0H-" D)"6US(#T ;7-G2&%N9&QE<G-;8VUD73L-" D)"0T*"0E]
M#0H)"7)E='5R;B!F86QS93L-" E]#0H-" E,4D5354Q4('5N:&%N9&QE9$US
M9R  2%=.1"!M<V=H=VYD+"!524Y4(&US9RP 5U!!4D%-('=P87)A;2P 3%!!
M4D%-(&QP87)A;2 I#0H)>PT*"0ER971U<FX 1&5F5VEN9&]W4')O8T$H(&US
M9VAW;F0L(&US9RP =W!A<F%M+"!L<&%R86TI.PT*"7T-" T*"6)O;VP :&%N
M9&QE3F]T:69Y37-G*"!,4D5354Q4("9R=BP 3%!.34A$4B!N;W1I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I.PT*"7T-" T*"4Q2
M15-53%0 <V5N9$US9U1I;65O=70H(%5)3E0 ;7-G+"!74$%204T =W!A<F%M
M+"!,4$%204T ;'!A<F%M+"!524Y4(&9L86=S+"!524Y4('1I;65O=70 *0T*
M"7L-" D)1%=/4D0 <F5S=6QT(#T ,#L-" D)4V5N9$UE<W-A9V54:6UE;W5T
M*"!M7VAW;F0L(&US9RP =W!A<F%M+"!L<&%R86TL(&9L86=S+"!T:6UE;W5T
M+" F<F5S=6QT("D[#0H)"7)E='5R;B H3%)%4U5,5"ER97-U;'0[#0H)?0T*
M#0H)=F]I9"!S:&]W5VEN9&]W*"!B;V]L('-T871E("D-" E[#0H)"5-H;W=7
M:6YD;W<H(&U?:'=N9"P <W1A=&4 /R!35U]32$]7(#H 4U=?2$E$12 I.PT*
M"7T-" T*"4Q/3D< 9V5T4W1Y;&4H*2  ('L <F5T=7)N($=E=%=I;F1O=TQO
M;F<H(&U?:'=N9"P 1U=,7U-464Q%("D[('T-" E,3TY'(&=E=$5X4W1Y;&4H
M*2![(')E='5R;B!'9717:6YD;W=,;VYG*"!M7VAW;F0L($=73%]%6%-464Q%
M("D[('T-" T*"79O:60 9V5T5VEN9&]W4W1Y;&4H($Q/3D< )G-T>6QE+"!,
M3TY'("9E>'-T>6QE("D-" E[#0H)"7-T>6QE("  /2!G9713='EL92 I.PT*
M"0EE>'-T>6QE(#T 9V5T17A3='EL92 I.PT*"7T-" T*"79O:60 861J=7-T
M4F5C="  4D5#5" F<F5C="P 8F]O;"!H87--96YU("D-" E[#0H)"4Q/3D< 
M<W1Y;&4L(&5X<W1Y;&4[#0H)"6=E=%=I;F1O=U-T>6QE*"!S='EL92P 97AS
M='EL92 I.PT*"0E!9&IU<W17:6YD;W=296-T17 H("9R96-T+"!S='EL92P 
M:&%S365N=2P 97AS='EL92 I.PT*"7T-" T*"79O:60 <V5T5VEN9&]W5&5X
M="  8V]N<W0 <W1R:6YG)B!T97AT("D-" E[#0H)"5-E=%=I;F1O=U1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0VQI
M96YT*"!P87)E;G1(=VYD+" F8G( *3L-" D)<F5C="YL969T("  /2!T;"YX
M.PT*"0ER96-T+G1O<"  (" ]('1L+GD[#0H)"7)E8W0N<FEG:'0 (#T 8G(N
M>#L-" D)<F5C="YB;W1T;VT /2!B<BYY.PT*"7T-" T*"79O:60 <V5T4VEZ
M92  4TE:12 F<VEZ92 I#0H)>PT*"0E214-4(')E8W0[#0H)"5!/24Y4('1L
M.PT*"0E'9717:6YD;W=296-T*"!M7VAW;F0L("9R96-T("D[#0H)"71L+G  
M/2!R96-T+FQE9G0[#0H)"71L+GD /2!R96-T+G1O<#L-" D)4V-R965N5&]#
M;&EE;G0H($=E=%!A<F5N="  ;5]H=VYD("DL("9T;" I.PT*"0E-;W9E5VEN
M9&]W*"!M7VAW;F0L('1L+G L('1L+GDL('-I>F4N8W L('-I>F4N8WDL('1R
M=64 *3L-" E]#0H)#0H)=F]I9"!S971087)E;G0H(%=N9" F;F5W<&%R96YT
M("D >PT*"0E3971087)E;G0H(&U?:'=N9"P ;F5W<&%R96YT+FU?:'=N9" I
M.PT*"7T-" T*"0T*"79O:60 :6YV86QI9&%T92 I('L-" D)26YV86QI9&%T
M95)E8W0H(&U?:'=N9"P ,"P 9F%L<V4 *3L-" E]#0H-" T*#0H-" T*#0I]
1.PT*#0H-" T*(V5N9&EF#0H`
`
end

begin 666 msg.h
M(VEF;F1E9B!-4T=?2 T*(V1E9FEN92!-4T=?2 T*(VEN8VQU9&4 /'=I;F1O
M=W,N:#X-" T*#0IC;&%S<R!-<V=3;&]T('L-"G!U8FQI8SH-" EV:7)T=6%L
M(&)O;VP <')O8V5S<R  3%)%4U5,5" F<G8L(%=005)!32!W<&%R86TL($Q0
M05)!32!L<&%R86T *2![(')E='5R;B!F86QS93L ?0T*#0I].PT*#0H-"G1Y
M<&5D968 3%)%4U5,5" H37-G4VQO=#HZ*G=I;C,R1G5N8RD *$Q215-53%0F
M+"!74$%204TL($Q005)!32D[#0IT>7!E9&5F($Q215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'!A<F%M("D >PT*"0DH
M*G1H:7,N*E]F=6YC*2 H*3L-" D)<F5T=7)N('1R=64[#0H)?0T*#0IP<F]T
M96-T960Z#0H-" EC;61&=6YC(%]F=6YC.PT*#0H-"GT[#0H-" T*(V5N9&EF
"#0H`
`
end

begin 666 window.cpp
M(VEN8VQU9&4 (G-T9&%F>"YH( T*(VEN8VQU9&4 (G=I;F1Y+F B#0HC:6YC
M;'5D92 B=VEN9&]W+F B#0H-"B\O(&)E8V%U<V4 ;V8 =&AE(')E9G)E;F-E
M('1O(%=I;F1Y07!P.CH <W1A=&EC(&9U;F-T:6]N<R!W92!H879E('1O(&UO
M=F4 =&AE<V4 9G5N8W1I;VYS(&EN=&\ 82!D969I;FET:6]N(&9I;&4L($,K
M*R!S=6-K<R!A<W,-" T*8F]O;"!7;F0Z.F-R96%T945X*$173U)$(&1W17A3
M='EL92QC;VYS="!S=')I;F<F('=I;F1O=TYA;64L("  ($173U)$(&1W4W1Y
M;&4L("  (&EN="!X+"  ("!I;G0 >2P ("  :6YT(&Y7:61T:"P ("  :6YT
M(&Y(96EG:'0L("  ($A73D0 :%=N9%!A<F5N="P ("  2$U%3E4 :$UE;G4L
M("  ($A)3E-404Y#12!H26YS=&%N8V4L3%!63TE$('AT<F$I('L-" D)#0H)
M;5]H=VYD(#T 0W)E871E5VEN9&]W17 H#0H)"61W17A3='EL92P-" D)5TE.
M1%E#3$%34RP-" D)=VEN9&]W3F%M92YC7W-T<B I+" -" D)9'=3='EL92P-
M" D)>"P >2P ;E=I9'1H+"!N2&5I9VAT+ T*"0EH5VYD4&%R96YT+"!H365N
M=2P 5VEN9'E!<' Z.F=L;V)A;$EN<W1A;F-E+"!X=')A*3L-" ER971U<FX 
M;5]H=VYD("$]($Y53$P[#0H-"GT-" T*5VYD("H 5VYD.CIG971087)E;G0H
M*2![#0H)<F5T=7)N(%=I;F1Y07!P.CIW:6YD;W=&<F]M2&%N9&QE*"!'9710
787)E;G0H(&U?:'=N9" I("D[#0I]#0H`
`
end

begin 666 common.h
M(VEF;F1E9B!#3TU-3TY?2 T*(V1E9FEN92!#3TU-3TY?2 T*#0HC:6YC;'5D
M92 \<W1R:6YG/ T*#0H-"B-I;F-L=61E(#QI;W-T<F5A;3X-"B-I;F-L=61E
M(#QM87 ^#0H-"G5S:6YG('-T9#HZ;6%P.PT*=7-I;F< <W1D.CIS=')I;F<[
D#0IU<VEN9R!S=&0Z.F-O=70[#0H-"B-E;F1I9 T*#0H-" T*
`
end

begin 666 windy.cpp
M(VEN8VQU9&4 (G-T9&%F>"YH( T*(VEN8VQU9&4 (G=I;F1Y+F B#0H-" T*
M2$E.4U1!3D-%(%=I;F1Y07!P.CIG;&]B86Q);G-T86YC92 ](# [#0I!5$]-
(%=I;F1Y07!P.CIW:6YD4')O<$%T;VT /2 P.PT*
` end begin 666 windy.h M(VEF;F1E9B!724Y$65](#0HC9&5F:6YE(%=)3D197T -" T*(VEN8VQU9&4 M(F-O;6UO;BYH( T*(VEN8VQU9&4 (FUS9RYH( T*(VEN8VQU9&4 (G=I;F1O M=RYH( T*#0IC;VYS="!C:&%R(%=)3D190TQ!4U, 6UT /2 B5U=I;F1O=T-L M87-S,# B.PT*8V]N<W0 8VAA<B!724Y$65!23U 6UT /2 B5U=I;F1O=U!R M;W P,"([#0H-"F-L87-S(%=I;F1Y07!P('L-"G!U8FQI8SH-" ES=&%T:6, M2$E.4U1!3D-%(&=L;V)A;$EN<W1A;F-E.PT*"7-T871I8R!!5$]-('=I;F10 M<F]P071O;3L-"G!R;W1E8W1E9#H-" D-" D-" ES=&%T:6, 3%)%4U5,5"!7 M:6YD;W=0<F]C*"!(5TY$(&AW;F0L(%5)3E0 ;7-G+"!74$%204T =W!A<F%M M+"!,4$%204T ;'!A<F%M("D-" E[#0H)"0E,4D5354Q4(')V.PT*"0D)5VYD M("IW;F0[( T*#0H-" D):68 *"!M<V< (3T 5TU?3D]42499("D-" D)>PT* M"0D-" D)"2\O(&-H96-K(&9O<B!#3TU-04Y$4R!F<F]M(&-O;G1R;VQS#0H) M"0EI9B H(&US9R ]/2!735]#3TU-04Y$("D-" D)"7L)#0H)"0D)2%=.1"!C M;61(=VYD(#T *$A73D0I;'!A<F%M.PT*#0H)"0D)=VYD(#T =VEN9&]W1G)O M;4AA;F1L92 8VUD2'=N9" I.PT*#0H)"0D):68 *"!W;F0 *0T*"0D)"7L- M"B )"0D)"6EF(" =VYD+3YH86YD;&5#;VUM86YD*"!R=BP 2$E73U)$*'=P M87)A;2D *2 I#0H)"0D)"7L-" D)"0D)"7)E='5R;B!R=CL-" D)"0D)?0T* M"0D)"7T-" D)"0DO+R!S96YD:6YG('1H92!W:6YD;W< =&AA="!W:6YD;W=S M('-E;G0 =&AE(&UE<W-A9V4 =&\-" D)"0DO+R!T:&ES('=I;&P ;6]S="!L M:6ME;'D :G5S="!C86QL('5N:&%N9&QE9$US9PT*"0D)"2\O(&)U="!Y;W4 M8V%N(&%D9"!Y;W5R(&]W;B!C;VUM86YD(&AA;F1L97( :68-" D)"0DO+R!Y M;W4 87)E('!U='1I;F< ;F]N($1&0R!A='1A8VAE9"!7:6YD;W=S#0H)"0D) M+R\ :6YT;R!Y;W5R(&AI97)A8VAY("AN;W0 <F5A;'D 861V:7-E9"DN#0H) M"0E]#0H)"0D-" D)"0T*"0D)=VYD(#T =VEN9&]W1G)O;4AA;F1L92 :'=N M9" I.PT*#0H)"0EI9B H('=N9" I#0H)"0E[#0H)"0D)+R\ 5TU?1$535%)/ M62!C;VUE<R!B969O<F4 5TU?3D-$15-44D]9#0H)"0D)+R\ =&AI<R!32$]5 M3$0 8F4 =&AE(&QA<W0 979E<GD ;7-G('1H92!W:6YD;W< =VEL;"!G970- M" D)"0EI9B H(&US9R ]/2!735].0T1%4U123UD *0T*"0D)"7L-" D)"0D) M365S<V%G94)O>"A.54Q,+" B5VEN9&]W(%)E9VES=')A=&EO;B!&86EL960A M(BP (D5R<F]R(2(L#0H)"0D)"0D ("!-0E])0T].15A#3$%-051)3TX ?"!- M0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%=N9"H =VEN9&]W1G)O;4AA;F1L92 2%=.1"!H=VYD("D-" E[#0H) M"6EF(" :'=N9" I#0H)"7L-" D)"7)E='5R;B H5VYD*BE'9710<F]P02 M:'=N9"P *&-H87(J*7=I;F10<F]P071O;2 I.PT*"0E]#0H)"7)E='5R;B P M.PT*"7T-" T*"7-T871I8R!73D104D]#('-U8F-L87-S*"!(5TY$(&AW;F0 M*0T*"7L-" D)<F5T=7)N("A73D104D]#*5-E=%=I;F1O=TQO;F<H(&AW;F0L M($=73%]73D104D]#+" H3$].1RDH)E=I;F1O=U!R;V,I("D[#0H)?0T*#0H) M<W1A=&EC('-T<FEN9R!G971,87-T17)R;W(H*2![#0H-" D)3%!63TE$(&QP M37-G0G5F.PT*"0EI9B H(49O<FUA=$UE<W-A9V4H( T*"0D)(" ($9/4DU! M5%]-15-304=%7T%,3$]#051%7T)51D9%4B!\( T*"0D)(" ($9/4DU!5%]- M15-304=%7T923TU?4UE35$5-('P #0H)"0D (" 1D]234%47TU%4U-!1T5? M24=.3U)%7TE.4T525%,L#0H)"0D (" 3E5,3"P-" D)"2 ("!'971,87-T M17)R;W(H*2P-" D)"2 ("!-04M%3$%.1TE$*$Q!3D=?3D555%)!3"P 4U5" M3$%.1U]$149!54Q4*2P +R\ 1&5F875L="!L86YG=6%G90T*"0D)(" ("A, M4%135%(I("9L<$US9T)U9BP-" D)"2 (" P+ T*"0D)(" ($Y53$P *2D- M" D)>PT*"0D)+R\ 2&%N9&QE('1H92!E<G)O<BX-" D)"7)E='5R;B B1F]R M;6%T=&EN9R!E<G)O<B([#0H)"7T-" T*#0H)"7)E='5R;B ;'!-<V="=68 M/R H8VAA<BHI;'!-<V="=68 .B B(CL-" T*#0H)?0T*#0H)<W1A=&EC(&EN M="!M97-S86=E0F]X*&-O;G-T('-T<FEN9R8 =&ET;&4L(&-O;G-T('-T<FEN M9R8 8V%P=&EO;B ]("));F9O(BQI;G0 <W1Y;&4 /2!-0E]/2R I('L-" D) M<F5T=7)N($UE<W-A9V5";W H,"QT:71L92YC7W-T<B I+&-A<'1I;VXN8U]S M='(H*2QS='EL92D[#0H)?0T*#0H)=F]I9"!M<V=,;V]P*"D-" E[#0H)"4U3 M1R!M<V<[#0H)"7=H:6QE(" 1V5T365S<V%G92 )FUS9RP *$A73D0I,"P M,"P ," I("D-" D)>PT*"0D)5')A;G-L871E365S<V%G92 )FUS9R I.PT* M"0D)1&ES<&%T8VA-97-S86=E*" F;7-G("D[#0H)"7T-" D)1VQO8F%L1&5L M971E071O;2 =VEN9%!R;W!!=&]M("D[#0H)?0T*#0H)+RHA(&-H96-K(&9O M<B!M97-S86=E(&%N9"!F;'5S:"P =&AE;B!R971U<FX #0H)*B\-" ES=&%T M:6, 8F]O;"!C:&5C:T9O<DUS9W,H*0T*"7L-" D)8F]O;"!D;T5X:70 /2!F M86QS93L-" D)35-'(&US9SL-" D)=VAI;&4 *"!0965K365S<V%G92 )FUS M9RP *$A73D0I,"P ,"P ,"P 4$U?4D5-3U9%("D *0T*"0E[#0H)"0EI9B H M(&US9RYM97-S86=E(#T](%=-7U%5250 *0T*"0D)>PT*"0D)"4=L;V)A;$1E M;&5T94%T;VTH('=I;F10<F]P071O;2 I.PT*"0D)"61O17AI=" ]('1R=64[ M#0H)"0E]#0H)"0E4<F%N<VQA=&5-97-S86=E*" F;7-G("D[#0H)"0E$:7-P M871C:$UE<W-A9V4H("9M<V< *3L-" D)?0T*"0ER971U<FX 9&]%>&ET.PT* M"7T-" T*"4Q215-53%0 <V5N9$)R;V%D8V%S=$US9R 54E.5"!M<V<L(%=0 M05)!32!W<&%R86TL($Q005)!32!L<&%R86T *0T*"7L-" D)+R\ <V5N9', M86YD('=A:71S(&9O<B!A(')E<W!O;F-E#0H)"7)E='5R;B!396YD365S<V%G M92 2%=.1%]"4D]!1$-!4U0L(&US9RP =W!A<F%M+"!L<&%R86T *3L-" E] M#0H-" EV;VED('!O<W1"<F]A9&-A<W1-<V<H(%5)3E0 ;7-G+"!74$%204T M=W!A<F%M+"!,4$%204T ;'!A<F%M("D-" E[#0H)"5!O<W1-97-S86=E*"!( M5TY$7T)23T%$0T%35"P ;7-G+"!W<&%R86TL(&QP87)A;2 I.PT*"7T-" T* 2?3L-" T*#0H-"B-E;F1I9 T* ` end begin 666 StdAfx.cpp M+R\ <W1D869X+F-P<" Z('-O=7)C92!F:6QE('1H870 :6YC;'5D97, :G5S M="!T:&4 <W1A;F1A<F0 :6YC;'5D97,-"B\O"5=I;F1Y3&EB+G!C:"!W:6QL M(&)E('1H92!P<F4M8V]M<&EL960 :&5A9&5R#0HO+PES=&1A9G N;V)J('=I M;&P 8V]N=&%I;B!T:&4 <')E+6-O;7!I;&5D('1Y<&4 :6YF;W)M871I;VX- M" T*(VEN8VQU9&4 (G-T9&%F>"YH( T*#0HO+R!43T1/.B!R969E<F5N8V4 M86YY(&%D9&ET:6]N86P :&5A9&5R<R!Y;W4 ;F5E9"!I;B!35$1!1E N2 T* 9+R\ 86YD(&YO="!I;B!T:&ES(&9I;&4-" `` ` end begin 666 StdAfx.h M+R\ <W1D869X+F .B!I;F-L=61E(&9I;&4 9F]R('-T86YD87)D('-Y<W1E M;2!I;F-L=61E(&9I;&5S+ T*+R\ (&]R('!R;VIE8W0 <W!E8VEF:6, :6YC M;'5D92!F:6QE<R!T:&%T(&%R92!U<V5D(&9R97%U96YT;'DL(&)U= T*+R\ M(" ("!A<F4 8VAA;F=E9"!I;F9R97%U96YT;'D-"B\O#0H-"B-I9B A9&5F M:6YE9"A!1EA?4U1$04987TA?7T$Y1$(X,T1"7T$Y1D1?,3%$,%]"1D0Q7S0T M-#4U,S4T,# P,%]?24Y#3%5$141?*0T*(V1E9FEN92!!1EA?4U1$04987TA? M7T$Y1$(X,T1"7T$Y1D1?,3%$,%]"1D0Q7S0T-#4U,S4T,# P,%]?24Y#3%5$ M141?#0H-"B-I9B!?35-#7U9%4B ^(#$P,# -"B-P<F%G;6$ ;VYC90T*(V5N M9&EF("\O(%]-4T-?5D52(#X ,3 P, T*#0HC9&5F:6YE(%=)3C,R7TQ%04Y? M04Y$7TU%04X)"2\O($5X8VQU9&4 <F%R96QY+75S960 <W1U9F8 9G)O;2!7 M:6YD;W=S(&AE861E<G,-" T*(VEN8VQU9&4 /'=I;F1O=W,N:#X-" T*#0HO M+R!43T1/.B!R969E<F5N8V4 861D:71I;VYA;"!H96%D97)S('EO=7( <')O M9W)A;2!R97%U:7)E<R!H97)E#0H-"B\O>WM!1EA?24Y315)47TQ/0T%424]. M?7T-"B\O($UI8W)O<V]F="!6:7-U86P 0RLK('=I;&P :6YS97)T(&%D9&ET M:6]N86P 9&5C;&%R871I;VYS(&EM;65D:6%T96QY(&)E9F]R92!T:&4 <')E M=FEO=7, ;&EN92X-" T*(V5N9&EF("\O("%D969I;F5D*$%&6%]35$1!1EA? M2%]?03E$0C S1$)?03E&1%\Q,40P7T)&1#%?-#0T-34S-30P,# P7U])3D-, (541%1%\I#0H` ` end begin 666 WindyLib.cpp M+R\ 5VEN9'E,:6(N8W!P(#H 1&5F:6YE<R!T:&4 96YT<GD <&]I;G0 9F]R M('1H92!A<'!L:6-A=&EO;BX-"B\O#0H-"B-I;F-L=61E(")S=&1A9G N:"(- M"B-I;F-L=61E(")W:6YD>2YH( T*(VEN8VQU9&4 (FUS9RYH( T*#0H-"B\O M($9O=V%R9"!D96-L87)A=&EO;G, ;V8 9G5N8W1I;VYS(&EN8VQU9&5D(&EN M('1H:7, 8V]D92!M;V1U;&4Z#0IC;&%S<R!->4%P<" Z('!U8FQI8R!7:6YD M>4%P<" L('!U8FQI8R!-<V=3;&]T('L-"G!U8FQI8SH-" T*"79O:60 <V%Y M2&5L;&\H*2![(%=I;F1Y07!P.CIM97-S86=E0F]X*")H96QL;R(I.R!]#0H- M" EV:7)T=6%L('9O:60 3VY"96=I;B I('L-" D)0V]M;6%N9$US9U-L;W0 M*FUS9R ](&YE=R!#;VUM86YD37-G4VQO=" )DUY07!P.CIS87E(96QL;RD M*3L-" D)#0H)"5=N9"H =ST ;F5W(%=N9" B37D 5VEN9&]W(BD[#0H)"6EF M(" A=RT^8W)E871E17 H"5=37T587T-,245.5$5$1T4L(E1H92!T:71L92!O M9B!M>2!W:6YD;W<B+%=37T]615),05!0141724Y$3U<L0U=?55-%1$5&055, M5"P 0U=?55-%1$5&055,5"P ,C0P+" Q,C L3E5,3"P 3E5,3"P 5VEN9'E! M<' Z.F=L;V)A;$EN<W1A;F-E+"!.54Q,*2D #0H)"0E7:6YD>4%P<#HZ;65S M<V%G94)O>"A7:6YD>4%P<#HZ9V5T3&%S=$5R<F]R*"D *3L-" D)+R]W+3YA M9&1(86YD;&5R*%=-7TQ"55143TY$3U=.+" I.PT*"0EW+3YS:&]W5VEN9&]W M*'1R=64I.PT*#0H)?0T*#0H-" T*?3L-" T*#0H-" T*:6YT($%0245.5%)9 M(%=I;DUA:6XH2$E.4U1!3D-%(&A);G-T86YC92P-"B (" (" (" (" M(" (" ($A)3E-404Y#12!H4')E=DEN<W1A;F-E+ T*(" (" (" (" M(" (" (" 3%!35%( (" (&QP0VUD3&EN92P-"B (" (" (" (" M(" (" (&EN=" (" ("!N0VUD4VAO=RD-"GL-"B )+R\ 5$]$3SH 4&QA M8V4 8V]D92!H97)E+ T*#0H #0H)37E!<' 87!P.PT*"6%P<"YR=6XH*3L- M" T*"7)E='5R;B P.PT*?0T*#0H-" T*+RH-" T*($,Z7%!R;VIE8W1S7%=I M;F1Y7%9#7%=I;F1Y3&EB7%=I;F1Y3&EB+F-P<" Q-BD .B!E<G)O<B!#,C8V M-#H )U]?=&AI<V-A;&P 0V]M;6%N9$US9U-L;W0Z.D-O;6UA;F1-<V=3;&]T M*'9O:60 *%]?=&AI<V-A;&P 37-G4VQO=#HZ*BDH=F]I9"DI)R Z(&-A;FYO M="!C;VYV97)T('!A<F%M971E<B Q(&9R;VT )W9O:60 *%]?=&AI<V-A;&P M37E!<' Z.BHI*'9O:60I)R!T;R G=F]I9" H7U]T:&ES8V%L;"!-<V=3;&]T M.CHJ*2AV;VED*0T*)PT*(" (" ("!4>7!E<R!P;VEN=&5D('1O(&%R92!U M;G)E;&%T960[(&-O;G9E<G-I;VX <F5Q=6ER97, <F5I;G1E<G!R971?8V%S M="P 0RUS='EL92!C87-T(&]R(&9U;F-T:6]N+7-T>6QE(&-A<W0-"D,Z7%!R M;VIE8W1S7%=I;F1Y7%9#7%=I;F1Y3&EB7%=I;F1Y3&EB+F-P<" Q-BD .B!E M<G)O<B!#,C U.3H <WEN=&%X(&5R<F]R(#H )RDG#0I%<G)O<B!E>&5C=71I 2;F< 8VPN97AE+ T*#0HJ+PT* ` end
Nov 06 2003
parent "Charles Sanders" <sanders-consulting comcast.net> writes:
Nm found it thanks.

C

"Charles Sanders" <sanders-consulting comcast.net> wrote in message
news:boei7u$1sdp$1 digitaldaemon.com...
 Hey all, im trying to develop a C++ and D window kit for Windows, having a
 little trouble implementing "MessageSlots" in the C++ version and Im not
 sure how else to proceed, ive attached the source, the error message is
 pasted at the bottom of WindyLib.cpp ... any advice is super helpful Im a
 little bit out of my league.

 Thanks all,
 C
Nov 06 2003