The future depends on us. It is up to us to the future of Clarion.
Will this programming language to live long and happy life or dies in oblivion depends on us. If you have to say, do it here in this blog. Welcome!

Read More

Clarion blog works!

There are two new posts at Clarion blog. This is about tooltips and auto-save option. This is not so significant changes but it is better then silence.

Tags: | No Comments »

Category: Clarion7

The New Report Writer

I missed a few events when I had the vacation.
I can not watch a video at www.clarionlive.com. I see only the pictures from the blog. The main thing for me that: “Its worth mentioning that the new Report Writer will be shared by both Clarion 7 (win32) and Clarion.Net.

search1

No Comments »

Category: Clarion7

I am ready to work

I returned from vacation. I am full of strength and ready for work:)

100_3703_800

PS
I have received several letters during this time. I will try to answer them tomorrow.

1 Comment »

Category: General

Vacation

I will have a three weeks vacation. I have a plan to visit my parents who live about 7000 miles away from me. I think this trip will give me a new strength for a work. I will be back around August 16.

Tags: | No Comments »

Category: General

ClarionShop

I just had registered at clarionshop.com. You can see the CFC Library here.

Tags: , | No Comments »

Category: General

clarionshop.com

Today I have tried to add the CFC Library at clarionshop.com. I was not able to do so. I’m using Opera.
I have tried about 3 or 4 times. But nothing happened. My products list is still empty. IE did not want to open this site. I will try tomorrow again.

Motleysoft’s site looks ugly but it works as I expect.

Many features of clarionshop.com are not working for a long time, but people still enjoy this website. I don’t undertsand why.

Tags: , | No Comments »

Category: General

CFC Library 2.6 released

This version includes the template for menu. You can set the style of menu such as MS Office XP and MS Office 2003. The documentation is missing. I think that it will be available in next version. I think that version 2.6 is the last version which is free for private use. The next versions will be available only by annual subscription.

The installation package contains a lot of examples which demonstrates the library possibilities. You can find all examples in Clarion “EXAMPLES/CFC Library”-folder after install.

Download the demo

Download the setup-file for C6

Download the setup-file for C7

Read more about CFC Library

Tags: | No Comments »

CFC Menu Video

I have almost done with CFC Menu template. Today I present a demo video. I’ve made this video with a SnagIt. Video contains a minor disturbance, but I think that it is not important.
You can download a video here (2MB).

Tags: | No Comments »

Category: General

Words And Over

Today I had find an annoying bug. I think that this bug exists elsewhere in my code.

I use a GROUP and OVER for defining the low and high-order words.
For example,

lParam             LONG
lParamG            GROUP,OVER(lParam)
low                   SHORT
high                  SHORT
                   END

I made a copy of this GROUP for ULONG-variable:

wParam             ULONG
wParamG            GROUP,OVER(wParam)
low                   SHORT
high                  SHORT
                   END

But it is wrong! I’ll need to define the each parameter of this group as UNSIGNED:

wParam             ULONG
wParamG            GROUP,OVER(wParam)
low                   USHORT
high                  USHORT
                   END

Tags: | No Comments »

Category: General

Here I Am

I have not written here for a long time. This happened because I did not have interesting news. I was boring programming enterprise applications.

Tags: | No Comments »

Category: General

Russia Day


Today we are celebrate Russia Day. Actually I don’t know what is this day about. It is a just another holiday for me.

Tags: | No Comments »

Category: General

A New Blog

You can see a new community blog here.

I think that we can create a new forum at clarionlife.net. For example, en-forum.clarionlife.net :) or sv-forum.clarionlife.net. We can :) We have the popular forum for russian community at forum.clarionlife.net. You can see the our forum here (translated with Google).

Tags: , | No Comments »

Category: Clarion7

How To Shrink A Transaction Log In MS SQL 2008

I have a problem when using MS SQL 2008. The recovery model for my database is configured as a “Full“.
I do a full backup of the database every night. I do a transaction log backup every hour. The transaction log file for the two weeks of use has increased to 55Gb. The size of the database that is about 10Gb.

I have truncated the transaction log earlier using the following script:

MS SQL 2000
BACKUP LOG database_name WITH TRUNCATE_ONLY
DBCC SHRINKDATABASE (database_name, 10)

But this script does not work in MS SQL 2008. I found only one way to truncate the transaction log. The essence of the method is that it is necessary switch recovery model from FULL to SIMPLE, and make a truncation of the log.

I do a full backup of the database before performing this operation.

MS SQL 2008
ALTER DATABASE database_name SET RECOVERY SIMPLE
DBCC SHRINKFILE (log_name) WITH NO_INFOMSGS
ALTER DATABASE database_name SET RECOVERY FULL

It works :)

Tags: | No Comments »

Category: SQL

Vacation

I was in a small vacation. Now I am ready to work :)

Tags: | No Comments »

Category: General

Windows Threads

Today I tried to create a thread using Windows API. I always thought that there are no problems. But it turned out that I can not do anything. I can not even use the MESSAGE in the thread procedure. The application always crashes.

Below is the code that creates a new thread and simply increases the value of a variable. It works.

 PROGRAM
 MAP
    MODULE('WinAPI')
      CreateThread(LONG,LONG,LONG,LONG,LONG,LONG),ULONG,PASCAL,NAME('CreateThread')
      memcpy(LONG,LONG,LONG),LONG,RAW,NAME('_memcpy'),PROC
    END
    TThreadProc(LONG lpParameter),PASCAL
 END

Window WINDOW('Caption'),AT(,,129,115),FONT('MS Sans Serif',8,,FONT:regular),GRAY
       BUTTON('Start thread'),AT(4,4,81,18),USE(?OkButton),DEFAULT
       BUTTON('Show results'),AT(4,30,81,18),USE(?CancelButton)
     END

ThreadID LONG
Param    LONG
hThread  ULONG
 CODE
 OPEN(Window)
 DISPLAY
 ACCEPT
    CASE ACCEPTED()
    OF ?OkButton
       hThread = CreateThread(0,0,ADDRESS(TThreadProc),ADDRESS(Param),0,0)
       MESSAGE('Thread handle: ' & hThread)
    OF ?CancelButton
       MESSAGE('Param: ' & Param)
    END
 END

TThreadProc PROCEDURE(LONG lpParameter)
loc:Var LONG
 CODE
 ! MESSAGE('Enter TThreadProc') crashed
 LOOP
    loc:Var += 1
    memcpy(lpParameter,ADDRESS(loc:Var),4)
 END

Tags: | No Comments »

Category: General
Pages: Prev 1 2 3 4 5 6 7 8 9 10 ...113 114 115 Next