Best regards,
Sergei.
P.S. The forum blocks from attaching files. AN alternative link is:
четверг, 21 февраля 2019 г., 5:17:00 UTC+3 пользователь rjuli...@gmail.com написал:
Hi Julian,I very much appreciate your response because I was afraid no one would answer my question.I tried to fulfill your recommendations, both with original application and with a new test one, but still get an error:
Procedure entry point EsGetUPtr not found in dynamic link library D:\Working\Smalltalk Projects\Test\exe\Test.exe (translated by me).I attach a source and exe files of TestApp. Can you take a look at this example ant say where my mistake is?Best regards,
Sergei.
P.S. The forum blocks from attaching files. AN alternative link is: www.univerge.ru/files/Test.zip
Hello, Sergei.I think the answer is actually quite simple.There is a certain set of required runtime files for any packaged image.And at least in the folder you sent, not all of the runtime files are there.
When I try to run your EXE, I get the message that the procedure can not be found in DLLESVM40.DLL.....this is telling you that the DLL named esvm40.dll must also be included in yourruntime folder. You can copy this file from the VASmalltalk installation folder.
I know there will be other files you need as well, but that list will depend on your application(for my application, there are something like 80 required files.
I saw your message that you are not currently a customer...I am not sure what the rules areon releasing runtime images, if you are not a customer. Certainly, there are some files you willhave no access to, and so at best, your runtime will include pop-ups indicating the Trial status.Which of course is only fair...given you get to play with the development environment for free.
But if you are just trying it all out, you may just need to copy files from the installation folder(also look in the nls folder...and I think there are a couple files from the bitmaps folder).So...I think yo umay well have done everything right....you just need the correct list of supportingfiles for your OS.I hope that is helpful...
Greetings Sergei,I just wanted to provide an additional route to using VA Smalltalk that you might not be aware of.We're happy to provide a trial license so folks can evaluate what they get before purchasing the product.It offers a 45-day window from which the user can evaluate the usage of our product for commercial purposes.
What you might think about doing is applying for one of our open-source licenses.While you can not use this license for commercial purposes, it gives you a way to use our product for open-source projects.In return, we ask that you commit to an open-source project. Preferably for VA Smalltalk (http://vastgoodies.com/) but we're opento others.
OK....different error message...but the first part if the message is identical (I didn't put the name of the entry pointin my message, because it was the same...only the name of the DLL was different).Now, I am not sure why the message you see would say the procedure could not be found in your EXE.....it will never bein an EXE...it is a procedure in a DLL.
When I copy your EXE and ICX files into my own runtime directory (I then use my own INI file, renamed to TEST.INI, tomake sure it is right for my own paths), the program starts up.But I do get a runtime error message saying UndefinedObject does not understand new.Your runtimeStartUp method says Test new open.....so that suggests the Test class was not included.And sure enough, when I look in the classes.es file (which describes what happened to all of the classes),the Test class is marked as "excluded".This will happen if a class is unreferenced, or if the Application containing that class has not been markedas a prerequisite of the top level Application (the one you packaged).Now, I realize you have only 1 Application, and you are referencing Test in your runtimeStartUp method...I only mention it, in case it sparks any other thoughts.I am not able to do much more, as I no longer have access to a 9.0 image...I have upgraded to the latest.You might try making a simple visual part, instead of the Test class....something like TestView.This will also give you some exposure to the GUI builder.Then change your runtimeStartUp to open that, instead of your current Test class.From what I can see, though, you have the right idea with your runtimeStartUp, which was what I offered to helpwith originally.
I still think there is something missing with the support files, or your INI file has something incorrect in it(sorry I cannot help with that one....your paths would definitely be different than mine).
Beyond that, I'm afraid I do not know what else to say....If I think of anything else, though, I'll pass it along.I hope you are able to get it working...
Regards,JulianSergei
Greetings Sergei,