Welcome to the Project Developers' Table

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Welcome to the Project Developers' Table

Post by Roberto Lopez »

rathinagiri wrote:Hi

I am getting this error for every demo... :(
error.jpg
I've upgraded QT from 4.5.3 to 4.7.

I guess that you must copy the new runtime dlls to your windows system folder.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
mlacecilia
Posts: 22
Joined: Fri Oct 08, 2010 2:44 pm

Re: Welcome to the Project Developers' Table

Post by mlacecilia »

rathinagiri wrote:Hi

I am getting this error for every demo... :(
error.jpg
Probably you need to do a clean rebuild of hbQt lib.
No problem here.
Regards
Maurizio
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

Yes. Now it is working. Thanks.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Welcome to the Project Developers' Table

Post by Roberto Lopez »

Pritpal,

An strange bug appeared.

After running samples/window.main/demo_3.prg after 'clipboard set value' command issued, the program crashes when exiting.

It causes a GPF. No runtime error nor hb_out.log file.

Rathinagiri showed the problem perfectly on the following post:

viewtopic.php?p=14446#p14446

Since there is no error messages, we was not able to find what's happening.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

Re: Welcome to the Project Developers' Table

Post by bedipritpal »

rathinagiri wrote:Yes. Now it is working. Thanks.
Correct your message.

You did not let the group know, what you did to make it working.
It could be useful for anybody who experiences such problem.
enjoy hbIDEing... Pritpal Bedi
User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

Re: Welcome to the Project Developers' Table

Post by bedipritpal »

Roberto Lopez wrote:Pritpal,

An strange bug appeared.

After running samples/window.main/demo_3.prg after 'clipboard set value' command issued, the program crashes when exiting.

It causes a GPF. No runtime error nor hb_out.log file.

Rathinagiri showed the problem perfectly on the following post:

viewtopic.php?p=14446#p14446

Since there is no error messages, we was not able to find what's happening.

This is how it should be used:

qClip := QClipboard()
qClip:clear()
qClip:setText( cClip )

Do not retain a reference of QClipBoard() anywhere.
enjoy hbIDEing... Pritpal Bedi
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

Sorry Pritpal. From now on wards, I will be descriptive.

I had copied the runtime dll files in window/system directory as Roberto suggested in the previous post.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

bedipritpal wrote: This is how it should be used:

qClip := QClipboard()
qClip:clear()
qClip:setText( cClip )

Do not retain a reference of QClipboard() anywhere.
Hi Pritpal,

I have tried to use this function. Same error is repeated. :(

Code: Select all

FUNCTION SetClipboardValue( cValue )
   LOCAL qClip
   qClip := QClipboard()
   qClip:clear()
   qClip:setText( cValue )
   RETURN NIL
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

2010-10-19 21:10 UTC+0530 Rathinagiri (srgiri@dataone.in)
* /source/window.prg
- Removed oClipboard variable and Clipboard method from Window Class as clipboard is not window specific.
* /source/dialogs.prg
+ Added: CreateFolder()
+ Added: RemoveFolder()
+ Added: SetCurrentFolder()
+ Added: GetClipboardValue()
+ Added: SetClipboardValue()
* /samples/window.main/demo_3.prg
- Removed: clipboard demo from window and moved the same to system.objects demo
* /samples/misc/demo_1.prg
+ Added: clipboard function demo
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

Re: Welcome to the Project Developers' Table

Post by bedipritpal »

Hello Group

Though this message can be ignored, but it will be useful if acted upon.

There are tons of scattered "demos" with names "demo_n" .
It is a lot of work for user to see what is where to look into.
Plus it is a repeatitive code. Also it does not portray a composite
application view of HMG.

What I believe, most of the demos can be clubbed into one
showcase application with bells and whisles. It will facilitates:

1. A showcase application a new user can use as a template.
2. Maintenance of the code will be easier.
3. You will have to write less code.
4. User will always have to look into at one place.

hbIDE is one example of showcasing hbQT as a whole.
enjoy hbIDEing... Pritpal Bedi
Post Reply