Hello. After Windows 10 April Update (build 1803) I have problem with loading files (ScanSymbol stuck in infinite loop).
In previous windows version all was ok.
I use CLIPS core verion 6.30.
Is it Microsoft bug and I need only wait or do something?
Last edit: Bogdan 2018-05-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when call Load(@my file@) from cstrcpsr.c
there is problem start, the stack is
LoadConstructsFromLogicalName ->
ParseConstruct->
...
-> SlotReferenceVar
-> GetToken(theEnv,"hnd-var",&itkn);
-> ScanSymbol
and there in while loop variable "inchar" become always "-1"
Last edit: Bogdan 2018-05-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Works fine for me running with Windows 10. I set the ALLOW_ENVIRONMENT_GLOBALS flag in setup.h to 1 and then changed the main function to the following:
int main(
int argc,
char *argv[])
{
DATA_OBJECT rv;
InitializeEnvironment();
Load("code.clp");
Eval("(ppdefclass USER-EX)",&rv);
Eval("(ppdefmessage-handler USER-EX first-init)",&rv);
return(-1);
}
The defclass and defmessage-handler were both loaded successfully.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello. After Windows 10 April Update (build 1803) I have problem with loading files (ScanSymbol stuck in infinite loop).
In previous windows version all was ok.
I use CLIPS core verion 6.30.
Is it Microsoft bug and I need only wait or do something?
Last edit: Bogdan 2018-05-23
Difficult to say based on the information you've provided. Can you provide an example for reproducing the problem?
Yes, of course.
Firstly I call InitializeEnvironment();
then try to load simple file
(defclass USER-EX
(is-a USER)
(role abstract)
(pattern-match non-reactive)
(slot object-name (type STRING) (access read-write) (create-accessor read) (visibility public))
(slot object-address (type EXTERNAL-ADDRESS) (access read-write) (create-accessor read) (visibility public)))
(defmessage-handler USER-EX first-init primary ())
when call Load(@my file@) from cstrcpsr.c
there is problem start, the stack is
LoadConstructsFromLogicalName ->
ParseConstruct->
...
-> SlotReferenceVar
-> GetToken(theEnv,"hnd-var",&itkn);
-> ScanSymbol
and there in while loop variable "inchar" become always "-1"
Last edit: Bogdan 2018-05-23
Works fine for me running with Windows 10. I set the ALLOW_ENVIRONMENT_GLOBALS flag in setup.h to 1 and then changed the main function to the following:
The defclass and defmessage-handler were both loaded successfully.
The problem is using CLIPS in plugin for Allplan program. If we use it whithout this program all really fine.
Thanks a lot and sory for contacting.