Search found 47 matches

by George
14 Jan 2014 14:21
Forum: Visual Prolog
Topic: Memory Memory Management in Visual Prolog 7.4 ?
Replies: 4
Views: 3096

I'm not intended to change any of these... I need more clarity on these limitation.. As we see, in Old Prolog version(5.2), we used to define the "GStack size" and "Stack size" which will help us to increase the size of the IDB. I'm not sure, how that been handled on 7.4 version....
by George
14 Jan 2014 13:25
Forum: Visual Prolog
Topic: Memory Memory Management in Visual Prolog 7.4 ?
Replies: 4
Views: 3096

Memory Memory Management in Visual Prolog 7.4 ?

I just gone through the below url for the memory management, http://wiki.visual-prolog.com/index.php?title=Memory_Management I don't see any limitation on that. Can you please advice me on the following, What is the built in max size for "run stack memory", "heap memory" and &quo...
by George
13 Jan 2014 11:22
Forum: Visual Prolog
Topic: length : (Elem* List) how to use the Elem
Replies: 2
Views: 1879

Read the following post to know more about List,

http://wiki.visual-prolog.com/index.php ... _Recursion
by George
13 Jan 2014 11:10
Forum: Visual Prolog
Topic: Very urgent - Got exception during runtime - Please give me some idea to resolve this issue
Replies: 1
Views: 1605

Very urgent - Got exception during runtime - Please give me some idea to resolve this issue

I'm getting the following exception during runtime, Exception Information: VIP7KERNEL!VIP::KERNEL::LOCALCUT2+12WARNING - DebugDiag was not able to locate debug symbols for vip7kernel.dll, so the information below may be incomplete. In vip7kernel!VIP::Kernel::LocalCut2+12 in D:\myDrive\vip7kernel.dll...
by George
27 Nov 2013 15:33
Forum: Visual Prolog
Topic: Do we have any built in predicate to validate whether the input date is valid or not..??
Replies: 12
Views: 6222

Can I use the one which you given before on the same post.? (I think this has been discussed before). Anyway, assuming that you can yourself split the string into the components and convert these to integers, the simplest way is to create a time object from the components, and then ask for the compo...
by George
27 Nov 2013 9:37
Forum: Visual Prolog
Topic: Do we have any built in predicate to validate whether the input date is valid or not..??
Replies: 12
Views: 6222

time::isValidDate predicate was not working as expected

The built in time::isValidDate/3 predicate on 7.4 VIP is not working as expected. Code time::isValidDate(2000,200,12), Year : 2000 Month : 200 - invalid Day : 12 The input to this predicate was invalid, still it was succeeding the call. Can you please advice me why this built-in predicate was succee...
by George
17 Oct 2013 6:25
Forum: Visual Prolog
Topic: Exception C00000FD: Stack overflow on "format/.." predicate
Replies: 5
Views: 4014

I'm still investigating on this issue.. It was happened during the run time.. I was not able to reproduce this issue when I had this in a separate test project.. I tried all possibilities(passing various inputs), but I'm not able to re-produce.. Any thought about this exception.. Since it is happeni...
by George
16 Oct 2013 11:39
Forum: Visual Prolog
Topic: Exception C00000FD: Stack overflow on "format/.." predicate
Replies: 5
Views: 4014

just out of curiosity, what happens if the Try fails? if the try fails, then I've written a trivial condition to return the value as "0".. I don't think, there will be an problem.. Are you sure the SVal is bound? yes, It's always bound.. Any Thought's.. why this exception happened..?? Than...
by George
16 Oct 2013 7:01
Forum: Visual Prolog
Topic: Exception C00000FD: Stack overflow on "format/.." predicate
Replies: 5
Views: 4014

Exception C00000FD: Stack overflow on "format/.." predicate

I'm getting the following error message during the run time.. ======================================== Dump: 2013-10-11 09:12:22 ---------------------------------------- Exception: systemException (runtime_exception) System exception Predicate name = format Format = %-0.2f error code = 1 ExtraInfo =...
by George
12 Sep 2013 18:05
Forum: Visual Prolog
Topic: Application Crash with the "Faulting module name: KERNELBASE.dll" when upgrading to Prolog 7.4
Replies: 5
Views: 3228

One more thing is: I'm using the project which built in 32bit mode.. And exception says like, they try to refer 64bit OS dll.. Faulting module path: C:\Windows\syswow64\KERNELBASE.dll Is that create any problem.?? If so, why 5.2 prolog try referring to 64bit of KernalBase.dll.. ?? Is there any probl...
by George
12 Sep 2013 15:19
Forum: Visual Prolog
Topic: Application Crash with the "Faulting module name: KERNELBASE.dll" when upgrading to Prolog 7.4
Replies: 5
Views: 3228

But this exception got occur when I'm calling "Sleep" API from Prolog 5.2. There is no issue If I don't upgrade to Prolog 7.4. Only the problem is after upgrading to Prolog 7.4.. Something is relevant to prolog 7.4 upgrade. please give me some knowledge ?.. Why this exception occur.. As yo...
by George
12 Sep 2013 14:15
Forum: Visual Prolog
Topic: Application Crash with the "Faulting module name: KERNELBASE.dll" when upgrading to Prolog 7.4
Replies: 5
Views: 3228

Application Crash with the "Faulting module name: KERNELBASE.dll" when upgrading to Prolog 7.4

After upgrading to Visual Prolog 7.4, My application has crashed with the following error on the kernalbase.dll Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b83c8a Exception code: 0xe0fa1104 Fault offset: 0x0000c41f Faulting process id: 0x17d8 Faulting application s...
by George
16 Sep 2012 17:31
Forum: Visual Prolog
Topic: Do we have any built in predicate to validate whether the input date is valid or not..??
Replies: 12
Views: 6222

This has been tested with the US time...

Eastern Time Zone..

I'm not sure about the daylight changing in US..

Kindly advice.. how can i fix this issue...???
by George
14 Sep 2012 11:38
Forum: Visual Prolog
Topic: Do we have any built in predicate to validate whether the input date is valid or not..??
Replies: 12
Views: 6222

I've modified the code in the following way..

Code: Select all

TimeObj = time::new(),                     TimeObj:setDate(IYear, IMonth, IDay),                     TimeObj:getDate(Y, M, D),                     Y = IYear,                     M = IMonth,                     D = IDay
They are working good as expected..

I just wondering why the first approach given is not working..
by George
14 Sep 2012 10:36
Forum: Visual Prolog
Topic: Do we have any built in predicate to validate whether the input date is valid or not..??
Replies: 12
Views: 6222

time::newDate(IYear, IMonth, IDay) predicate, IYear = 2002 IMonth = 03 IDay = 10 The build-in predicate getDate/3 is not giving the expected result for the above scenarios, The output of the getDate/3 predicate is following, D = 9 M = 3 Y = 2002 since the date is given as 9 instead of 10. The date ...