Options

Active X / C DLL code callings in Navision?????

aleix1979aleix1979 Member Posts: 213
Hi guys,

I keep strugeling with QAS integration.:oops:

Do you know if there is a way to put C code into Navision or to call an Active X (I guess it's impossible :cry: )
Navision Developer

Comments

  • Options
    janpieterjanpieter Member Posts: 298
    Sure you can instantiate ActiveX dll's in navision.

    Just declare a variable of type automation and in the subtype select the desired automation class.

    Create an instance with:
    CREATE(myAutomationVar);

    Clear an instance with:
    CLEAR(myAutomationVar);

    Look in the C/Side documentation and you will find more information.
    In a world without Borders or Fences, who needs Windows and Gates?
  • Options
    aleix1979aleix1979 Member Posts: 213
    Hi There,

    I can now see the automation (ActiveX version), see it's function structure but it keeps impossible to declare an CREATE(automation). Again all DLL are failing to register. #-o


    The run-error says that the automation has not been registered. How should I be able to register the correct var?

    Any answer out there? :?
    Navision Developer
Sign In or Register to comment.