Re: New DLL for EXE crashes app

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Cheers! It works great now! Except, I have a wierd alias. The function name
is AnimatedTrayRects and the alias is _AnimatedTrayRects@8 . Is there
anything I can do about that?

"Igor Tandetnik" <itandetnik@xxxxxxxx> wrote in message
news:e62fKtxNFHA.568@xxxxxxxxxxxxxxxxxxxxxxx
> "Lindsay" <lindsay@xxxxxxxx> wrote in message
> news:424de44d$0$27857$ed2619ec@xxxxxxxxxxxxxxxxxxxxxxxxxx
>> I've just taken up C++ to be able to write DLLs. One dll (as an
>> experiment) has a routine taken exactly from VB6 (obviously using C++
>> syntax) and is called from VB6 app. When the app starts and the dll
>> is called, the app crashes. However, the dll function does visual
>> animation for the app, and I do see the animation proving the dll
>> works. Why would it crash though?
>
> Make sure the exported function uses __stdcall calling convention. That's
> what VB expects. If you have calling convention mismatch, you end up with
> a trashed stack.
> --
> With best wishes,
> Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925
>


.



Relevant Pages

  • Re: Need effects app to animate static images
    ... I see...just another post in hopes of cleverly bringing an app like the ... the preview cannot be saved as an animation. ... I haven't found freeware for this effect. ... Photoshop plugin available? ...
    (rec.video.desktop)
  • Re: Too much animation
    ... Animation has no place at all on the Desktop. ... I'm particularly fond of the one when you buy something from the App ... I like the shrink effect when minimising windows to the Dock. ... The slide effect when entering/leaving Expose is ...
    (uk.comp.sys.mac)
  • Re: 3d drawing/animation softwear.
    ... "Buddhism elucidates why we are sentient." ... and I couldn't use it to keyframe an animation. ... | the scale I looked at demos for Poser 6 and it's 'toon outline' feature ... | the app will workout the 3d frames. ...
    (comp.graphics.animation)
  • Re: =?ISO-8859-15?Q?Pharis=E4er?= auf zwei =?ISO-8859-15?Q?R=E4dern?=
    ... Animation brauche, dann schaue ich auch mal gern bei Deiner Adresse rein. ... Alias zu legen. ... dafuer Bild zu hoch fuer meine eher querformatige ...
    (de.rec.fahrrad)
  • Re: ID3DXAnimationController::AdvanceTime() does not return
    ... Run your app under the debugger, when it freezes, pause the app and see ... Microsoft DirectX MVP, ... I am planning to write my own animation code as well, ... It does return from the AdvanceTime() function here. ...
    (microsoft.public.win32.programmer.directx.graphics)