Re: Very strange problem - Eu bug?? (Eu 2.5)

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

Pete Stoner wrote:
> 
> I have an include file doing a dll call, the first call is done to get the
> buffer
> size required. Using the translator I was intermittantly getting '87' returned
> which is ERROR_INVALID_PARAMETER instead of the expected '111'
> (ERROR_BUFFER_OVERFLOW).
> The first odd thing was that it would fail when called from my main prog but
> would work if I used the include file on its own with the call tagged on the
> end.. 
> 
> Anyway to cut a long story of fiddling around short, I've cut things down as
> much as I can for now and I can recreate the failure, which I can 'fix' by a
> slight change in any of the include files i.e. removing a single character
> from
> a (now unused) variable name or even just removing one blank line!!
> 
> Its very reliable - run cutdown program and get '87' returned, delete blank
> line from file and get the expected '111' returned!! If I bind the version
> that
> fails it then runs ok - probably because of the binder deleting unused
> routines
> etc.
> 
> I'm lost here, if someone else would like to try this to see if they get the
> same results please let me know... As it seems so specific to number of
> lines/characters
> I will have to send you a zip of the include files used (only win32lib, my dll
> include file and whats left of my main prog).
> 
> PeteS

Pete,

Are you using Eu 2.5 or 2.5t3? If your using 2.5t3, does it fail with 2.5?


Regards,
Vincent

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

Search



Quick Links

User menu

Not signed in.

Misc Menu