
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
Hello,
I'm writing an MDL app that adds some info to the main window title
(project number). I've got the code in place that reads the project
number from a config file, and I want to pre-pend it to the current
title of the window. So, the title would end up being something like
this:
"ProjNo - FileName.dgn (2D - V8 DGN) - Microstation V8.1"
Now, I'm trying to use the mdlWindow_titleGet() funciton, and it keeps
failing (with a System Fault 5). Here is the relevant code:
char *current_title;
int bufferSize = 255;
.
.[other code here]
.
mdlWindow_titleGet(current_title, bufferSize,
mdlDialog_overallTitleBarGet());
Any idea what I'm doing wrong?
Thanks in advanced.
Chris Shaffer
Matrix Resources
| <-- __Chronological__ --> | <-- __Thread__ --> |