Skip to main content
16-Pearl
December 21, 2020
Question

problem with jlink OnCommand method.

  • December 21, 2020
  • 2 replies
  • 5162 views

Hi folks,

 

I'm new to j-link. Could somebody explain what is wrong in my code?? why OnCommand method doesn't show message window??

thx in advance for all help.

2 replies

24-Ruby III
December 21, 2020

@Gucio wrote:

Hi folks,

 

I'm new to j-link. Could somebody explain what is wrong in my code?? why OnCommand method doesn't show message window??

thx in advance for all help.


Hi,

my suggestion ... ask PTC Support.

Gucio16-PearlAuthor
16-Pearl
December 21, 2020

Martin,

It's good that you are in good mood.
PTC support is not to give an answer for "how to do it" -it is the last mail that I've received 😞

 

Regards

24-Ruby III
December 21, 2020

@Gucio wrote:

Martin,

It's good that you are in good mood.
PTC support is not to give an answer for "how to do it" -it is the last mail that I've received 😞

 

Regards


Hi,

I am sorry I do not understand the meaning of your reply.

Note:

If you need to get some help, you have to provide:

  • complete copy of your project (source code file, pictures, additional files, protk.dat)
  • information about Creo version you use
  • information about JDK version you use + method how you compile your application
  • information about JRE version you use in combination with Creo

 

15-Moonstone
February 18, 2021

Method SetIcon() accepts only image file name. Actual image file must be located in the text directory under resource directory. See documentation: 

 

IconFileName—Specify the name of the icon file, including the extension. A valid format for the icon file is the PTC-proprietary format used by Creo .BIF, .GIF, .JPG, or .PNG. The new pane is displayed with the icon image. If you specify the value as NULL, the default Creo icon is used. The default search paths for finding the icons are: ○ \\Common Files\text\ resource ○ \resource ○ \\resource The location of the application text directory is specified in the registry file