@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7



Comments:

<0> here it is: the { <-- curly braces are written on a new line, that's why the differences in the line numbers
<0> they are commented because they caused an error in the first place
<0> but I kept them to remember to clean them later....
<0> which means.... now
<1> so you copied some code that you don't know what does, commented out some lines and wnat to know what's wrong\



<0> non
<0> I simply continued working on it
<0> I simply didn't delete my variables
<0> which I am doing now, after finishing the core of the application
<1> you may want to learn about the flags for that function you're calling
<0> what flags?
<0> how can I make use of the profiler?
<1> who the **** knows
<1> C++ doesn't have a standard profiler
<0> you can say: I don't know
<1> you should look up the flags ***ociated with _CrtCheckMemory()
<2> what is BSTR?
<0> if you don't know the answer, that doesn't mean my question is stupid
<1> McNoosheh no, it's a foolish quesiton.... there is NO "the profiler"
<0> a profiler, in that case
<0> i already mentioned its GlowCode
<1> well, that would depend on your profiler, and you mentioned it earlier, I've never heard of it
<1> but you should likely use the tools you already have instead of getting new ones
<3> McNoosheh: http://msdn2.microsoft.com/en-us/library/5at7yxcs.aspx



<1> and you might want to dump the leaks before you do the "check"
<0> I will remember that
<4> Fraggle: a BSTR is a "basic" string, 16-bit size prefixed wide character string
<4> it is the VB6 string type, represented in COM through the BSTR type
<2> I see.
<5> Fraggle: BSTR is usually used for p***ing strings from a C++ DLL to a VB program
<2> I see.
<4> or for OLE automation compliant interfaces, in general
<1> and, IMO, one of the most difficult things to actually learn about using MSDN
<5> Fraggle: BSTR is nasty, i recommend preparing a chunk of memory in VB then p***ing it to the C++ DLL for writing, and then get it back when the function returns
<0> this takes an eternity to load........
<0> I will open it tomorow, good night everyone
<5> i have no idea what this means.. but i do this: BSTR bstr = _bstr_t("hello world!"); p***ToVB(bstr); SysFreeString(bstr);
<5> BSTR is nastiness
<4> well, don't let ignorance keep you from commenting on it
<4> _bstr_t is a RAII wrapper cl*** for BSTR, that example there is guaranteed to cause problems
<5> how should i write it then?
<4> _bstr_t foo = L"hello world!"; SomeSmartInterfacePointer->Foo(foo);, or simple SomeSmartInterfacePointer->Foo(_bstr_t(L"Foo"));
<4> simple = simply
<5> hey what's the difference


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#c++
#MissKitten
#linux
#linuxhelp
#linux
What official residence is home to the worlds first golliwog ?
site:www.quotesdb.info oriyaan
#apache
#MissKitten
#linux



Home  |  disclaimer  |  contact  |  submit quotes