"COM didn't solve the old version of DLL hell - it just provided us with a new and improved version of hell." I can't agree more. :cool: Ryan
Ryan Park
Posts
-
This COM thing is real cool! -
Any good guidance to data access strategy in .NET?Thank you very much!!! I've enjoyed a lot. Regards, Ryan :cool:
-
Any good guidance to data access strategy in .NET?Hi, CP people. I'm developing a xml web service on .NET platform. Our team is on the line of start of project and I thought we should arrange some good strategy about data access on .NET platform. To all of us, this is the first project on .NET platform, so we feel the lack of know-how. Many choices are under progress. Ex> 1.Where we should locate the business logic? Client or server or where? 2.Should we write some wrapper classes encapsulating data objects in ado.net? 3.How we should connect to DB server and how to manage the connection? Of course, these choices depends on situation and differs to every one. So I'm questioning your answer on case of these 1,2,3 questions. Also any pointing to good guidance would be appreciated. TIA. Regards, Ryan. :)
-
How can I extract numbers from string using basic::string? (STL)Hi, Thanks for your code. :-) Regards, Ryan
-
How can I extract numbers from string using basic::string? (STL)Hi, I didn't test or look into your code, but I thought that I should thank you first. Thank you very much for kind instruction. :-) I expected a simple fragment of sample code or pointing to similar code, but you surprised me. Thanks again for your time on this code and I guess this would be very helpful to those have problems with string manipulation with STL. Regards, Ryan :cool:
-
How can I extract numbers from string using basic::string? (STL)Hi, I'm a newbie to STL and have been on this stuff for all day long, but failed to implement. Plz help! ---My Situation goes--- Say, there is a string like "SP_CALL(~1,~123,~09,455,21)". I want to extract numbers after '~' character and store it to some container. Some like MAP, LIST, ...anything that could be used to restore extracted numbers for later comparison with other numbers. I've tried with very basic knowledge of STL, but maybe I'm lack much knowledge. So..If anyone can show some sample code fragments that implements this, or can point me to similar code, plz help me. Also, if there are any good books about STL for beginners, let me know. Thanks a million. Regards, Ryan :)
-
Highest Paying Job On IT?Hi, Thanks for your advice, but even knowing that earning depends on many factors, I wanna know the title that highest paid job near you guys. You can make you lot of money if you are either lucky or hard working Well...You're right.. Now I wanna make my fortune..:-) Regards, Ryan -p.s I guess 800,000+ was too little for MS CEO. :-)
-
Highest Paying Job On IT?That's cool. :cool: Regards, Ryan
-
Highest Paying Job On IT?Hi, Today, whiled I was coding some telnet stuffs, all of a sudden, I was stuck how much my doing job pays. I know that any job's paying depends on many factors, but I wanna know which one is the blowing job on IT industry. I guess I should design my career path at these times. I'm 25-year old engineer and have 3-year of professional Windows programming experience. So I wanna ask you guys which career path would make me paid most? Money, especially for me, means almost everything.(All of my family depends on my earning.) Personally I want myself being a able-engineer, but in reality my situation want me more money :-( So, one simple question. Which career path will make me most money? What would you suggest?.. Regards, Ryan -p.s If this posting sucks, sorry..Pardon me.. I don't remember whose signature this is, that.."Money talks, but all mine ever said was good bye."
-
Visio like diagram generating free code..Hi, I need to implement graphical diagram for our product. Its use is for graphical representation of data binding between controls and between tiers (right term? I mean which client to which server.). I have littl idea about this yet, and would be very grateful if there are any good free code for starting point. And..the worst act for my scenario is.. 1.Say, when user loads data from disk, I know connection data between diagrams (controls) but have no information about graphical representation. Then how can I draw visual connection between diagrams without intersection? And how can I decide the best-viewing to user? Any Ideas? :-) 2.Without #1's answer,should I archive all graphical connections between diagrams? If so, how can I archive connection line's data to disk? I guess there should be "node" concept, but it's hard to "HOW". So I'm searching the best fitting free code for fast and reliable development. Any suggestion? Thanks a million. :-) Regards, Ryan :cool:
-
IHTMLDocument2Hi, I've got little words for your question but don't have any real code fragments that I've used.(I did some similar job what you said in your posting.) 1. Call CreateStreamOHGlobal. (Anyway, you have to allocate some memory or object to physical memory.) 2. Init New stream object with some Text or anything else.(Not Mandatory) 3. Load stream object to your MSHTML instance. If any of you know better COM-style way to implement this, plz comment. Regards, Ryan -p.s If you're not familiar with COM, I guess your current method is sufficient.:)
-
Using WTL in commercial applicationsHi, I was wondering exactly same question a few weeks ago and I've got below answer from MSFT. ---------------------------------------------------------------------------------------- WTL is perfectly reasonable to use in a 'real' product. The Movie Maker application in Windows ME is written with WTL. There are other pieces of Windows XP that use WTL and probably stuff I'm not familiar with. It depends on the amount of maintenance you (or your company) want to take on yourself. If you want SP's, support from PSS, compatibility in future versions of VC, that kind of thing, then WTL probably isn't a good choice. There are plenty of people to help answer questions on codeproject.com, WTL mailing list on yahoogroups.com and other places. So if you're willing to consider WTL just part of your own codebase then the likelihood that you'll get completely stuck on a problem you can't solve seems reasonably low. Walter Sullivan Lead Program Manager, ATL/MFC -------------------------------------------------------------------------------- Hope this helps. Regards, Ryan:cool:
-
Drawing ActiveX windowHi, Probably you mean you want to host ActiveX control in your Win32 Application. Right? Hosting a control without support of MFC is very hard to implement. Try to search PATRON sample from MSDN. It's a sample used in book "Inside OLE" by Kraig. It has no reliability to any librarys like MFC or ATL. Cause of the purpose of the sample, it has little support as a container. BTW, if you don't mind using ATL, try to use CAxWindow or something like that. That control hosting support class template. It's very useful to host a control. IMHO ATL which has very readable source compared to MFC, is something worth to work on as a Windows programmer. Essentially about ATL, I recommend to read the book "ATL Internals" by Chris Sells. Hope this helps. Regards, Ryan :rolleyes:
-
ATL/COM and #import directiveWhat about your IDL definition? If you don't mind, show your idl definition. MIDL compiler don't generate type library without proper keywords. Regards, Ryan
-
Interface InheritanceSure. 1) and 2) will call same function implementation. I don't quite catch your intention. This is just simple class or struct inhertance. This is nothing to do with COM as I understand. What do you want to do? Regards, Ryan
-
right or left control-key ???I don't have any concern on this stuff, but I want to say that you are very kind to do this! Honestly I didn't ever tried to explain in detail in helping others although I've got tons of information from others like you. Sincerely I honor your work. Regards, Ryan
-
ATL and Connection PointsWhat was the returned HRESULT code? Regards, Ryan
-
delete and delete [] what is the differenceDelete[] is necessary for deletion of objects. I mean instances of classes. Objects in array should be garanteed to destruct itself and free resource. Delete[] calls all of destructor of objects in array and call of destructor calls destructor of base class's destructor. So delete[] gaurantees destruction of all object in array . For primitive types like int, long, char etc.. You don't have use delete[] for freeing resource. Delete is enough. But this is only the theory.. In practice,I recommend to use delete[] whenever you're freeing resource in array. Cause it makes code more clear and readable. It looks to clear to other developers who are seeing your code or youself in future. Regards, Ryan
-
Pluggable protocols and Monikers?Hi, I saw your posting about APP(Asynchronous Pluggable Protocol). I'm in same situation. I have a sample on MSDN but I can't make it "RUN" from VC++ 6.0. It looks working in normal situation, but I can't trace the codes in VC++. I hope to get advice to trace APP sample or similar sample in VC++. I'm working in IE 5.5, Windows 2000 with sp1, VS with sp4. Thanks in advance. Regards, Ryan:)
-
How do you create a GUI thread?As fas as I know, GUI thead is a thread that has a message pump.. No more than that.. So check your callback procedure of the thread... Make sure you do not break the loop of message pump.. It will be broken automatically by WM_QUIT.. After testing this, give me a THREAD to this posting.. Regardz -Ryan