Re: Accessing CoInit [is Troubleshooting Linker error]

2012-10-02 Thread Richard Webb
I haven't tried to use DMD 2.060 yet, will see if i've got time later.

Re: Accessing CoInit [is Troubleshooting Linker error]

2012-10-02 Thread Andrej Mitrovic
On 10/2/12, Jesse Phillips jessekphillip...@gmail.com wrote: I've made the changes needed to get past the linker error I'm sorry, I was completely wrong about STDAPI being extern(C). I saw EXTERN_C and immediately thought this was the calling convention, it's not: #define STDAPI

Re: Accessing CoInit [is Troubleshooting Linker error]

2012-10-02 Thread Jesse Phillips
On Tuesday, 2 October 2012 at 09:48:00 UTC, Andrej Mitrovic wrote: I'm sorry, I was completely wrong about STDAPI being extern(C). I saw EXTERN_C and immediately thought this was the calling convention, it's not: #define STDAPI EXTERN_C HRESULT STDAPICALLTYPE #define

Accessing CoInit [is Troubleshooting Linker error]

2012-10-01 Thread Jesse Phillips
I've made the changes needed to get past the linker error, but have run into an Access Violation when using CoInitializeEx Once again I've returned to 2.057 (without changing ole32.lib) and this will compile and run. pragma(lib, ole32.lib); extern(Windows) int CoInitializeEx(void*, uint