comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Update Shared memory Structure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Update Shared memory Structure [message #48412] Tue, 18 April 2006 14:51
Peter Mason is currently offline  Peter Mason
Messages: 145
Registered: June 1996
Senior Member
mtrutledge@gmail.com wrote:
<...>
> typedef struct _IDL_RESULT
> {
> int m_nResultCode;
> } IDLRESULT, *LPIDLRESULT;
<...>
<...>
> shmTemplate = {IDLRESULT, m_nResultCode:-2} ; This must mirror the
> _IDL_RESULT structure in the C++ Batch Processor App
<...>

Matt, a quick suggestion. In the IDL, try {IDLRESULT, m_nResultCode:-2L}
As it stands, you have a 4-byte int defined in the C but a 2-byte int in the
IDL.
[Message index]
 
Read Message
Previous Topic: Input/Output, C++ to IDL, using Procedures
Next Topic: Re: Uniting IDL and Matlab

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:09:33 PDT 2025

Total time taken to generate the page: 0.00374 seconds