Re:JDB_InitEnv

  • Thread starter serge_viardot58
  • Start date

serge_viardot58

Member
Re:JDB_InitEnv

i already had the same trouble when i wrote a soft in C++, two questions =
:
Don't you make link to any Dll for debug ?
What's the environment you=
give to connect, it seems than some functions is not implemented on the =
demo version.
[email protected]

Tojdelistsubscribers@j=
delist.com

Cc

DateThu, 5 Feb 2004 15:07:07 -0600

SubjectJDB_Init=
Env



orm, however, if the user takes the visual assist from the environment fi=
eld the subsequent form displays and then throws a OW Error box saying:"B=
usiness function Library load failed - c:\B7\DEMO\Bin32\CTOOL.dll =3D _Ge=
tDetachedModeExecution@12" If I click OK the form continues to load and I=
have to click the same dialog several times. Once per each Enironment re=
cord that is loaded.I am calling this from a C# program. I am thinking th=
at there is a problem with a .Net program calling a non .Net program and =
subsequent loading of Dlls. I have looked and the ctool.dll does exist in=
the path that OW is looking. I have tried copying my .exe to the same di=
rectory as the dll with no luck.Any Ideas? Has anyone tried this with any=
.Net Language.I have a friend who wrote DAS (www.dominionsoftusa.com) an=
d he wrote a C layer that goes between OW and C# layer. I suppose I may h=
ave to do the same, but was hoping for a pu!
=
elist.com/ubb/showthreaded.php?Cat=3D&Board=3DOWDEV&Number=3D67427
=
g these messages, login to http://www.jdelist.com/forums, click Control P=
anel, then click Edit by "Subscribe / Unsubscribe from receiving board po=
sts by email, change message notifications, etc." and adjust your subscri=
ption preferences. JDEList is not affiliated with JDEdwards=AE


Serge=
Viardot
Ing=E9nieur de D=E9veloppement
Division Industrie
sviardot@ca=
pgemini.f
 
Re:JDB_InitEnv

I'm not sure about some of your questions. As far as the dlls, I have done a DllImport on jdekrnl.dll for the JDB_InitEnv (and several other JDB APIs). The Environment is DEMOB73. If I enter that into the Environment field on the login screen, then everything seems to be fine. I can do an InitUser, OpenTable, SelectAll, and Fetch fine. It is just if I go to the Available Enironement screen (either through visual assist or through just clicking on OK with no environement filled in).

I have tested this on a normal OW install and it does seem to be fine, so it may just be that this particular function is not built for DEMO jr. That is probably OK, but a little annoying. Also, the same thing doesn't occur when I am logining into DEMO jr after clicking on Solution Explorer or OExplorer.
 
Back
Top