Search found 28 matches

by Bernhard Mayer
Thu Aug 11, 2022 3:06 pm
Forum: Product
Topic: End of Visual Studio 2017 support
Replies: 6
Views: 1637

End of Visual Studio 2017 support

Hi Robert!
Currently VS 2017 is still my preferred development environment.
BR,
Bernhard
by Bernhard Mayer
Wed Feb 02, 2022 4:34 pm
Forum: Product
Topic: X# 2.10 and String2Psz() in struct members
Replies: 1
Views: 1194

X# 2.10 and String2Psz() in struct members

<r>Dear X# DevTeam!<br/> <br/> The new X# 2.10 compiler has a new warning "String2Psz() and Cast2Psz() should only be used for variables that have a 'local' scope. The allocated PSZ will be automatically released once the current function/method ends."<br/> <br/> Imagine a struct (Either global or l...
by Bernhard Mayer
Tue Jan 25, 2022 8:14 am
Forum: Product
Topic: Multidimensional array syntax
Replies: 3
Views: 1277

Multidimensional array syntax

Interesting, it does compile now ... well, the problem is definitely located before the computer :oops:

THX & best regards,
Bernhard
by Bernhard Mayer
Tue Jan 25, 2022 7:54 am
Forum: Product
Topic: Multidimensional array syntax
Replies: 3
Views: 1277

Multidimensional array syntax

<r>Dear fellow X#'ers!<br/> <br/> In times of collections and lists I barely have any need for it but what's the syntax for creating and initializing a multidimensional .NET array?<br/> <br/> I tried something like <CODE><s>[code]</s><i> </i>LOCAL aData AS STRING[,] aData := <STRING>{ {"OneOne", "On...
by Bernhard Mayer
Wed Oct 20, 2021 5:30 am
Forum: Product
Topic: X# 2.9?
Replies: 2
Views: 1383

X# 2.9?

Dear X# development team!

Do you have any news when the announced release 2.9 will be available?

BR,
Bernhard
by Bernhard Mayer
Wed Jul 07, 2021 10:37 am
Forum: 3rd party products
Topic: ReportPro 2.x .NET: rpImage with System.Drawing.Bitmap
Replies: 7
Views: 2026

ReportPro 2.x .NET: rpImage with System.Drawing.Bitmap

<t>Hi Robert,<br/> <br/> so far it was only a test whether rpImage can work with System.Drawing.Bitmap images, too. The next step will be to provide a delegate which is supposed to be calling the method responsible for the creation of QR images by passing a macro compiled string expression as QR con...
by Bernhard Mayer
Wed Jul 07, 2021 7:32 am
Forum: 3rd party products
Topic: ReportPro 2.x .NET: rpImage with System.Drawing.Bitmap
Replies: 7
Views: 2026

ReportPro 2.x .NET: rpImage with System.Drawing.Bitmap

System.Text.Encoding.Default:GetString(ms.GetBuffer()) did the trick, now the image is shown correctly!
by Bernhard Mayer
Wed Jul 07, 2021 7:02 am
Forum: 3rd party products
Topic: ReportPro 2.x .NET: rpImage with System.Drawing.Bitmap
Replies: 7
Views: 2026

ReportPro 2.x .NET: rpImage with System.Drawing.Bitmap

Hi Wolfgang!

Unfortunately Convert.ToString(ms.GetBuffer()) gets me "System.Byte[]" but not the content of the byte array.

BR,
Bernhard
by Bernhard Mayer
Wed Jul 07, 2021 6:08 am
Forum: 3rd party products
Topic: ReportPro 2.x .NET: rpImage with System.Drawing.Bitmap
Replies: 7
Views: 2026

ReportPro 2.x .NET: rpImage with System.Drawing.Bitmap

<r>Hi Chris!<br/> <br/> Sorry, I should have been more precise.<br/> <LIST><s>[list]</s> <LI><s>[*]</s>ms.GetBuffer seems to work, returns a byte[] of size 47181</LI> <LI><s>[*]</s>Convert.ToBase64String(ms.GetBuffer()) returns a string with length 62908</LI> <LI><s>[*]</s>This string is passed to r...
by Bernhard Mayer
Tue Jul 06, 2021 1:30 pm
Forum: 3rd party products
Topic: ReportPro 2.x .NET: PDFs with QR code images are very large
Replies: 7
Views: 1907

ReportPro 2.x .NET: PDFs with QR code images are very large

Hi Heiko,

I already have the ReportPro 2.x .NET source code since 2010 and though I've succeeded in adding some features I do not have the neccessary knowledge to alter the PDF creation on that level.

BR,
Bernhard