D - linking
- Sean L. Palmer (11/11) Jun 01 2002 Just in case anyone else is having trouble linking, I finally figured ou...
- Jonas (4/7) Jun 02 2002 Hi, Do you have a website where we can download it (or the way you set u...
- Sean L. Palmer (221/230) Jun 02 2002 They're just a few K (attached)
- Pavel Minayev (8/12) Jun 02 2002 make
- Jonas (14/19) Jun 02 2002 Thanks a lot, I found what you meant on the internet, did a little bit o...
- Jonas (101/115) Jun 02 2002 Stupid of me, forgotten to attach those files
- Sean L. Palmer (10/28) Jun 02 2002 That's cool. After looking at it, I believe a more thorough job can be
- Jonas (26/30) Jun 02 2002 When I was looking for it this afternoon, I encountered the ideal soluti...
- Pavel Minayev (13/22) Jun 03 2002 VStudio
- Sean L. Palmer (9/33) Jun 03 2002 In the registry you can make a new class of files (look under "Build
- Walter (11/46) Jun 03 2002 If you fellows want to put together a zip file to do this, and write a s...
- Sean L. Palmer (9/62) Jun 03 2002 We will if we can figure out how to get &%*!@ dev studio to do it proper...
- Pavel Minayev (4/8) Jun 03 2002 does
- Carlos (8/26) Jun 03 2002 i don't know if it happened only to me, but i couldn't open the d files
- Sean L. Palmer (9/40) Jun 03 2002 Your devstudio is probably installed somewhere different. Open the .REG
- Carlos (6/18) Jun 03 2002 it is installed in a different path ("archivos de programa" instead of
- Jonas (9/29) Jun 03 2002 files
- Sean L. Palmer (7/20) Jun 04 2002 Setting those env vars is an option when installing DevStudio. If you
- Jonas (6/26) Jun 04 2002 You're right, I hadn't thought about it.
- Walter (5/13) Jun 02 2002 Walter,
Just in case anyone else is having trouble linking, I finally figured out how to get DMD to deal with multiple files and other libs and such and here's the batch file I now have for building testgl: cd \dmd\d\testgl \dmd\bin\dmd testgl.d winbase.d wingdi.d winuser.d gdi32.lib user32.lib kernel32.lib opengl32.lib -I\dmd\src\phobos It no longer uses SC or shell scripts. This is actually quite nice Walter, thanks for enabling this. BTW I also have a Visual Studio 6 utility project set up that builds D files as custom build steps, so I can debug from the ide. ;) Sean
Jun 01 2002
BTW I also have a Visual Studio 6 utility project set up that builds Dfilesas custom build steps, so I can debug from the ide. ;) SeanHi, Do you have a website where we can download it (or the way you set up Visual Studio). I would find it very nice to have an IDE where to produce and debug D-apps. It would make the work more (easier) enjoyable
Jun 02 2002
They're just a few K (attached) Not as convenient as I'd like. It doesn't syntax highlight D files. It also doesn't allow you to define new file types in general so you can't make a build rule for, say, to build D files you run dmd.exe with these parameters. So each file ends up with its own custom build step. For a larger project I'd set it up to build thru a batch file or make and have the whole project not set to build individual files but just to call the batch file with different parameters when you hit F7. But then you have to maintain separately the list of files in the IDE and the list of files in the batch or make file. This is mainly a problem with Visual Studio 6; I'm not sure if VS .net is any better about this. I've also tried MED (don't like it so far) and TextPad (which seems to be growing into more of a HTML editor than an IDE). Maybe I should look for a new tool. I'm sure I could configure Multi-Edit or one of those other high-dollar programmer's editors to make working with D a snap. What is really needed is something that is an IDE integrated with MAKE. Kind of a GUI front end for MAKE that just also happens to be a text editor, debugger, and type and object browser would be perfect; especially if it comes with its own D compiler. ;) I'm not opposed to gluing together other tools, but integration actually does help productivity. If I could just get Visual Studio to have an explorer window instead of the project window! I just thought of something. Maybe if you could configure a folder so that while you're browsing in there, if you hit a certain key it performs some action (possibly with use of information such as which folder you're currently in; what file you're looking at; what is selected; etc). But ONLY while you're in one of the subfolders or a document located in a subfolder. This would be like integrating the compiler into the explorer window. I know you can also compile files using the context menu in the explorer; I've also attached a d.reg file that you can merge that *should* make your computer (if it's running windows ;) able to compile a .D file into a .OBJ or .EXE file by right-clicking it and selecting Compile or Compile And Link. You may have to customize the path in the registry (or explorer's Tools | Folder Options | File Types) to point to the correct location of your dmd.exe and phobos lib. I'm interested to know if it works on other peoples' machines besides mine. If you're worried, all these attachments are text files and can be perused. Sean "Jonas" <jonas.vermeulen student.kuleuven.ac.be> wrote in message news:adcg5n$2ivo$1 digitaldaemon.com...begin 666 TestGL.dsp M(R!-:6-R;W-O9G0 1&5V96QO<&5R(%-T=61I;R!0<F]J96-T($9I;&4 +2!. M86UE/2)497-T1TPB("T 4&%C:V%G92!/=VYE<CT\-#X-"B, 36EC<F]S;V9T M($1E=F5L;W!E<B!3='5D:6\ 1V5N97)A=&5D($)U:6QD($9I;&4L($9O<FUA M="!A('9A;&ED(&UA:V5F:6QE+B!4;R!B=6EL9"!T:&ES('!R;VIE8W0 =7-I M;VUM86YD(&%N9"!R=6X-"B%-15-304=%( T*(4U%4U-!1T4 3DU!2T4 +V8 M96-I9GD 82!C;VYF:6=U<F%T:6]N('=H96X <G5N;FEN9R!.34%+10T*(4U% M4U-!1T4 8GD 9&5F:6YI;F< =&AE(&UA8W)O($-&1R!O;B!T:&4 8V]M;6%N M9"!L:6YE+B!&;W( 97AA;7!L93H-"B%-15-304=%( T*(4U%4U-!1T4 3DU! M2T4 +V8 (E1E<W1'3"YM86LB($-&1STB5&5S=$=,("T 5VEN,S( 1&5B=6<B M<FEC(%!R;VIE8W0B*0T*(4U%4U-!1T4 (E1E<W1'3" M(%=I;C,R($1E8G5G M;VYF:6=$97!E;F1E;F-I97, , T*(R!04D]0(%-C8U]0<F]J3F%M92 B( T* M(R!04D]0(%-C8U],;V-A;%!A=& (B(-"DU43#UM M("(D*$-&1RDB(#T M87)I97, , T*(R!04D]0($)!4T4 3W5T<'5T7T1I<B B4F5L96%S92(-"B, M(R!04D]0($EN=&5R;65D:6%T95]$:7( (B(-"B, 4%)/4"!487)G971?1&ER M(D1E8G5G( T*(R!04D]0($)!4T4 26YT97)M961I871E7T1I<B B1&5B=6<B M7T1I<B B( T*(R!04D]0($EN=&5R;65D:6%T95]$:7( (B(-"B, 4%)/4"!4 M=$=,+F0-"DEN<'5T3F%M93U497-T1TP-" T*(B0H26YP=71.86UE*2YE>&4 M3U541$E2*2(-" E<9&UD7&)I;EQD;60N97AE("UG("UR96QE87-E("UI;FQI M;F4 +4\ +6\D*$EN=$1I<BD )"A);G!U=$YA;64I('=I;F)A<V4N;V)J('=I M;F=D:2YO8FH =VEN=7-E<BYO8FH 9V1I,S(N;&EB('5S97(S,BYL:6( :V5R M;64I+F5X92 D*$EN<'5T3F%M92DN;V)J(B Z("0H4T]54D-%*2 B)"A)3E1$ M25(I(B B)"A/551$25(I( T*"5QD;61<8FEN7&1M9"YE>&4 +6< +61E8G5G M("UU;FET=&5S=" M=F5R<VEO;CUD96)U9R D*$EN<'5T3F%M92D =VEN8F%S M92YO8FH =VEN9V1I+F]B:B!W:6YU<V5R+F]B:B!G9&DS,BYL:6( =7-E<C,R M+FQI8B!K97)N96PS,BYL:6( ;W!E;F=L,S(N;&EB("U)7&1M9%QS<F-<<&AO M26YP=71.86UE/7=I;F)A<V4-" T*(B0H26YP=71.86UE*2YO8FHB(#H )"A3 M=7-T;VT 0G5I;&0-" T*(45,4T5)1B (B0H0T9'*2( /3T (E1E<W1'3" M M*2(-" E<9&UD7&)I;EQD;60 +6, )"A);G!U=$YA;64I("U)7&1M9%QS<F-< M"DEN<'5T3F%M93UW:6YG9&D-" T*(B0H26YP=71.86UE*2YO8FHB(#H )"A3 M=7-T;VT 0G5I;&0-" T*(45,4T5)1B (B0H0T9'*2( /3T (E1E<W1'3" M M4T]54D-%*2 B)"A)3E1$25(I(B B)"A/551$25(I( T*"5QD;61<8FEN7&1M M9" M8R D*$EN<'5T3F%M92D +4E<9&UD7'-R8UQP:&]B;W,-" T*(R!%;F0 M"E5315)$15!?7U=)3E53/2)W:6YB87-E+F]B:B()(G=I;F=D:2YO8FHB"0T* M26YP=71.86UE/7=I;G5S97(-" T*(B0H26YP=71.86UE*2YO8FHB(#H )"A3 M=7-T;VT 0G5I;&0-" T*(45,4T5)1B (B0H0T9'*2( /3T (E1E<W1'3" M M3F%M92DN;V)J(B Z("0H4T]54D-%*2 B)"A)3E1$25(I(B B)"A/551$25(I M( T*"5QD;61<8FEN7&1M9" M8R D*$EN<'5T3F%M92D +4E<9&UD7'-R8UQP M;F0 4V]U<F-E($9I;&4-"B, 16YD(%1A<F=E= T*(R!%;F0 4')O:F5C= T* ` end begin 666 run.bat M9&UD7'-R8UQP:&]B;W,-"G)E;2!S970 1$9,04=3/2U/("UR96QE87-E("UI M;FQI;F4 )41)3D-,541%)0T*<V5T($1&3$%'4STM9&5B=6< +75N:71T97-T M8B!O<&5N9VPS,BYL:6(-"G-E="!$0T]-4$E,13U<9&UD7&)I;EQD;60 )41& M0T]-4$E,124 +6, =VEN8F%S90T*0&EF(&5R<F]R;&5V96P ,2!G;W1O($9! M24P-"FEF(&YO="!E>&ES="!W:6YG9&DN;V)J(" E1$-/35!)3$4E("UC('=I M;F=D:0T*0&EF(&5R<F]R;&5V96P ,2!G;W1O($9!24P-"FEF(&YO="!E>&ES M="!W:6YU<V5R+F]B:B E1$-/35!)3$4E("UC('=I;G5S97(-"D!I9B!E<G)O M24)3/0T*<F5M('-E="!$0T]-4$E,13T-"D!E8VAO(')U;FYI;F<N+BX-"G1E M<W1G;"YE>&4-"G)E;2!D96P =&5S=&=L+F5X90T*<F5M(&1E;"!T97-T9VPN M<F5M(&1E;"!W:6YU<V5R+F]B: T*<F5M(&1E;"!W:6YB87-E+F]B: T*.D9! "24P` ` end begin 666 TestGL.dsw M36EC<F]S;V9T($1E=F5L;W!E<B!3='5D:6\ 5V]R:W-P86-E($9I;&4L($9O M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C M(R,C(R,C(R,C(R,C(R,C(R,C(R,-" T*4')O:F5C=#H (E1E<W1'3"(]+EQ4 M97-T1TPN9'-P("T 4&%C:V%G92!/=VYE<CT\-#X-" T*4&%C:V%G93T\-3X- M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C ` end begin 666 d.reg M__Y7`&D`; !D`&\`=P!S`" `4 !E`&<`:0!S`'0`< !Y`" `10!D`&D`= !O M`&0`9 !I`&P`90`B``T`" `-``H`6P!(`$L`10!9`%\`0P!,`$$`4P!3`$4` M4P!?`%(`3P!/`%0`7 !D`&8`:0!L`&4`70`-``H`0 `]`"(`1 ` `',`;P!U M`'(`8P!E`" `9 !I`&P`90`B``T`" `B`$(`< !O`'<`<P!E`'(`1 !L`&$` M/0`B`%P`( `E`%,`>0!S`'0`90!M`%(`;P!O`'0`)0!<`%P`<P!Y`',`= !E M`&T`,P`R`%P`7 !3`$ `10!,`$P`,P`R`"X`9 !L`&P`7 `B`"P`. `T`"(` M`&0`9 !I`&P`90!<`',`: !E`&P`; !=``T`" ! `#T`( `B``T`" `-``H` M6P!(`$L`10!9`%\`0P!,`$$`4P!3`$4`4P!?`%(`3P!/`%0`7 !D`&8`:0!L M`',`: !E`&P`; !<`&,`;P!M`' `:0!L`&4`7 !C`&\`;0!M`&$`; !D`%T` M`&4`( `M`&,`( !<`"(`)0`Q`%P`( ` `"T`20!<`%P`9 !M`&0`7 !<`',` M< !C`%P`7 !P`& `;P!B`&\`<P`B``T`" `-``H`6P!(`$L`10!9`%\`0P!, M`$$`4P!3`$4`4P!?`%(`3P!/`%0`7 !D`&8`:0!L`&4`7 !S`& `90!L`&P` M90!<`',`: !E`&P`; !<`&,`;P!M`' `:0!L`&4`( !A`&X`9 ` `&P`:0!N M8 !I`&X`7 !<`&0`;0!D`"X`90!X`&4`( !<`"(`)0`Q`%P`( ` `"T`20!< M`%P`9 !M`&0`7 !<`',`< !C`%P`7 !P`& `;P!B`&\`<P`B``T`" `-``H` M6P!(`$L`10!9`%\`0P!,`$$`4P!3`$4`4P!?`%(`3P!/`%0`7 !D`&8`:0!LBTW I also have a Visual Studio 6 utility project set up that builds Dfilesas custom build steps, so I can debug from the ide. ;) SeanHi, Do you have a website where we can download it (or the way you set up Visual Studio). I would find it very nice to have an IDE where to produce and debug D-apps. It would make the work more (easier) enjoyable3P!4`$4`4 !!`$0`+ !%`% `10`B``T`" `-``H`` end
Jun 02 2002
"Sean L. Palmer" <seanpalmer earthlink.net> wrote in message news:adcopu$2rh6$1 digitaldaemon.com...Not as convenient as I'd like. It doesn't syntax highlight D files. It also doesn't allow you to define new file types in general so you can'tmakea build rule for, say, to build D files you run dmd.exe with these parameters. So each file ends up with its own custom build step.By the way, I've seen a Visual Studio addin once, which added support for another language (Euphoria) to VS. It added syntax highlighting, that's for sure, but I don't remember if it was able to associate the appropriate compiler with .exw files. I wonder if something like this can be done for D? Might check the MSDN...
Jun 02 2002
By the way, I've seen a Visual Studio addin once, which added support for another language (Euphoria) to VS. It added syntax highlighting, that's for sure, but I don't remember if it was able to associate the appropriate compiler with .exw files. I wonder if something like this can be done for D? Might check the MSDN...Thanks a lot, I found what you meant on the internet, did a little bit of research at codeguru and found what I had to do to enable syntax colouring. Attached you find: * d.ico: an icon for .d-files (I didn't know if one already exists, so I created one) > put it in \dmd\bin * d.reg: assigns an icon to .d-files, adds context menu's to them, make them start with Msdev.exe = slightly modified version from the one from Sean L. Palmer (thanks) * syntax.reg: make syntax highlighting work under Visual Studio * usertype.dat: keywords for D. > put it in the directory where msdev.exe resides Hope this can help some
Jun 02 2002
Thanks a lot, I found what you meant on the internet, did a little bit of research at codeguru and found what I had to do to enable syntax colouring. Attached you find: * d.ico: an icon for .d-files (I didn't know if one already exists, so I created one) > put it in \dmd\bin * d.reg: assigns an icon to .d-files, adds context menu's to them, makethemstart with Msdev.exe = slightly modified version from the one from Sean L. Palmer (thanks) * syntax.reg: make syntax highlighting work under Visual Studio * usertype.dat: keywords for D. > put it in the directory where msdev.exe resides Hope this can help someoneStupid of me, forgotten to attach those files begin 666 usertype.dat M:"!6:7-U86P 0RLK($1E=E-T=61I;RX-"B4E)2!296YA;64 :70 =&\ =7-E M<G1Y<&4N9&%T(&%N9"!P;&%C92!I="!I;B!T:&4 <V%M92!D:7)E8W1O<GD M87, ;7-D978N97AE+ T*)24E("YD(&9I;&5S(&]P96YE9"!A<R B=&5X="( M92!H='1P.B\O=W=W+F1I9VET86QM87)S+F-O;2]D+VQE>"YH=&UL*0T*=&AI M<PT*<W5P97(-"F%S<V5R= T*;G5L; T*=')U90T*9F%L<V4-"F-A<W0-"FYE ` end begin 666 d.ico M```!``(`(" 0``````#H M`$ ````!``0``````( "```````````````````````````````` `` `` M_P``____```````````````````````(=W=W=W=W=W=W=W=W````"/______ M________]P````C_______________<````(_______________W````"/__ M____________]P````C_F9F9F9F7?_____<````(__]YF9__]YE____W```` M"/__^9F?__]YF?__]P````C___F9G___^9F?__<````(___YF9____>9F/_W M````"/__^9F?____F9G_]P````C___F9G____YF9?_<````(___YF9____^9 MF9_W````"/__^9F?____F9F?]P````C___F9G____YF9G_<````(___YF9__ M__^9F8_W````"/__^9F?____F9E_]P````C___F9G___]YF9__<````(___Y MF9____>9F/_W````"/__^9F?___YF9__]P````C___F9G___B9G___<````( M__]YF9__^9F/___W````"/^9F9F9F9=_____]P````C_______________<` M```(____________ ``````"/___________X_W ````C___________^/ M> `````(____________AX `````"/___________X ```````C_________ M__^ ```````(B(B(B(B(B(B( `````` ``'X ``!^ ```? ``'X ``!^ M```? ``'X ``!^ ```? ``'X ``!^ ```? ``'X ``!^ ```? ``'X ` M`!^ ```? ``'X ``!^ ```? ``'X ``!^ ```? ``'X ``!^ ```_ `` M< `(______]P``CYF9F?_W `"/^9_YG_< `(_YG_^9]P``C_F?_YGW `"/^9 M__F?< `(_YG_^9]P``C_F?_YGW `"/^9_YG_< `(^9F9G_]P``C_____```` ` end begin 666 d.reg M__Y7`&D`; !D`&\`=P!S`" `4 !E`&<`:0!S`'0`< !Y`" `10!D`&D`= !O M`&0`9 !I`&P`90`B``T`" `-``H`6P!(`$L`10!9`%\`0P!,`$$`4P!3`$4` M4P!?`%(`3P!/`%0`7 !D`&8`:0!L`&4`70`-``H`0 `]`"(`1 ` `',`;P!U M`'(`8P!E`" `9 !I`&P`90`B``T`" `B`$(`< !O`'<`<P!E`'(`1 !L`&$` M``T`" `-``H`6P!(`$L`10!9`%\`0P!,`$$`4P!3`$4`4P!?`%(`3P!/`%0` M7 !D`&8`:0!L`&4`7 !S`& `90!L`&P`7 `F`$,`;P!M`' `:0!L`&4`70`- M`&P`; !<`"8`0P!O`&T`< !I`&P`90!<`&,`;P!M`&T`80!N`&0`70`-``H` M0 `]`"(`7 !<`&0`;0!D`%P`7 !B`&D`; !<`%P`9 !M`&0`+ !E`' `90` M`%,`10!3`%\`4 !/`$\`5 !<`&0`9 !I`&P`90!<`',`: !E`&P`; !<`&,` M;P!M`' `:0!L`&4`( !A`&X`9 ` `"8`3 !I`&X`:P!=``T`" ! `#T`( !C M2 !+`$4`60!?`$,`3 !!`%,`4P!%`%,`7P!2`$\`3P!4`%P`9 !F`&D`; !E M`%P`<P!H`&4`; !L`%P`8P!O`&T`< !I`&P`90` `&$`; !D`" `) !,`&D` M; !K`%P`8P!O`&T`;0!A`&X`9 !=``T`" ! `#T`( !<`%P`9 !M`&0`7 !< M`&(`:0!N`%P`7 !D`&T`9 `N`&4`> !E`" `7 `B`"4`,0!<`"(`( `M`$D` M`%L`2 !+`$4`60!?`$,`3 !!`%,`4P!%`%,`7P!2`$\`3P!4`%P`9 !F`&D` M`&4`; `B``T`" `-``H`6P!(`$L`10!9`%\`0P!,`$$`4P!3`$4`4P!?`%(` M3P!/`%0`7 !D`&8`:0!L`&4`7 !S`& `90!L`&P`7 `F`$\`< !E`&X`7 !C ` end begin 666 syntax.reg M__Y7`&D`; !D`&\`=P!S`" `4 !E`&<`:0!S`'0`< !Y`" `10!D`&D`= !O M60!?`$,`50!2`%(`10!.`%0`7P!5`%,`10!2`%P`4P!O`&8`= !W`&$`< !E M+ `P`%P`5 !E`' `= ` `$4`9 !I`'0`;P!R`%P`5 !A`&(`<P`O`$P`80!N M" `B`$8`:0!L`&4`10!X`'0`90!N`',`:0!O`&X`<P`B`#T`( !C`' `< `[ M`&,`> !X`#L`8P`[`& `.P!H`' `> `[`& `< !P`#L`:0!N`&P`.P!T`&P` J: `[`'0`; !I`#L`< !C`#L ` end
Jun 02 2002
That's cool. After looking at it, I believe a more thorough job can be done, to the point of making D its own file type, its own syntax type, and possibly even get DevStudio to know that D files are supposed to be built with dmd.exe. Maybe even make a D project type that links with DM link. I'll keep you guys posted. Sean "Jonas" <jonas.vermeulen student.kuleuven.ac.be> wrote in message news:addls7$119m$1 digitaldaemon.com...ofThanks a lot, I found what you meant on the internet, did a little bit(thanks)research at codeguru and found what I had to do to enable syntax colouring. Attached you find: * d.ico: an icon for .d-files (I didn't know if one already exists, so I created one) > put it in \dmd\bin * d.reg: assigns an icon to .d-files, adds context menu's to them, makethemstart with Msdev.exe = slightly modified version from the one from Sean L. Palmer* syntax.reg: make syntax highlighting work under Visual Studio * usertype.dat: keywords for D. > put it in the directory where msdev.exe resides Hope this can help someoneStupid of me, forgotten to attach those files
Jun 02 2002
"Sean L. Palmer" <seanpalmer earthlink.net> wrote in message news:adduam$1jti$1 digitaldaemon.com...That's cool. After looking at it, I believe a more thorough job can be done, to the point of making D its own file type, its own syntax type, and possibly even get DevStudio to know that D files are supposed to be built with dmd.exe. Maybe even make a D project type that links with DM link.When I was looking for it this afternoon, I encountered the ideal solution: Micro$oft provides an "Visual Studio Integrator Program (VSIP)": "For example, a user might want to incorporate a new programming language into the Visual Studio .NET IDE, possibly creating a need for: - A new project type. - A customized editor. - Advanced debugging features. " Just what we needed for D, Unfortunately you cannot download it for free, you have to sign up and pay for it: The cost for joining VSIP is $10,000 US per year for a three year contract. Academic involvement with the program requires a Microsoft sponsor to help cover associated VSIP expenses What a pity it's not in my budget :-) Though there are solutions: some programs managed to integrate into VStudio 6.0 at a very smooth way and (what is much more important) give their source code, the one I mean is at http://www.wndtabs.com/ At CodeProject an artictle about the same is also available, it's called "Undocumented Visual C++", you could guess it wouldn't be documented http://www.codeproject.com/macro/openvc.asp I think syntax highlighting is all-right and for the other stuff we have to go this way (class view subclassing,...) Much work to do, and that with the exams in front Jonas
Jun 02 2002
"Jonas" <jonas.vermeulen student.kuleuven.ac.be> wrote in message news:ade3ba$1ugb$1 digitaldaemon.com...Though there are solutions: some programs managed to integrate intoVStudio6.0 at a very smooth way and (what is much more important) give theirsourcecode, the one I mean is at http://www.wndtabs.com/ At CodeProject an artictle about the same is also available, it's called "Undocumented Visual C++", you could guess it wouldn't be documented http://www.codeproject.com/macro/openvc.asp I think syntax highlighting is all-right and for the other stuff we havetogo this way (class view subclassing,...) Much work to do, and that with the exams in frontAfter some examination of msdev.exe and related files, I've found out that all syntax highlighting is stored in the PKG files (actually DLLs) with names like devcpp.pkg, devhtmx.pkg etc. Looking inside with a hex editor, you'll find list of keywords, dialogs (ClassWizard is also there!), list of file extensions... I made a copy of devcpp.pkg and used a resource editor and a hex editor to tweak it a bit... now it shows "D files" in the open menu, but I still can't get syntax highlighting to work. Oh well. And those PKGs aren't documented anywhere in MSDN...
Jun 03 2002
In the registry you can make a new class of files (look under "Build System") but that by itself also isn't enough to get anything done. It does affect the dropdown list in the "Tabs" tab of the settings dialog. Maybe if we did both? It appears M$ doesn't want just anybody extending their Visual Studio. They want to sell you a $10000 Visual Studio Extension Kit. Sean "Pavel Minayev" <evilone omen.ru> wrote in message news:adf79p$o78$1 digitaldaemon.com..."Jonas" <jonas.vermeulen student.kuleuven.ac.be> wrote in message news:ade3ba$1ugb$1 digitaldaemon.com...Though there are solutions: some programs managed to integrate intoVStudio6.0 at a very smooth way and (what is much more important) give theirsourcecode, the one I mean is at http://www.wndtabs.com/ At CodeProject an artictle about the same is also available, it's called "Undocumented Visual C++", you could guess it wouldn't be documented http://www.codeproject.com/macro/openvc.asp I think syntax highlighting is all-right and for the other stuff we havetogo this way (class view subclassing,...) Much work to do, and that with the exams in frontAfter some examination of msdev.exe and related files, I've found out that all syntax highlighting is stored in the PKG files (actually DLLs) with names like devcpp.pkg, devhtmx.pkg etc. Looking inside with a hex editor, you'll find list of keywords, dialogs (ClassWizard is also there!), list of file extensions... I made a copy of devcpp.pkg and used a resource editor and a hex editor to tweak it a bit... now it shows "D files" in the open menu, but I still can't get syntax highlighting to work. Oh well. And those PKGs aren't documented anywhere in MSDN...
Jun 03 2002
If you fellows want to put together a zip file to do this, and write a short set of instructions, I'll be happy to make it available on the web site. -Walter "Sean L. Palmer" <seanpalmer earthlink.net> wrote in message news:adgalp$1u5v$1 digitaldaemon.com...In the registry you can make a new class of files (look under "Build System") but that by itself also isn't enough to get anything done. Itdoesaffect the dropdown list in the "Tabs" tab of the settings dialog. Maybe if we did both? It appears M$ doesn't want just anybody extending their Visual Studio.Theywant to sell you a $10000 Visual Studio Extension Kit. Sean "Pavel Minayev" <evilone omen.ru> wrote in message news:adf79p$o78$1 digitaldaemon.com...called"Jonas" <jonas.vermeulen student.kuleuven.ac.be> wrote in message news:ade3ba$1ugb$1 digitaldaemon.com...Though there are solutions: some programs managed to integrate intoVStudio6.0 at a very smooth way and (what is much more important) give theirsourcecode, the one I mean is at http://www.wndtabs.com/ At CodeProject an artictle about the same is also available, it'shave"Undocumented Visual C++", you could guess it wouldn't be documented http://www.codeproject.com/macro/openvc.asp I think syntax highlighting is all-right and for the other stuff wethattogo this way (class view subclassing,...) Much work to do, and that with the exams in frontAfter some examination of msdev.exe and related files, I've found outeditor,all syntax highlighting is stored in the PKG files (actually DLLs) with names like devcpp.pkg, devhtmx.pkg etc. Looking inside with a hexyou'll find list of keywords, dialogs (ClassWizard is also there!), list of file extensions... I made a copy of devcpp.pkg and used a resource editor and a hex editor to tweak it a bit... now it shows "D files" in the open menu, but I still can't get syntax highlighting to work. Oh well. And those PKGs aren't documented anywhere in MSDN...
Jun 03 2002
We will if we can figure out how to get &%*! dev studio to do it properly. ;) Sean "Walter" <walter digitalmars.com> wrote in message news:adgof1$2de0$1 digitaldaemon.com...If you fellows want to put together a zip file to do this, and write ashortset of instructions, I'll be happy to make it available on the web site. -Walter "Sean L. Palmer" <seanpalmer earthlink.net> wrote in message news:adgalp$1u5v$1 digitaldaemon.com...theirIn the registry you can make a new class of files (look under "Build System") but that by itself also isn't enough to get anything done. Itdoesaffect the dropdown list in the "Tabs" tab of the settings dialog. Maybe if we did both? It appears M$ doesn't want just anybody extending their Visual Studio.Theywant to sell you a $10000 Visual Studio Extension Kit. Sean "Pavel Minayev" <evilone omen.ru> wrote in message news:adf79p$o78$1 digitaldaemon.com..."Jonas" <jonas.vermeulen student.kuleuven.ac.be> wrote in message news:ade3ba$1ugb$1 digitaldaemon.com...Though there are solutions: some programs managed to integrate intoVStudio6.0 at a very smooth way and (what is much more important) givewithcalledsourcecode, the one I mean is at http://www.wndtabs.com/ At CodeProject an artictle about the same is also available, it'shave"Undocumented Visual C++", you could guess it wouldn't be documented http://www.codeproject.com/macro/openvc.asp I think syntax highlighting is all-right and for the other stuff wethattogo this way (class view subclassing,...) Much work to do, and that with the exams in frontAfter some examination of msdev.exe and related files, I've found outall syntax highlighting is stored in the PKG files (actually DLLs)listeditor,names like devcpp.pkg, devhtmx.pkg etc. Looking inside with a hexyou'll find list of keywords, dialogs (ClassWizard is also there!),of file extensions... I made a copy of devcpp.pkg and used a resource editor and a hex editor to tweak it a bit... now it shows "D files" in the open menu, but I still can't get syntax highlighting to work. Oh well. And those PKGs aren't documented anywhere in MSDN...
Jun 03 2002
"Sean L. Palmer" <seanpalmer earthlink.net> wrote in message news:adgalp$1u5v$1 digitaldaemon.com...In the registry you can make a new class of files (look under "Build System") but that by itself also isn't enough to get anything done. Itdoesaffect the dropdown list in the "Tabs" tab of the settings dialog. Maybe if we did both?I did both. No, it still doesn't work.
Jun 03 2002
i don't know if it happened only to me, but i couldn't open the d files until i changed the attributes of the type (of file) and set the application as its full path + filename (c:\....\msdev.exe). Before that, windows said "file (something).d can't be found ...". Was that supposed to happen? "Jonas" <jonas.vermeulen student.kuleuven.ac.be> escribió en el mensaje news:addls7$119m$1 digitaldaemon.com...ofThanks a lot, I found what you meant on the internet, did a little bit(thanks)research at codeguru and found what I had to do to enable syntax colouring. Attached you find: * d.ico: an icon for .d-files (I didn't know if one already exists, so I created one) > put it in \dmd\bin * d.reg: assigns an icon to .d-files, adds context menu's to them, makethemstart with Msdev.exe = slightly modified version from the one from Sean L. Palmer* syntax.reg: make syntax highlighting work under Visual Studio * usertype.dat: keywords for D. > put it in the directory where msdev.exe resides Hope this can help someoneStupid of me, forgotten to attach those files
Jun 03 2002
Your devstudio is probably installed somewhere different. Open the .REG file with a text editor and make the path correct, then re-merge and try again. Sean "Carlos" <carlos8294 msn.com> wrote in message news:adh0k4$2maf$1 digitaldaemon.com...i don't know if it happened only to me, but i couldn't open the d files until i changed the attributes of the type (of file) and set theapplicationas its full path + filename (c:\....\msdev.exe). Before that, windows said "file (something).d can't be found ...". Was that supposed to happen? "Jonas" <jonas.vermeulen student.kuleuven.ac.be> escribió en el mensaje news:addls7$119m$1 digitaldaemon.com...IofThanks a lot, I found what you meant on the internet, did a little bitresearch at codeguru and found what I had to do to enable syntax colouring. Attached you find: * d.ico: an icon for .d-files (I didn't know if one already exists, somakecreated one) > put it in \dmd\bin * d.reg: assigns an icon to .d-files, adds context menu's to them,them(thanks)start with Msdev.exe = slightly modified version from the one from Sean L. Palmer* syntax.reg: make syntax highlighting work under Visual Studio * usertype.dat: keywords for D. > put it in the directory where msdev.exe resides Hope this can help someoneStupid of me, forgotten to attach those files
Jun 03 2002
it is installed in a different path ("archivos de programa" instead of "program files"), but i made it work anyway. what i'm asking if that was normal. "Sean L. Palmer" <seanpalmer earthlink.net> escribió en el mensaje news:adhfma$3m5$1 digitaldaemon.com...Your devstudio is probably installed somewhere different. Open the .REG file with a text editor and make the path correct, then re-merge and try again. Sean "Carlos" <carlos8294 msn.com> wrote in message news:adh0k4$2maf$1 digitaldaemon.com...saidi don't know if it happened only to me, but i couldn't open the d files until i changed the attributes of the type (of file) and set theapplicationas its full path + filename (c:\....\msdev.exe). Before that, windows"file (something).d can't be found ...". Was that supposed to happen?
Jun 03 2002
"Carlos" <carlos8294 msn.com> wrote in message news:adhg7o$4a7$1 digitaldaemon.com...it is installed in a different path ("archivos de programa" instead of "program files"), but i made it work anyway. what i'm asking if that was normal. "Sean L. Palmer" <seanpalmer earthlink.net> escribió en el mensaje news:adhfma$3m5$1 digitaldaemon.com...filesYour devstudio is probably installed somewhere different. Open the .REG file with a text editor and make the path correct, then re-merge and try again. Sean "Carlos" <carlos8294 msn.com> wrote in message news:adh0k4$2maf$1 digitaldaemon.com...i don't know if it happened only to me, but i couldn't open the dI didn't include the pathname in the .reg file, because msdev.exe was in my path and so Windows would find it. I thought that was the default behaviour of VStudio installer (to setup the path that way). Don't you have an MSDevDir environment variable neither?saiduntil i changed the attributes of the type (of file) and set theapplicationas its full path + filename (c:\....\msdev.exe). Before that, windows"file (something).d can't be found ...". Was that supposed to happen?
Jun 03 2002
Setting those env vars is an option when installing DevStudio. If you don't, you can always run vcvars32.bat right? Sean "Jonas" <jonas.vermeulen student.kuleuven.ac.be> wrote in message news:adhneh$bem$1 digitaldaemon.com..."Carlos" <carlos8294 msn.com> wrote in message news:adhg7o$4a7$1 digitaldaemon.com....REGit is installed in a different path ("archivos de programa" instead of "program files"), but i made it work anyway. what i'm asking if that was normal. "Sean L. Palmer" <seanpalmer earthlink.net> escribió en el mensaje news:adhfma$3m5$1 digitaldaemon.com...Your devstudio is probably installed somewhere different. Open thetryfile with a text editor and make the path correct, then re-merge andagain. Sean
Jun 04 2002
You're right, I hadn't thought about it. That will probably be the cause. Jonas "Sean L. Palmer" <seanpalmer earthlink.net> wrote in message news:adhq4s$f4h$1 digitaldaemon.com...Setting those env vars is an option when installing DevStudio. If you don't, you can always run vcvars32.bat right? Sean "Jonas" <jonas.vermeulen student.kuleuven.ac.be> wrote in message news:adhneh$bem$1 digitaldaemon.com...was"Carlos" <carlos8294 msn.com> wrote in message news:adhg7o$4a7$1 digitaldaemon.com...it is installed in a different path ("archivos de programa" instead of "program files"), but i made it work anyway. what i'm asking if that.REGnormal. "Sean L. Palmer" <seanpalmer earthlink.net> escribió en el mensaje news:adhfma$3m5$1 digitaldaemon.com...Your devstudio is probably installed somewhere different. Open thetryfile with a text editor and make the path correct, then re-merge andagain. Sean
Jun 04 2002
"Sean L. Palmer" <seanpalmer earthlink.net> wrote in message news:adbldf$1lp6$1 digitaldaemon.com...Just in case anyone else is having trouble linking, I finally figured out how to get DMD to deal with multiple files and other libs and such and here's the batch file I now have for building testgl: cd \dmd\d\testgl \dmd\bin\dmd testgl.d winbase.d wingdi.d winuser.d gdi32.lib user32.lib kernel32.lib opengl32.lib -I\dmd\src\phobos It no longer uses SC or shell scripts. This is actually quite niceWalter,thanks for enabling this.You're welcome. I'm also working on fixing the .ini files so you won't need environment variables anymore.
Jun 02 2002