RE: [V8i C++] Detecting SELECTSeries 3 at run-time
Hi Jan, thanks for the detailed response.To clarify a couple of things:1) Yes I've had some success using VMs to handle different MS versions, but this means I can't have one giant build script to...
View ArticleRE: [CONNECT C++] unresolved external symbol
I recommand to use BeTextFile class to replace mdlTextFile_xxx functions. Please see the following pic to learn the framework of MicroStation CONNECT SDK.
View ArticleRE: Displaying levels in attachment using OpenDesignForProgramming
Thanks Barry. I'll give this a test when I get back to the office.
View ArticleRE: [V8i C++] Detecting SELECTSeries 3 at run-time
Hi Piers,as I expected, the topic evolved into more different subtopics ... and it will continue as long as nobody will understand it :-)In my opinion there are four main areas that in fact can be...
View ArticleRE: [V8i C++] Detecting SELECTSeries 3 at run-time
One more idea: Can be a workaround to develop a "general application loader" that as an argument will accept an application name? In a standard workspace there should be no MicroStation variables...
View ArticleRE: [V8i C++] Detecting SELECTSeries 3 at run-time
[quote user="Piers Porter"]I thought I would just add a new platform to differentiate between SS2 and SS3[/quote]I brought this up many years ago when SS1 arrived: there was no way of knowing at build...
View Article[V8i C++] Detecting SELECTSeries 3 at run-time
In the past I have delivered my application for 3 main MicroStation versions: V8i, XM and 2004.Since these need to be compiled separately, I have a different path for each of them that is defined at...
View ArticleRE: Problems with mdlElement_getID
[quote user="HDR_Coder"]ElementID* eleId = mdlElement_getID(eleP);error cannot convert from 'ElementID' to 'ElementID *'[/quote]mdlElement_getID() returns an ElementID, not an ElementID*. That's what...
View ArticleRE: Problems with mdlElement_getID
Sorry guys, the error was with what was being returned. I should have had ElementID eleId on the left instead of ElementID* eleId
View ArticleRE: Problems with mdlElement_getID
[quote user="HDR_Coder"]The error was with what was being returned[/quote]I'm not sure how a documented function can have an error in its return type. You have to accept that programmers make...
View ArticleProblems with mdlElement_getID
I have tried a few ways to get this function to work, but it keeps giving me the error cannot convert from 'ElementID' to 'ElementID *'This is the first way I tried to fix it EditElemHandle eh(eleR,...
View ArticleRE: [CONNECT C++] How to configure Connect MDL?
bmake[quote user="Zhen Li"]Where should copy these files?[/quote]The examples delivered with the SDK are a good place to look.For example, the bmake file for IncrementText has these lines.........
View ArticleRE: [CONNECT C++] How to configure Connect MDL?
Hi Jon , Thank you for your reply. Maybe I did not say it clearly. I got my CONNECT MDL compiled and generated my DLL and MA files. I don't know where to copy them (DLL and MA files) to let...
View ArticleRE: [CONNECT C++] How to configure Connect MDL?
Hi Zhen,I agree with Jon that delivered SDK examples are place where to start, because they should work fine (including copying built application to a proper folder). And if not, something is wrong in...
View ArticleRE: [CONNECT C++] How to configure Connect MDL?
Hi Zhen,[quote user="Zhen Li"]The previous version need a CFG file and a MA file.[/quote]It's not true. I guess by the "previous version" you mean MicroStation and in such case there is no difference...
View ArticleRE: [v8i ss3 c#] How to "clean" CadInputQueue
Please follow the MicroStation Programming forum best practices.Code Syntax HighlightingWhen you post code, use the Forum advanced editor's syntax highlighting tool. That's the icon that resembles a...
View Article[v8i ss3 c#] How to "clean" CadInputQueue
Hi,I am using v8i, w7 and vs2010this is the code I run by pressing button "Run" on windows formBCOM.Application m_app = BMI.Utilities.ComApp; BCOM.CadInputMessage cad_m;while...
View ArticleRE: [CONNECT C++] How to configure Connect MDL?
[quote user="Zhen Li"]The previous version need a CFG file and a MA file[/quote]A MicroStation application named zhen, built as a DLL, has at least two files: zhen.ma and zhen.dll. A configuration...
View Article[CONNECT C++] How to configure Connect MDL?
Hi,I did some research on this topic on internet and Bentley web site. I did not find information I need. I got my application compiled and generate my DLL and MA files.I have following questions:(1)...
View ArticleRE: [V8i SS2 VBA] color chooser control
Thanks Jon. You are correct.I've written my own little bare bones Color Chooser user form. It's pretty minimalistic, but it works fine on my machine. I've attached it to this post. At least I think...
View Article