Change the Project Settings to build Unicode build. This will make CString and CListBox become Unicode
emadns
Posts
-
CListBox with wchar or WCHAR, Resolved -
Best Web TechnologiesHi, I am exploring the best web framework to write a community service like portal. The portal includes components such as Calendar, Membership, Committees,...etc. There are many web frameworks (ASP.net, PHP, Joomla, WordPress, DNN, ...etc). Which is the best web framework/language to write such portal. The website needs to be database driven, secure and easy to maintain. Please give your advise according to your experience. Regards, Emad
-
MCPD or MCSDTestKing and other testing services is enough to pass these exams with little working experience. I interviewed once a developer who has several of these certificate and he did not know what he was talking about
-
MCPD or MCSDI have over 6 years of experience in ASP.net and VB.net and I failed the test with missing 1 point. On the other hand, I know a friend who has only one year experience but studied TestKing questions and he passed the exam. These certifications are useless. You can get many of them if you solve enough TestKing questions before going to the exam.
-
I can't let goNow I have Visual Studio 6, Visual Studio 2003, 2005 and recently 2008 on the same machine. Is this just me or someone else has the same situation?
-
ReportMAXHi, Does anybody recommend ReportMAX? They are announcing a beta for Visual C++ developers but they require registration. It's at: http://www.cppmax.com
-
Problem with regionsThanks for your reply. I am not selecting any pen into the device, so I assume that the default is a 1 pixel black pen. I tried making the region larger by one pixel, but the result shows the ellipse. However, there are extra little blank spaces around the ellipse. I also tried to make the pen PS_INSIDEFRAME but with the same result.
-
Problem with regionsHi, I have a problem when creating win32 regions and drawing into them. The edges of the shapes drawing inside the region are distored or cut-off. For example: CDC* pdc = GetDC(); CRgn rgn; rgn.CreateEllipticRgn(10,10,50,50); pdc->SelectClipRgn(&rgn, RGN_COPY); pdc->Ellipse(10, 10, 50, 50); pdc->SelectClipRgn(NULL, RGN_COPY); ReleaseDC(pdc); Although the coordinates of the region are the same of the ellipse coordinates, it still does not draw the ellipse perfectly. The edges are distorted. Is there a way I can calculate the perfect region. I also do not want to use paths as they don't work properly in win98. What could be the solution. Thanks
-
Capturing HDCYou need to create a memory dc hDC = GetDC(hDCWnd); // create the memory dc HDC hdcMem = ::CreateCompatibleDC(hDC); hBmp = ::CreateCompatibleBitmap(hDC, 500, 500); // select the bitmap into the memory device context instead HBITMAP hbmpOld = (HBITMAP)::SelectObject(hdcMem, hBmp); // pass the memory dc handle instead MyFuncToDraw(hdcMem); CBitmap* bitmap = CBitmap::FromHandle(hBmp); ... after done ::SelectObject(hdcMem, hbmpOld); ::DeleteDC(hdcMem);
-
Stored Procedures or Direct SQL StatementsHi, I wonder which is better using direct sql statments directly in the code or writing stored procedures inside the SQL Server database? What are the advantages and disadvantages of each? Thank you
-
MCSD for C++I will send an email just to let them know that there is another unmanaged C++ who is interested in certification. However, their answer is already known and published in their FAQ in the certification site. They do not have any plans. This is unfortunate. I hope a reputable organization offers such certification at least.
-
MCSD for C++I am not referring to the Managed C++ category. I mean the unmanaged C++. I checked their site and it states that Visual Studio 6.0 track has been stopped. There is no category for VC++ 7 at all. Can you give me the link? I need to know what is the new track.
-
MCSD for C++Why doesn't Microsoft offer certification for Visual C++.net. The new certification track for MCSD includes ASP.net, VB.net or C#. Why they are pushing for .net this way? I am a developer in C++ and want to get certified in it but they ended the VisualC++ 6.0 track and they have not introduced a substitution for vs.net. :(:(
-
Linker Error #2005I doubt that in myclass.h, the function is declared as void myfunc(){ }; // with brackets. this is considered as a definition. Maybe.