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.

Registering DLL with FSUIPC

Featured Replies

  • Commercial Member

I should have come across this forum much earlier, it is great :).I am making a DLL at the moment and thanks to the example code of Jos

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Arno,This is the code I used: FSUIPC_Open2(FSReq, &Result, Mem, Size); FSUIPC_Write(0x8001, 29, "Z6MCG7ZTBVD5dsd_catapult.gau", &Result); FSUIPC_Process(&ResultR);Note that 29 is the length of the string being written, plus one.Doug Dawson

  • Author
  • Commercial Member

Thanks, that was about what I already tried and I still get the warning on startup that the registration is not correct.As I wrote before I use the example of Jose. It contains a piece of code like this:[tt]if (FSUIPC_Open2(SIM_ANY, &dwResult, FSUIPCMem, 500)) { KillTimer (NULL,TimerFSUIPC); //rest of the code[/tt]And I changed it to this:[tt]if (FSUIPC_Open2(SIM_ANY, &dwResult, FSUIPCMem, 500)) { FSUIPC_Write(0x8001, 25, "HXGLI106K9TFactigate.dll", &dwResult); FSUIPC_Process(&dwResult); KillTimer (NULL,TimerFSUIPC); //rest of the code[/tt]Maybe someone can see what I am doing wrong :).

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Have you checked in the FSUIPC log file? It may provide some insite as to what is going on...Doug

  • Author
  • Commercial Member

Yes, it contains these lines:[tt] 12985 Module identified = "actigate.dll" 15000 Illegal read attempt: offset 0BC8, size 2 15000 ... Program or module not accredited for use with this unregistered FSUIPC[/tt]That makes me think that something went wrong with passing the key.At least I know now that I am using the right commands, I will continue searching :).

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

  • Author
  • Commercial Member

OK, found it, thanks for helping.I was stupid enough to think that the key of the EXE I had made before would also work when I wrote it as a DLL, but that was not the case.

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

  • 1 year later...

Hello,i also trying to register my dll in FSUIPC but inn Delphi and but it dosent work.I have a FPCuser.pas with a Procedure called FSUIPC_open, but i havent the FSUIPC_open2 Procedure.Can anyone help me here ?I have atached the FPCuser as a rar and hope here can help me anyoneplease.Thanksmatthias

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.