Using the Jiwa Assemblies from a .NET application  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Re: Using the Jiwa Assemblies from a .NET application

Postby perry » Tue Apr 21, 2015 2:13 pm

Hi Mike,

Can we have an update on this topic please? It will become urgent soon as UAT is about to start this week...
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15

Re: Using the Jiwa Assemblies from a .NET application

Postby Mike.Sheen » Fri May 01, 2015 11:48 am

perry wrote:Hi Mike,

Can we have an update on this topic please? It will become urgent soon as UAT is about to start this week...


Hi Perry,

I'm unable to reproduce your issue as you describe it. I've downloaded and tested the plugin you attached to this thread earlier - and used the code fragment you supplied for your console application - and all expected plugins load.

Perhaps you could attach the problem project in question? I would like to examine some project properties to see if I can spot any thing different to my working one.

Attached is my console project which works for me.
LoniceraTest.rar
Sample console project
(152.1 KiB) Downloaded 502 times


Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: Using the Jiwa Assemblies from a .NET application  Topic is solved

Postby perry » Mon May 04, 2015 11:59 am

Hi Mike,

I think I figured what the *problem* is.
A plugin will not load into a .NET app if the project doesn't have all the references are required in the plugin.

i.e. if you start a new project with only references to "JiwaApplication" and "JiwaODBC". You app will run and login, however, number of plugins loaded likely to be 0.
If you add JiwaInventory/JiwaInventoryUI, you will see more plugins loaded after login (those referenced to JiwaInventory).

Personally I don't think this is a bug nor needs to be *fixed*. I'd prefer to add references as I need for each project rather than reference all Jiwa assemblies.
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15

Previous

Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 0 guests