AnsweredAssumed Answered

vrf XP parallel port

Question asked by hgilsdorf on Sep 7, 2006

That fixed the error.

Thanks Dave,
-Henry

----- Forwarded by Henry Gilsdorf/Westell/EIT on 09/07/2006 03:46 PM -----

     "Andersen, Dave-P26278" <Dave.Andersen@gdc4s.com>

09/07/2006 03:38 PM
       
        To:        <hgilsdorf@westell.com>
        cc:        
        Subject:        RE: [vrf] XP parallel port



redefine your header using _stdcall.  Vee uses _cdecl by default.
 

int _stdcall Out32(int PortAddress,int Value);

int _stdcall Inp32(int PortAddress);



  _____  

From: hgilsdorf@westell.com [mailto:hgilsdorf@westell.com]
Sent: Thursday, September 07, 2006 1:24 PM
To: VRF
Subject: [vrf] XP parallel port


Vrf's,

I might be having a problem with the definition file but not sure. The attached Vee program does write data to the parallel port but gives the error 739, stack pointer corrupted after return from compiled function.
Any help will be appreciated,
Thanks,
-Henry



--- You are currently subscribed to vrf as: Dave.Andersen@gdc4s.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---  To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".  

Outcomes