On 6/9/2014 11:42 AM, lurker wrote:
i agree with you, but you should have posted in "announce", so that
adrei can use it for some marketing.
i too wait now for a long, long time to use it with win64. i am also
giving up - i guess it will stay a linux/apple show.
maybe, as a multiple os compiler,
On 6/11/2013 10:38 PM, finalpatch wrote:
A typical COM server would create a new object (derived from IUnknown),
return it to the caller (potentially written in other languages).
Because the object pointer now resides outside of D's managed heap, does
that mean the object will be destroyed when t
On 5/22/2013 8:49 PM, evilrat wrote:
On Wednesday, 22 May 2013 at 21:42:32 UTC, D-sturbed wrote:
Yes I'm in the "multiple Window case", every window is wraped in a
class and has its own message handler. I know that Win, in its
callback system, often lets you retrieve a pointer to something, and
On 5/12/2013 12:31 PM, SundayMorningRunner wrote:
Hello, let's say I have the choice between using an abstract class or an
interface to declare a "plan", a "template" for the descendants.
From the dmd compiler point of view, should I use the abstract class
version (so I guess that for each meth
On 9/9/2012 7:57 AM, Sean Cavanaugh wrote:
On 9/9/2012 7:30 AM, newToCOM wrote:
I've been super busy at work so haven't had much time to respond to this
thread.
I also have a D version of something resembling ATL's CComPtr which I am
finally happy enough with to share, th
On 9/9/2012 7:30 AM, newToCOM wrote:
Still struggling..
test.d:
---
( ... ) /* Other imports */
import win32.directx.d2d1;
alias win32.directx.d2d1.IID IID;
IID IID_ID2D1Factory = { 0x06152247, 0x6F50, 0x465A, [0x92, 0x45, 0x11,
0x8B, 0xFD, 0x3B, 0x60, 0x07] };
On 8/11/2012 8:23 PM, F i L wrote:
I'm trying to write a Cross and Dot function using core.simd.float4 and DMD
Does anyone know anything about SIMD operations that may be able to help
me translate these functions into a D equivalent? I would very much
appreciate your help.
Some reference:
C+
On 7/24/2012 2:01 PM, newToCOM wrote:
I am trying to use COM to access Windows functionality and APIs.
I have read the interface documentation and some documentation at
MSDN. I have seen the included sample snippet for IHello and the
slides "Modern COM programming in D", but it is still not clear
On 7/17/2012 12:23 PM, Jonathan M Davis wrote:
On Tuesday, July 17, 2012 14:48:32 David Nadlinger wrote:
On Tuesday, 17 July 2012 at 05:24:26 UTC, Jonathan M Davis wrote:
This code strikes me as being a bug:
class MyBase(T)
{}
class MySubA : MyBase!MySubA
{}
class MySubB : MyBase!My
On 6/11/2012 7:15 AM, Trass3r wrote:
I think it has been fixed for the next version of DMD already. Any
idea why align isn't letting me use movdqa?
Cause align doesn't work the way you think it does.
In fact I still don't understand how it works at all.
The language align keyword can only red
On 4/20/2012 3:06 AM, Namespace wrote:
The sense of pure functions isn't clear to me.
What is the advantage of pure functions / methods?
I inform the compiler with "const" that this method does not change the
current object, and therefore he can optimize (at least in C++) this
method. How and wha
On 3/15/2012 3:56 PM, Alex Rønne Petersen wrote:
On 15-03-2012 21:53, Gour wrote:
On Thu, 15 Mar 2012 13:49:14 -0700
"H. S. Teoh" wrote:
Another question. How to I repair my current history, which is all
messed up now?
By not using DVCS which allows you to rewrite history (hint: check
Fossil
On 3/7/2012 12:57 PM, Jonathan M Davis wrote:
On Wednesday, March 07, 2012 11:01:05 Timon Gehr wrote:
On 03/07/2012 07:05 AM, ixid wrote:
Ah, thank you, so it's wrapping. That seems like a bad idea, what is the
I suspect that the reality of the matter is that if we disallowed implicit
conversi
On 2/23/2012 5:03 PM, John Burton wrote:
I'm trying to use the d3d11 bindings in
http://www.dsource.org/projects/bindings/wiki/DirectX to call
direct3d11 functions from my D program.
I've managed to get the code to compiler but when it links I get
this error -
Error 42 Symbol Undefined _D3D11Cr
On 2/23/2012 5:03 PM, John Burton wrote:
I'm trying to use the d3d11 bindings in
http://www.dsource.org/projects/bindings/wiki/DirectX to call
direct3d11 functions from my D program.
I've managed to get the code to compiler but when it links I get
this error -
Error 42 Symbol Undefined _D3D11Cr
On 5/8/2011 4:05 AM, Jonathan M Davis wrote:
Sean Cavanaugh:
So I was learning how to make a module of mine very strict with private
parts, and was surprised I could only do this with global variables and
functions. Enums, structs, and classes are fully visible outside the
module
So I was learning how to make a module of mine very strict with private
parts, and was surprised I could only do this with global variables and
functions. Enums, structs, and classes are fully visible outside the
module regardless of being wrapped in a private{} or prefixed with
private. Am
Here is my prototype COM compile-time reflection based wrapper mixin
(which I have abandoned in favor of alias this since it covers 95% of my
use cases even though it isn't perfectly safe). I am new at D so you
have been warned, though this part of the language seems pretty
straightforward eno
On 4/30/2011 10:34 AM, Mariusz Gliwiński wrote:
Hello,
I'm trying to learn high-performance real-time programming.
One of my wonderings are:
Should i use int/uint for all standard arithmetic operations or
int/short/byte (depends on actual case)?
I believe this question has following subquestions
So my research into making a nice friendly to use COM interface wrapper
for D has had a few odd turns and I am wondering if there is an answer
to making the implementation nicer.
I discovered the 'alias foo this' syntax to let structs nearly
seamlessly impersonate a member variable. This has
I am working on a template class to provide function wrappers for COM
based objects, so the calling code doesn't have to dereference the
underlying pointer. In C++ we get this behavior for 'free' by
overloading operator->. In D I can create a fairly funky mixin template
to inspect the contain
Is there any way to access the your current scope? For instance the
following pseudocode is what I am after more or less:
class Foo
{
alias byte function(int) BarCompatibleInterface;
byte Bar(int)
{
static assert(is(typeof(localscope) == function));
static assert(is(std.traits.
I need some insight into how COM objects interoperate with D, as well as
some advice on how to manage them properly.
I've seen posts that IUnknown is treated specialy by the compiler, what
is the nature of this behavior? Does this include any kind of
AddRef/Release behavior integration with
23 matches
Mail list logo