[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: Weird errors



Sue,

See my comments:

From: "Mitchell, Sue"

> 1. I am using F_ApiFind and when I try to deallocated the findParams it
> causes my program to crash...

The Frame API is real touchy about when and where you deallocate memory.  I
have not completely figured out the ins and outs of this either.  I have
left out the deallocation completely without much trouble with memory
leakage, but I run on machines with 128 meg of ram minimum.

> 2. Some times when the program tries to set the properties to a given text
> range F_ApiSetTextProps(docId, &trFound, &props) (retrieved by using
> F_ApiFind) I get an error FE_OffsetNotFound: Offset specified for the text
> location couldn't be found in the specified paragraph or text line...

That is weird, I don't know, if you want to send me the code I would be
happy to look it over.  Fresh eyes sometimes find things that are not always
obvious to the original developer.

> 3. This same dll when run on a colleague's computer crashes FrameMaker
> sometimes (it gets hung up and must be shut down using task manager) ...

I've seen this type of thing before, I think it has to do with memory usage
and configuration as well as other programs running and colliding in the
memory space (this is all slightly above my head).  I have spent hours upon
hours trying to work these type of isssues out.  I am told that it should
not happen, if the program is written correctly, but that is little
consolation when you are trying to figure out what the problem is.

I don't know if I helped you or not, but I would be willing to take a look
at it if you want me too.

Steve

.==========================================================.
Stephen L. Schwedland                   steve@noonetime.com
Noonetime - Realized Energy        phone: 303-291-0230
Denver, CO                         direct: 303-994-1851
USA                                http://www.noonetime.com
.==========================================================.

>
> This is not an application we will use often, more of a one time thing,
> however I am really curious as to why I am having so many difficulties
with
> it.  Any comments or advice would be appreciated.
>
> Sue Mitchell
> --------
> Writing Support Specialist - Documentation Engineering Services
> Cognos Incorporated, Riverside (613)738-1338 x5461
> sue.mitchell@cognos.com
>
>
> ** To unsubscribe, send a message to majordomo@omsys.com **
> ** with "unsubscribe framers" (no quotes) in the body.   **
>


** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body.   **