Solved

Can I get registry value in AIMMS?

  • 8 February 2021
  • 1 reply
  • 27 views

I want to get registry value to check for dll registration.

Is is possible in AIMMS?

Please help me.

icon

Best answer by gdiepen 15 February 2021, 15:45

Hi,

 

as far as I know, there is no functionality provided directly by AIMMS. However, one of the nice things you can do with AIMMS is using external procedures for calling functions that are present in DLLs. Fortunately, microsoft provides the win32 API as C callable functions.

One of the components within the win32 api is the registry  functions. You can find more information about it on https://docs.microsoft.com/en-us/windows/win32/sysinfo/registry-functions

Unfortunately, cannot find the code anymore, but using these win32 functions I have written procedures in AIMMS that would allow me to put things in the clipboard using code, but also read from / write to the registry. 

The website I gave also will tell which DLL each of the functions is present in.

So it is possible, but will require a bit of programming in AIMMS from yor side ;-)

View original

1 reply

Userlevel 3

Hi,

 

as far as I know, there is no functionality provided directly by AIMMS. However, one of the nice things you can do with AIMMS is using external procedures for calling functions that are present in DLLs. Fortunately, microsoft provides the win32 API as C callable functions.

One of the components within the win32 api is the registry  functions. You can find more information about it on https://docs.microsoft.com/en-us/windows/win32/sysinfo/registry-functions

Unfortunately, cannot find the code anymore, but using these win32 functions I have written procedures in AIMMS that would allow me to put things in the clipboard using code, but also read from / write to the registry. 

The website I gave also will tell which DLL each of the functions is present in.

So it is possible, but will require a bit of programming in AIMMS from yor side ;-)

Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator