I propose you to open this topic to share project migration experience
First observation:
Versions : 10.0 SP2 to 11.1
Functions : SCADA BASIC and Proprietary Archives
Comments : Necessary to increase the HandleDest buffer size to extract with SVLOG
I don't understand why, if you have idea ?
Hi,
I remember seeing a HL request dealing with buffer management but impossible to get it again.
Here is what a local customer of mine has met.
With old PcVue, nothing to declare. With latest version, impossible to put into a buffer the exact size: it has to be +1
Sub Main()
dim hBuf as Long;
dim RetLectINI as Str;
dim longueur as Integer;
RetLectINI = "abc";
longueur = Len(RetLectINI);
'With new versions (11.1)
'longueur = Len(RetLectINI+1);
hBuf = Alloc_Buffer(longueur);
PUT_BUFFER(hBuf , 0 , RetLectINI);
Free_Buffer(hBuf);
End Sub
BR
Edouard
PS: just copy/paste SCADA Basic code in blank project + empty GLOBAL. 10.0 and 11.0, OK. 11.1, NOK
Wow! Indeed the following code raises a Scada Basic error "Block size too small"
dim b as long;
b = Alloc_Buffer(3);
Put_Buffer(b, 0, "abc");
Free_Buffer(b);
==> SPR
That is what I wanted to see as error message. Of course I got the same.
You are the guy curious enough I was waiting for 😛
SPR 62133 declared!
Hello Everyone,
Do any of you face an issue on mapping of word-bits migrating from ver 8.0 to older (eg. ver 11.1)
Hi,
I am facing some issues while upgrading a project backup from version 8.0 to 11.1.
Some of the bit variables created using word frames are not linked with the addresses in the updated file.
Please do the needful.


