sselvia | 25 Aug 2011 15:21

"Unable to handle the type" Message

My COM object has a structure:

struct dpmWAVEFORMATEX
{
  short  wFormatTag;
  short  nChannels;
  long	 nSamplesPerSec;
  long	 nAvgBytesPerSec;
  short  nBlockAlign;
  short  wBitsPerSample;
  short  cbSize;
  byte	cbExtra[32];
} dpmWAVEFORMATEX;

Which cannot be translated to a java class file by the tlbimp.jar
application.

How do you defined structures within com4j?

I would like to get this resolved so that I can complete my
application.


Gmane