Solved TD-20950: Compilation error if you use graph in .NET sal library

Report TD 5.x and 6.x bugs and possible workarounds.
a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

TD-20950: Compilation error if you use graph in .NET sal library

Post by a_sivababu » 22 Jun 2015, 07:34

Hi,

Graph/chart control not working if I use it sal library. Getting compilation error.

Thanks
Siva A

Kumuthini Ragavan

Re: TD-20950: Compilation error if you use graph in .NET sal library

Post by Kumuthini Ragavan » 25 Jun 2015, 15:47

Hi Siva
Sorry, I cannot reproduce this. May a simple testcase would help.
I added a chart in an apl and included it in another apt file.
Please try and send us a testcase.
Thank you
Kumuthini Ragavan

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: TD-20950: Compilation error if you use graph in .NET sal library

Post by a_sivababu » 25 Jun 2015, 16:54

Hi Kumuthini,

Thanks for your response. Sorry. I did not mention this in detail as this was the same problem that i reported earlier for cOutlineListBox.

The test case is simple. Can you please try to build the symbol file (AXL) and call this in the main apt file?. I am converting win32 APD to .NET AXL and erroring out for

cSpinField
COutlineListBox ( I could see one bug fix in TD 6.3 UPD1 for this but no luck - TD-20950 .Net compilation error referencing function inherited by cOutlineListBox )
cQuickGraph


TD 6.3 UPD1 & windows 8.1

Thanks
Siva A

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: TD-20950: Compilation error if you use graph in .NET sal library

Post by a_sivababu » 01 Jul 2015, 06:18

Hi Kumuthini,
Place the below controls in apl and build as symbol file. you will get an error.
cOutlinelistbox
cQuickgraph

Place the below control in any source file and you will get error while running it.

cSpinField

Please let me know if you would require sample file for the same.

Thanks
Siva A

Kumuthini Ragavan

Re: TD-20950: Compilation error if you use graph in .NET sal library

Post by Kumuthini Ragavan » 01 Jul 2015, 13:37

Hi Siva
What do you mean by build as symbol file? Within TD?
Thanks
Kumuthini

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: TD-20950: Compilation error if you use graph in .NET sal library

Post by a_sivababu » 01 Jul 2015, 16:34

Hi Kumuthini,
Step 1. Place the chart, spin field, cOutlinelistbox in form window after including vtlbx.apl, vtspin.apl and qckdvc.apl and choose Project menu --> Build Setting --> Choose .NET application --> Chose Sal Library and save as sample.apl.
Step 2. Project Menu --> Build ( sample.dll)
Step 3. it creates two files sample.AXL and sample.dll. as per my understanding. AXL is the TD.NET symbol file.

However, you can not complete the step 3 as you get below error for cOutlinelistbox or cQuickgraph or cSpinField etc.

"An internal error has occurred: Object reference not set to an instance of an object"

but for cSpinField, you will also get below fatal error while executing with .exe option

"The invocation of the constructor on type
Gupta.TD.Runtime.windows.SalNumericUpDown that matches the specified
binding constraints threw on exception. Line 4 and Line position 6.

Thanks!
Siva A

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: TD-20950: Compilation error if you use graph in .NET sal library

Post by a_sivababu » 03 Jul 2015, 11:31

Hi Kumuthini,

Attached is the file for above set issue.

Testwithsallibrary - you will get compilation error while compiling it.

Testwithexe - you will get run time error while executing it.

Thanks!
Siva
You do not have the required permissions to view the files attached to this post.

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: TD-20950: Compilation error if you use graph in .NET sal library

Post by a_sivababu » 08 Jul 2015, 03:55

Hi Kumuthini,
Let me know if you would require further information for simulating this issue.

In this, there are three bugs,
TD - xxxxxx - Compilation as well runtime error if cSpinField added in the executable and .NET Sal Library
TD - xxxxxx - compilation error if cOutLineListBox added in the .NET Sal library
TD - xxxxxx - compilation error if ccquickgraph added in the .NAT Sal library


Thanks!
Siva A

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: TD-20950: Compilation error if you use graph in .NET sal library

Post by a_sivababu » 13 Jul 2015, 11:31

It is better if Gupta resolves all the above issues. hope this issue persists for all extended controls.

Thanks.
Siva A

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 3 guests