>
> I've not tested PACEInterfaceLib or PACEInterface with x86 compilers.  I
> think it could work -- you've asked repeatedly about using this, but
you've
> not posted any details of what you've tried and how well it worked/didn't
work.
>

Yes that's true ,sorry ;)
I finally find the way to compile a DLL correctly, it was a search path
problem
(win32 path before palmos path)

thanks Ben :)

Now i have another problem when i compile the DLL with VC++,
I have the following structure :

typedef struct {
 UInt16 func;
 UInt8 *dst;
 UInt8 *src;
} MyUserData;

so func is supposed to be at offset 0
dst : offset 2
src : offset 6

but if i try to access data->dst or use OffsetOf macro i have :
dst : offset 4
src : offset 8
and i have a nice crash...
it seems that UInt16 is a ulong and not a ushort

Any idea ?
thanks

Chris

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to