Re: An old C function problem revisited

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jonas Temple wrote:
> 
> I guess I really failed to mention that the prompt dialog IS presented when
> the function is called.  The dialog works normally and the "CRTPGM" string I
> pass in is received as well.  
> 
> The problem happens when I click "Okay" or "Cancel" on the dialog.  The other
> thing I faile to mention is the dialog that is displayed is a Java app.  Mabye
> that has something to do with it?  Mabye not because this routine is supposed
> to be a C/C++ interface to the Java app.  I also know this dialog works as
> it's
> called from other apps provided by the vendor.

Sounds like a calling convention mixup to me.  Have you tried using cdecl?

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu