Solved TD-23255: External functions: unable to assign new receive datatypes in struct

Post found bugs and possible workarounds.
Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 275
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

TD-23255: External functions: unable to assign new receive datatypes in struct

Post by Dave Rabelink » 10 Mar 2017, 08:10

I'm trying to assign one of the new datatypes (LONGLONG etc) to a struct/struct pointer and the IDE does not allow it.

Code: Select all

structPointer
	Receive Number: LONG
	Number: LONG
	struct
	Number: LONGLONG
	Receive Number: LONG
When the datatype is a Receive Number, I can not set the type to LONGLONG or ULONGLONG.
The code assistant does not list these types and when entered manually, the IDE gives error: "Item is not allowed here".

I created a small testcase. It is using an existing API function name.
The declaration is (for this function) not correct, but that is here not the case. It is just to show that we are unable to enter a struct having new types.

Try to set the type of the receive number in a struct definition to LONGLONG or ULONGLONG.

Struct_NoLONGLONG.zip
This has been registered as:

OTCS Ticket 2882962 : External functions: unable to assign newreceive datatypes in struct
You do not have the required permissions to view the files attached to this post.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 275
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: TD-23255: External functions: unable to assign new receive datatypes in struct

Post by Dave Rabelink » 12 Jun 2017, 07:41

This defect has been fixed in TD 7.0.1.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “Bug Reports”

Who is online

Users browsing this forum: Ccbot [Crawler] and 0 guests