On Thu, Oct 29, 2009 at 4:44 PM, Mitchell, Scott - AES < Scott.Mitchell@itt.com> wrote:
Dana,
I’m using C# with VS 9 and HDF5 1.8.3.
FWIW, I tried the same thing but with a H5D, and it didn’t fail as a
“Windows Application”. Since Packet Tables and Datasets are somewhat
interchangeable, can I just create it as a dataset and reopen it as a PT?
I’ve had to do the reverse for some features (Attributes & Dimension
Scales). But creating as a dataset and adding data as a packet table makes
me nervous.
Scott
*From:* hdf-forum-bounces@hdfgroup.org [mailto:
hdf-forum-bounces@hdfgroup.org] *On Behalf Of *Dana Robinson
*Sent:* Thursday, October 29, 2009 5:27 PM
*To:* hdf-forum@hdfgroup.org
*Subject:* Re: [Hdf-forum] Windows Application wierdness
Wait, you are using .NET so that doesn't make sense. I was thinking of
Win32 projects.
Which language are you using? Which version of Visual Studio? Which
binaries are you using?
Dana
On Thu, Oct 29, 2009 at 4:23 PM, Dana Robinson <derobins@hdfgroup.org> > wrote:
Does building the app as a Windows Application turn on __stdcall by
default? You probably have to use __cdecl with HDF5.
Dana
On Thu, Oct 29, 2009 at 4:08 PM, Mitchell, Scott - AES < > Scott.Mitchell@itt.com> wrote:
I have been trying to get an array type implementation to work in a
packet table dataset under .Net. And it’s been bedeviling me. I have a
simple test application that creates the packet table dataset. But when I
move the same code over to my application the H5PTcreate_fl call fails for
unknown reasons. The HDF5 output goes into a black hole & I can’t debug the
code either… so it’s a black box to me.
Anyway, I finally chased down the difference. When I build the application
to output as a “Console Application” it works. When it is set to a “Windows
Application” (as my app is), it fails.
My only thought is that HDF5 is pushing some message to the console and
that’s causing a failure. But it isn’t a problem with many other calls that
I’ve made (and even failures that would be writing messages). So that
doesn’t quite jibe.
Scott
------------------------------
This e-mail and any files transmitted with it may be proprietary and are
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this e-mail in error please notify the
sender.
Please note that any views or opinions presented in this e-mail are solely
those of the author and do not necessarily represent those of ITT
Corporation. The recipient should check this e-mail and any attachments for
the presence of viruses. ITT accepts no liability for any damage caused by
any virus transmitted by this e-mail.
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org