AnsweredAssumed Answered

vrf stuck good with 621 error

Question asked by VRFuser on Nov 14, 2001
Richard,
I have found that I get the error that you are getting if the definition
file is not cleared before it is re-written.  That is file cfo.h is being
appended every time the user object 'write def' runs. I clicked the clear
file at pre run box and that seemed to solve the problem.  I also found that
it seemed to help to set the files to their exact location using the
selection boxes.
Regards, Gary

Gary Nelson SPG  Engineering Services
Agilent Technologies
Office: 408/435-4073 Fax: 408/435-5868
Pager: 408/589-6983     
gary_nelson@agilent.com

-----Original Message-----
From: Richard Kleinhenz [mailto:scubaman@us.ibm.com]
Sent: Wednesday, November 14, 2001 11:35 AM
To: vrf@lvld.agilent.com
Subject: vrf stuck good with 621 error


Hello,
I'm stuck with a problem that I hope someone can give me some ideas about.
I have a custom file open dialog that Shawn Fessenden developed.  She
checked it in Vee 5.  I am running 6.01.  It loads a custom dll.  At the
end of the program, it is unloaded.  Under some conditions, apparently it
does not get unloaded properly.  That's a separate issue, probably.  What
bothers me is that after an errror I can't run this function any more.
Even if I exit the program and reload, I get an error 621.  Even if I shut
down the PC and reboot I get this error!  But eventually, if I step away
from it for a few days, something is reset, and I can start all over,
attempting to get this to work, until I run into this error.

Does anyone have any idea how I can get stuck this way, and how I might
recover?  I can't wait 2 weeks every time I screw up before I can try
again.

The exact error message is:
"Duplicate symbol name 'SelectFile' is already in use.  Cannot add a
Function named SelectFile.  Object title: Import Library, Object type:
Import, In UserFunction: LoadLibs.  Error 621"

Question 2:  I understand that in Vee 6 a  __stdcall needs to be added
before any definitions.  I checked Vee help, and it's still cryptic to me.
I really know nothing about the lower level stuff at all...  can someone
explain to me what this need for __stdcall is in simple terms?  This is
what I tried (and it ran without generating an error, so maybe it is even
right?):  In the .h file, I added "long __stdcall CFO(long x)" as the first
line.  CFO is the name of this function.  Please bear in mind with any
response that I have not looked at low-level stuff since the days of the
Z80 and CP/M 2.2 and know absolutely nothing about C, dlls etc

I really appreciate any and all help on this!

--
Regards,
Rich
===========================
Richard Kleinhenz
mailto:scubaman@us.ibm.com
845-892-2617
===========================

---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------

Outcomes