Display: Cloud | List
Most Popular Tags
Results (40 total) All > c++ (x)
How do you set which symbols are for library export? (Walkthrough: Creating and Using a Static Library (C++))
Not the same as module gobals. Say module HelperModule.cpp has global InternalLibraryHelperFunction(),module LibraryGlobal.cpp has LibraryFunction()Want library users to be able to link with LibraryFunction, but not InternalLibraryHelperFunction().Pretty much no documentation on how to do that.
Last modified by mrbi11 on 4/26/2012 5:29:55 PM
Tags:  c++  export  lib  library  static  studio  visual
Visual C++ Standard LibraryStandard C++ Library OverviewAll C++ library entities are declared or defined in one or more standard headers. To make use of a library entity in a program, write an include directive that names the relevant standard header. The Standard C++ Library consists of 50 required headers. This implementation also includes two additional headers, <hash_map> and <hash_se
Last modified by Microsoft on 2/26/2010 10:07:12 PM
Tags:  c++  library  standard
C++ (Enumerable.ToList(TSource) Method (System.Linq))
#include "stdafx.h" using namespace System; using namespace System::Collections::Generic; using namespace System::Linq; int GetLength(String^ str) { return str->Length; } void main(void) { array<String^>^ fruits = { "apple", "passionfruit", "banana", "mango", "orange", "blueberry", "grape", "strawberry" }; List<int>^ lengths = Enumer
Last modified by THines01 on 2/22/2010 10:36:23 PM
Tags:  c++  cpp  examples  linq  tolist(tsource)
typename, matching and conversions (Function Template Instantiation)
If the type of a parameter depends on a template argument via typename, conversions apply. For example, the operator << for wide strings is currently defined as if by the template template <class P_C, class P_T> std:: template basic_ostream <P_C, P_T > &operator << (class std:: template basic_ostream <P_C, P_T > &p_out, P_C const p_that []); We can see t
Last modified by yecril on 2/8/2010 9:29:42 PM
Repurposing ribbon controls in c++ add-in (Building a C++ Add-in for Outlook 2010)
http://blogs.msdn.com/jensenh/archive/2006/12/08/using-ribbonx-with-c-and-atl.aspx
Last modified by ЯoÐi on 1/20/2010 10:30:35 PM
Tags:  atl  c++  processed  ribbon
Still same issues (Deployment (C++))
I do build on latest VS2005, so nope PS1 doesn't solve magically everything :D and now seeing how much issues are behind, supposedly more portable c++ :D MS really makes you consider using .NET :) anyhow, why a release version will run from c:\windows\winSxS ??? I thouth it is temporary, or atleast 100% it is sytem dependant. while we need to use the official release in c:\windows\system32\. H
Last modified by pip010 on 12/7/2009 11:16:11 AM
Tags:  c++  deployment  windows
I don't see the Solution listbox? (Deploying Your Program (C++))
In step 3 it says:In the Solution listbox, select Add to Solution.I can't find a Solution listbox??Someone else started this, but I don't see it either. When I continue on and try to build it whines: Project not selected to build for this solution configurationWhat can I do?
Last modified by JAG77 on 2/12/2010 4:00:29 AM
Tags:  c++  listbox  soulution  visual
C++ code example for Rename method (Rename method of the Win32_ComputerSystem class (Windows))
Attach my c++ code, it's kind of a combination of http://msdn.microsoft.com/en-us/library/aa390423(VS.85).aspx and http://msdn.microsoft.com/en-us/library/aa390421(VS.85).aspxint set_computer_name(const string &newname/*, const string &username, const string &password*/){ HRESULT hres; // Step 1: -------------------------------------------------- // Initialize COM. ---------
Last modified by hilong on 12/2/2009 1:56:46 AM
Pointers In C++ (C++ Language Reference (C++))
Pointers Published by Muhammed Zakeer.m.s(zakeer.ms@live.com) We have already seen how variables are seen as memory cells that can be accessed using their identifiers. This way we did not have to care about the physical location of our data within memory, we simply used its identifier whenever we wanted to refer to our
Last modified by Muhammed Zakeer on 11/18/2009 9:46:52 AM
Tags:  c++  contentbug  pointers
See this code. CComPtr<IMessengerPrivate> spMessengerPriv; HRESULT hr = spMessengerPriv.CoCreateInstance(L"CommunicatorPrivate.MessengerPriv");if (FAILED(hr)) return hr;
Last modified by sunyruru on 7/9/2009 7:17:05 AM
Page view tracker