hi guys, I ve been coding for some years in C++ now. But, seeing all the fuss about .net I m beginning to wonder about learning it. I have absolutely no clue about what .net is about. Though, I keep coming across .net code. Is it just a new fancy language that microsoft try to sell. Or is it really worth learning ? Since I see that microsoft hardly provides VC anymore, I m wondering if this is just one of the famous overwhelming Microsoft marketing strategy (i.e. getting people buying what they dont need/want), or just cuz C++ is getting outraced by .net... Maybe it is still fully compatible with VC? Could anybody help me clarify this? Cheers sysy
godbert
Posts
-
What is the big deal about .net? newbie question -
how to make MSDN-like help file?hi, I ve got some C++ classes that I d like to share with some guys. I d like to make a help file, with a hierarchy chart, the class members, a search engine and so on.. Actually, exactly like MSDN with the MFC. However, I m not familiar at all with this. So here is the question: Could anybody give me tips about how to make this kind of things (language, soft,and so on)? cheers
-
Does anybody know how to add a version window to a non MFC DLL??hi, I ve got a non MFC DLL that is aleady developped.. However, I d like to add this version window to my DLL. But I dunno how to do it. I did create a ressource file that I have added to my project with the code of the ressource in it. But it doesnt make any difference. I came across a tutorial on the web to do this... but it used the STL, which seems a bit too far fetched to me. I reckon this is not complicated and there is an easy way to do it, but this is always the same: it is easy once u've done it. If somebody could help me out, would me nice cheers. bob
-
need some advice...Hi guys, I ve got a question, a stupid question maybe... I m making a DLL, with oviously heaps of functions in it. I would like to have a static variable (something that could be modified my some functions). I was wondering if there is nothing dodgy in creating a static variable in a DLL. Since, I dunno how and when exactly the DLL is loaded and unloaded. Is it reloaded each time a function gets called? It s a bit fuzzy to me. Maybe there is nothing special in this but I just wanted to be sure.. Thank u 4 ur help... sysy
-
easy question about menu barI m feeling a bit stupid cause I ve got some trouble trying to make an item disabled in my menubar. I ve created my menu bar and now I m trying to attached it to a Cmenu object.And after I use a member function to change properties in this menu bar. I don t know whether this is the good method and moreover it seems that it doesn t work. I m sure I just need one or two lines to do this. Thanks sysy
-
How to get the text string in the edit box?U ve got two options.Either u can associate ur edit box with a CString (via classwizard when u create ur ressource for example).Normally u type ur string and when u close the dialog box ur sring is stored in ur CString.OR the other solution is 2 associate ur edit box with a Cedit object and to use the member function "GetWindowText()".I don t know if what I m saying is of any help 4 u, but good luck anyway sysy
-
Easier way to convert this.....Why don t u just put a comma after the third, the sixth... char? Just make a loop which every 3 char inserts a comma with CString::Insert for instance. Something like this: for(i,from begining to the end of the cstring) { if(i==3or6or9) urstring.insert(",") //not the good syntax but u get the idea across } Is it what u meant? hope it s of any help 2 u. syl sysy
-
dodgy communication is backThanks for all ur answers. I ve already tried to use another PC heaps of times, (and send everything to the hyperterminal). The communication between the hyperterm and the PC definitively works, I can receive/send data from/to the hyperterm.I ve also tried to use a sniffer when the hyperterm is connected to the external device and then compare with what my prog sends to this external device. And :(...I send exactly the same apart from setmask and waitonevent. But I do not think it makes any difference since the hyperterm uses an overlapped communication . I ve tried, as well, to use the acivex control provided by Visualc++ (MSCOMM32.ocx) and a couple of other activex controls found on the web. Can it be something at a lower level :confused: ?Like something wrong in window for instance? Thanks sysy
-
dodgy serial communicationHey, My prog is supposed to communicate with an external device with the serial port.I ve got some trouble trying to get it working...:confused: If I don t run the hyperterminal before using my software, the communication doesn t work.I ve tried to use overlapped and nonoverlapped communication.I ve tried to use a couple of activex controls and different classes.But it's still the same.Moreover, I am almost sure that my initializiation parameters are OK. Has somebody already had this kind of bug? What does the hyperterminal do that my prog doesn t? I tried to use a sniffer to find out what s going on in my communication, but everything looks find as well. If you have any ideas, please feel free to share ur thought.... I ve been trying to debug my softare for 2 weeks now... Thanks for ur precious help. sysy