Page 2 of 2

Re: Void, Monoids, Spheroids & Kawaguchi spaces

Posted: June 17th, 2019, 9:55 pm
by katastrofa
If you * long into the void, the void ** into you.

Re: Void, Monoids, Spheroids & Kawaguchi spaces

Posted: June 18th, 2019, 11:38 am
by Cuchulainn
Image

Re: Void, Monoids, Spheroids & Kawaguchi spaces

Posted: June 18th, 2019, 12:39 pm
by katastrofa
Did Nietzsche have pointers in mind when he wrote that?

Re: Void, Monoids, Spheroids & Kawaguchi spaces

Posted: June 18th, 2019, 4:39 pm
by Cuchulainn
Did Nietzsche have pointers in mind when he wrote that?
It was Churchill, 1st Lord of the Admiralty. Carry on up the Dardanelles, what?

Re: Void, Monoids, Spheroids & Kawaguchi spaces

Posted: June 18th, 2019, 8:19 pm
by Cuchulainn
A singular void that is dissimilar from its application in C or C++
A Void
COM?
HRESULT __stdcall Option2::QueryInterface(const IID& iid, void** ppv)
{ 	
	if (iid == IID_IUnknown)
	{
	//	trace("Return pointer to IUnknown.");
		*ppv = static_cast<IOption2*>(this);
	} 
	else if (iid == IID_IOption2)
	{
		//trace("Return pointer to IOption2.");
		*ppv = static_cast<IOption2*>(this);
	}
	else
	{  	   
	//	trace("Interface not supported.");
		*ppv = NULL;
		return E_NOINTERFACE;
	}
	reinterpret_cast<IUnknown*>(*ppv)->AddRef(); 
	return S_OK;
}