Dear experts,
As my first pbni attempt, created pbni nvo pbadd as given in pbni example. The object was created using win32 option in Visual studio 2019. The object could be imported as pb extension and it displays the function f_add(). If we click on it, the error message "Error creating PBNI Object" displayed. On clicking OK of the messagebox, possible causes are listed as given in error image 2.
As given in the example, window w_add created and the object instance created and used. While running, the error message received. The screen shots have been uploaded. PB Version used 2021 build 1311 running on windows 11 os x64.
Not able to figure out what could be the issue. Can you please help me in this...
Thanks in advance, with regards.
ts maniam
Greetings. I have been through the Winsock pbni before and during my trials. Really appreciate your efforts and thanks. Even in the example trial, the pbadd, the constructor, destructor and invoke parts of the script were in pbadd.cpp, whereas in winsock.cpp the approach was different. They formed part of Dllmain.cpp. Those changes were also tried. The .pbx file gets generated in both cases.
waiting for your support.
Thanks and regards,
I wrote Winsock a long time ago and I have since changed my preferred file layout and coding style.
It doesn't really matter what files the parts are in, as long as the compiler is okay with it.