Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

toolkit problem

Status
Not open for further replies.

selsium

Marine/Ocean
Sep 24, 2008
7
hi all,
I have an application developed in Pro/toolkit (C code) . DLL has been created , when I register the DLL on th auxiallary applications->register

i get the below error

Foreign program "test" failed to initialize: error PRO_TK_GENERAL_ERROR

Now we are using the Wildfire4.0 . So, I recompiled the code developed for Wildfire3.0

could anyone help on this?

 
Replies continue below

Recommended for you

Hello Selsium,

Toolkit applications compiled for WF3 no longer work with WF4 as string representation was switched to UNICODE from WF3 to WF4. So you need to change representation of strings in you source code and then recompile with WF4 Toolkit libraries. We also had to swith do Microsoft Visual Studio 2005. Usually this is some work, if you want to avoid this you can set following option in protk.dat
UNICODE_ENCODING FALSE
then you WF3 application should work with WF4.

Stefan

 
Thanks stefan,

Now the application is working fine.

I have added all the notes as a separate notes in the drawing. The problem is when I move the notes , they all move independantly. So I want to group them into a single note. I have 7 rows of notes and 7 notes.

can anyone help on this ? how to make them as a single note?
 
Edit --> Group --> Draft Group

Why not put all notes in the same note if they are underneath each other? You could also use a table.

 
Thanks mekko....really nice info.

where the group name will be saved? in the layers?
 
I've never used this function so I have no idea where the name is saved, but you're probably right. Layers seems like the place. I usually only use "relate to view" for notes without attachments.
 
I searche in the whole drawing but in vain !

So this looks like a black box ! I dunno where it saved.

Myb requirement is I have sone notes in the drawing and I want to make them as a draft group using Pro/tookit functions.

I got all the ids of the notes by sheet number. Now the grouping API takes different datatype.

could you help on this?
 
I found the group. It's in DRAFT_GRP layer in the layer tree. The groups seem to be named ID0(DRAFT GROUP), ID1(DRAFT GROUP) and so on. The name you enter when creating the group I found in the DRAFT_GRP layer properties, click on the 'Info...' button.

I've never used Pro/Toolkit so I can't help you there.
Have you tried mcadcentral or PTCs forums? This seems like a fairly inactive forum...
 
Hi guys

I would like to undestanding about Pro/Toolkit.
I Have application that use this. I´m workied well until format my PC
After I format my PC and have problem with This toolkit.

Have any relation with Pro/toolkit and windows XP SP2 or Net Framework or Visual Basic.

If I dont have this program I will run the dll files?

thanks!
ferrec
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor