On 30 Jul 2001, at 20:59, the Illustrious niceguy wrote:
> ---------- Original Message ----------------------------------
> From: "Lloyd Dupont" <lloyd@...>
> Date: Tue, 31 Jul 2001 00:07:47 +0200
> >Chris Marshall wrote:
> >> Lloyd -
> >> I'm going to stick my two cents in,
> >... i must admit that, though my name, i am french, and i understand
> > the above line is just an expression not related to mingw, anyway,
> > what does it mean ?
> The term 'two cents' refers to currency, and two cents in American
> currency isn't worth much. So, to say you are 'putting your two cents
> in' means that you are going to offer some information, but it may not
> be very useful.
Or it means it is just your personal opinion based on the information
that you have available to you. In essence, it is a way of saying,
"for what it is worth" since for some, currency value is extremely
Always need to take it in context with the topic being discussed. In
this case the topic is COM, a Microsoft Specific method of handling
things that don't really exist except as they are defined within the
context of the source code itself (C or C++). In fact, COM is nothing
more than a collection of software constructs which are required for
DirectX development. Microsoft calls them Common Object Modules (I
believe). COM-Object is not to be confused with COM-Port as they are
in fact two entirely different, and largely unrelated, concepts.
> >> Assuming that you are correct that SafeArrayCreateEx() is a part of
> >> the oleaut32.dll, then it seems to me that you need to have an
> >> oleaut32.lib and an oleaut32.h somewhere ... perhaps obtained from
> >> the Microsoft SDK?
> >in fact oleaut32.dll is a standart DLL found in
> >(not specifically shipped with a dev env)
> >it seems that SafeArrayCreateEx is new, as i have bought, in the
> >beginning of 98, Visual C++ 5, which is shipped with OLEAUTO.H which
> >has a definition for 'SafeArrayCreate' but not for 'SafeArrayCreateEx'
> Generally, the functions with 'Ex' represent some difference between
> Windows 9x and Window NT/2000. If you aren't targeting the 9x systems,
> the function without the 'Ex' is usually preferred. The SDK
> documentation at the Microsoft site is very useful for determining which
> version should be used for which platform. I have some COM code on my
> NT machine that uses 'SafeArrayCreate' and Mingw has no problems
> understanding it.
This has to do with the fact that hardware/memory access under NT4 is
capable of being strictly controlled (NT4 Access Control Language or
ACL -- see MSDN library docs for more information), whereas under
Win9x/Me they are not. Has to do with system architectures being
fundamentally different between Win9x/Me and NT4.
So, if you require SafeArrayCreateEx, then you require the very latest
release from Microsoft for oleauto32.dll (Win98/NT4 both have this).
You can import this for Mingw .a files if you wish.
Finally, I seem to remember someone putting together an OLE package
for Mingw. You might want to do a google search to determine where
that package is at.