ActiveServerComponent ÆäÀÌÁöÀÇ ¼Ò½º º¸±â
³É³¯À§Å°
ÆäÀÌÁö¸ñ·Ï
º¯°æ³»¿ª
ȯ°æ¼³Á¤
¸µÅ©
·Î±×ÀÎ
°Ë»ö:
Home
¼öÁ¤ÇÒ ¼ö ¾ø½À´Ï´Ù: ActiveServerComponent ´Â Àбâ Àü¿ë ÆäÀÌÁöÀÔ´Ï´Ù.
* page level event method ** IDispatch°¡ OnStartPage() OnEndPage() ¸¦ Áö¿øÇØ¾ß ÇÔ ** OnStagePage *** IUnknown->IScriptingContext == image == * http://www.codeproject.com/bitmap/tonyjpeglib.asp (jpg encode) == MFC Multithreaded DLL : NO STATIC LINK ! == Windows: Using MFC, get unresolved external symbol errors for __argv, __argc, __mbctype \\ I am trying to use the MFC library. In the project c/c++ code generation type, I have changed the runtime library to Multithreaded DLL. \\ When I then compile the program it links with the multi threaded libraries but I get the following errrors: nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv \\ nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc \\ nafxcw.lib(filelist.obj) : error LNK2001: unresolved external symbol __mbctype The solution: When you use the multithreaded dll's in visual c++.NET, you need to specify that you are using MFC in a shared dll. This is specified in the project settings. Ãâó: http://hdf.ncsa.uiuc.edu/hdf4-quest.html == Debugging In-Process COM == {{{ Àüü ¸ñ·Ï º¸±â ¸ñ·Ï¾ÈÀÇ ¸Þ½ÃÁö 1 ±Û¾´ÀÌ:tony shih (tonyshih4@hotmail.com) Á¦¸ñ:How to debug ATL com's in ASP View this article only ´º½º±×·ì:microsoft.public.vc.atl ³¯Â¥:2001-11-13 00:35:08 PST this covers ->Debugging ATL dll s in medium pooled ASP application in local server mode apply for IIS out of process application as well ============================================================= FIRST SETUP IIS (5.0) AS FOLLOWS 1. open internet infomation services 2. right click your web site 3. select properties 4. select "Home Directory" tab 5. then select "Application Protection" drop down from that select "Medium Pooled" **Browse your asp page which uses the DLL / DLLs GETTING THE PID FOR DLLHOST 1. Open components servcies 2. select COM+ applications (do not expand any) 3. select status view 4. get the PID from right hand side pane for IIS In - Process Applications SETUP YOUR VC++ ENVIRONMENT 1. Install latest visual studio service pack (down load from beloved microsoft site) 2. Open microsoft vc++ from program files 3. select build option 4. select start debug select attach to process 5. select show systems processes check box 6. your previously noted PID will appear 7. select/dbl click that one 8. goto projects option 9. select settings 10. select debug tab 11. select Category drop down 12. select additional dlls option 13. attach all your req/project dlls (all the dlls must have build as a win32 debug build to load symbolic info) 14. Click OK 15 select File option from VC++ pull down menu 16. Select open all the .CPP an .H files where u wanna set break points 17. Refresh the asp page you have browse your component will hit the break point Defineitly Happy debugging thanks Tony Shih MCSD ¸ñ·Ï¾ÈÀÇ ¸Þ½ÃÁö 2 ±Û¾´ÀÌ:Allen Weng (ywengonline@microsoft.com) Á¦¸ñ:RE: How to debug ATL com's in ASP View this article only ´º½º±×·ì:microsoft.public.vc.atl ³¯Â¥:2001-11-14 18:20:45 PST A good article " Debugging Distributed Web Applications" by Anand Rajagopalan in MSDN. It's also very helpful. It provides insight into the different tools used to debug Distributed Web Applications. Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. }}}
[[ºÐ·ù°³¹ß]]
ActiveServerComponent
ÆäÀÌÁö·Î µ¹¾Æ°¡±â |
´Ù¸¥ ¼öÁ¤º» º¸±â