Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Running BGLCOMP from another application

Featured Replies

I'm developing an application that will run BGLCOMP using the ShellExecuteEx() function.I can do this but it appears not to find the files if the paths to BGLCOMP and/or the .xml files have a space in them EG if the paths include "Program Files". Could this be a DOS hangover?Is anyone else aware of this or am I doing something wrong?

Gerry Howard

All you need to do is place quotes around the path. ie:bglcomp "E:Top DirectoryXMLFilename.xml"Also, ensure that bglcomp.exe and bglcomp.xsd are in the application directory.George

  • Author

Thanks, but your suggestion doesn't seem to work programatically. It may work in the Command Line.I am creating my path as a string and assigning the string to the lpFile member of the SHELLEXECUTEINFO structure. I get the same error message with and without additional quotes as follows:Windows cannot find '"C:T estbglcomp.exe"'Windows cannot find 'C:T estbglcomp.exe' It works perfectly with the space removed from Test.My workround is to use the current directory by omitting the path and not setting the lpDirectory member of SHELLEXECUTEINFO. This requires the .xml and .bgl files to be in the same directory as my application which is a minor, but annoying, limitation.

Gerry Howard

Can you read and store the string value in a variable and then use the variable in your script / statement?

This works fine for me: CString Command = "BGLCOMP.EXE "" + m_Filename + "" >> t.txt"; system(Command);George

  • Author

Thanks. I hadn't thought of using system :(I'll try it tomorrow - it's also simpler than the ways I've been trying.

Gerry Howard

  • Author

It works fine for me too :) Thanks

Gerry Howard

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.