Recent

Author Topic: problems with Lazarus IDE  (Read 3383 times)

Gosh

  • Jr. Member
  • **
  • Posts: 72
problems with Lazarus IDE
« on: April 27, 2015, 07:27:12 pm »
When I try to double click on form I'm getting these warnings:

Why?

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: problems with Lazarus IDE
« Reply #1 on: April 27, 2015, 07:41:41 pm »
When I try to double click on form I'm getting these warnings:

Why?

It's Lazarus 1.2.XX ?

Gosh

  • Jr. Member
  • **
  • Posts: 72
Re: problems with Lazarus IDE
« Reply #2 on: April 27, 2015, 08:27:18 pm »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: problems with Lazarus IDE
« Reply #3 on: April 27, 2015, 08:29:43 pm »
(That screenshot shows Amiga specific syntax. It might be worth mentioning that you use such atypical platform when you are reporting bugs. And, anyway, updating to a version from the last two years might be preferable too)

Gosh

  • Jr. Member
  • **
  • Posts: 72
Re: problems with Lazarus IDE
« Reply #4 on: April 27, 2015, 09:46:57 pm »
I didn't change anything for 2 years from a very simple reason. Namely, I installed WinCE compiler after a lot complications and I didn't want to go through all of that again  :D

Gosh

  • Jr. Member
  • **
  • Posts: 72
Re: problems with Lazarus IDE
« Reply #5 on: April 27, 2015, 11:16:12 pm »
Hmmm... I completely removed Lazarus 1.0.12 and all its settings. After installing of 1.4.0 the same error arose on the same place. But... If I try with a new blank project, everything is working fine.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: problems with Lazarus IDE
« Reply #6 on: April 28, 2015, 09:24:22 am »
Hmmm... I completely removed Lazarus 1.0.12 and all its settings. After installing of 1.4.0 the same error arose on the same place. But... If I try with a new blank project, everything is working fine.
The problem might be in LPI or LPS files when opened in new version. Try to regenerate them somehow, manually edit them, or as a last resort copy everything else to a new project.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

Gosh

  • Jr. Member
  • **
  • Posts: 72
Re: problems with Lazarus IDE
« Reply #7 on: April 28, 2015, 02:34:46 pm »
I'm still not sure what's wrong but in general, this problem is not always presented. I suspect in some combination of various controls. This happens mainly when I am trying to work with sqldb components.


Gosh

  • Jr. Member
  • **
  • Posts: 72
Re: problems with Lazarus IDE
« Reply #8 on: April 28, 2015, 09:11:03 pm »
New problems...

I wanted to put a context menu control on  blank form. When I tried to add new menu subitems, I couldn't do that from Menu editor.

Here's that notorious code which produces this tedious error:

function BltBitMap(srcBitMap : pBitMap location 'a0'; xSrc : LongInt location 'd0'; ySrc : LongInt location 'd1'; destBitMap : pBitMap location 'a1'; xDest : LongInt location 'd2'; yDest : LongInt location 'd3'; xSize : LongInt location 'd4'; ySize : LongInt location 'd5'; minterm : CARDINAL location 'd6'; mask : CARDINAL location 'd7'; tempA : pCHAR location 'a2') : LongInt;
SysCall GfxBase 030;

If I press on Cancel, I'm getting an Access violation message. Strange, very strange.

Gosh

  • Jr. Member
  • **
  • Posts: 72
Re: problems with Lazarus IDE
« Reply #9 on: April 29, 2015, 05:17:51 pm »
it is practically impossible to work under these circumstances. I removed all files related with Lazarus and installed the latest version but this problem still remains.


EDIT: I tried again. Previously I uninstalled Lazarus, clear all registry entries, removed all data related with Lazarus from User folder and when I double click on a control or try to generate an event from Object inspector I am getting a message from the first post.
« Last Edit: April 30, 2015, 11:28:16 am by Gosh »

 

TinyPortal © 2005-2018