
Quote from emo on June 24, 2021, 7:02 pmThe code sample update required to create a DLL for the hpwDllCall plugin from PureBasic.
Rescued from:
https://archive.visualneo.com/viewtopic.php?t=14476
I leave the source code and the new pure.dll compiled to 32 bitsRegards
The code sample update required to create a DLL for the hpwDllCall plugin from PureBasic.
Rescued from:
https://archive.visualneo.com/viewtopic.php?t=14476
I leave the source code and the new pure.dll compiled to 32 bits
Regards
Uploaded files:

Quote from luishp on June 24, 2021, 7:09 pm@emmanuel-fernandez thanks a lot!
@emmanuel-fernandez thanks a lot!

Quote from emo on June 25, 2021, 12:54 pmOtro ejemplo, con una dll con más funciones que he incorporado, realmente se abre un mundo de posibilidades!
Otro ejemplo, con una dll con más funciones que he incorporado, realmente se abre un mundo de posibilidades!

Uploaded files:

Quote from emo on June 25, 2021, 6:16 pmAdding the possibility of passing several parameters in the only variable that hpwdllcall uses ... and doing a split in purebasic to interpret them :)
Adding the possibility of passing several parameters in the only variable that hpwdllcall uses ... and doing a split in purebasic to interpret them :)


Quote from HPW on June 25, 2021, 7:05 pmHello,
You seems to have some fun with one of my oldest (11.2002) plugins! ;-)
Regards
Hans-Peter
Hello,
You seems to have some fun with one of my oldest (11.2002) plugins! ;-)
Regards
Hans-Peter

Quote from emo on June 25, 2021, 7:37 pmQuote from HPW on June 25, 2021, 7:05 pmHello,
You seems to have some fun with one of my oldest (11.2002) plugins! ;-)
Regards
Hans-Peter
Hi! nice to meet the author of the plugin! I'm also a bit older haha and I love to play with these things again, I was also a user of neobook in its first version. A pleasure to meet us ;-)
Quote from HPW on June 25, 2021, 7:05 pmHello,
You seems to have some fun with one of my oldest (11.2002) plugins! ;-)
Regards
Hans-Peter
Hi! nice to meet the author of the plugin! I'm also a bit older haha and I love to play with these things again, I was also a user of neobook in its first version. A pleasure to meet us ;-)

Quote from emo on June 26, 2021, 5:18 pmOpening a window with the calendar widget built into the DLL, opening with the hpwDllCall pluging and detecting the window closure and the selected day :-)
Opening a window with the calendar widget built into the DLL, opening with the hpwDllCall pluging and detecting the window closure and the selected day :-)


Quote from emo on June 27, 2021, 2:21 amOpening Edge webview2 in a window through hpwDLLcall that calls a DLL created from PureBasic that incorporates Webview2.
Opening Edge webview2 in a window through hpwDLLcall that calls a DLL created from PureBasic that incorporates Webview2.


Quote from emo on June 27, 2021, 11:10 amI leave the project with the dlls in case someone wants to try and play with it. You need to install the hpwDllCall plugin, and install the microsoft runtime. All the best ;-)
I leave the project with the dlls in case someone wants to try and play with it. You need to install the hpwDllCall plugin, and install the microsoft runtime. All the best ;-)
Uploaded files:
Quote from emo on June 27, 2021, 11:31 amIf someone has knowledge to do the visualneowin sdk for Purebasic then it would be possible to incorporate all this in a plugin, I have tried it but without result. hugs
If someone has knowledge to do the visualneowin sdk for Purebasic then it would be possible to incorporate all this in a plugin, I have tried it but without result. hugs

Quote from HPW on June 27, 2021, 8:22 pmHello Emmanuel,
I take look at your hpwDLLCall_Emo.zip. Works as expected.
But a interested purebasic user would like to see the purebasc source to learn from.
Regards
Hans-Peter
Hello Emmanuel,
I take look at your hpwDLLCall_Emo.zip. Works as expected.
But a interested purebasic user would like to see the purebasc source to learn from.
Regards
Hans-Peter

Quote from emo on June 28, 2021, 2:33 pmQuote from HPW on June 27, 2021, 8:22 pmHello Emmanuel,
I take look at your hpwDLLCall_Emo.zip. Works as expected.
But a interested purebasic user would like to see the purebasc source to learn from.
Regards
Hans-Peter
Hello Hans-Peter,
I have seen that a dll can be included when you generate a plugin for VisualNeowin, so I consider it possible to make a plugin that includes, for example, the emo.dll library and make calls to that library from the plugin itself that I am going to generate from delphi and transfer the results to a variable or to the rectangle itself, right? The new webview2 could also be displayed, I suppose ...
Quote from HPW on June 27, 2021, 8:22 pmHello Emmanuel,
I take look at your hpwDLLCall_Emo.zip. Works as expected.
But a interested purebasic user would like to see the purebasc source to learn from.
Regards
Hans-Peter
Hello Hans-Peter,
I have seen that a dll can be included when you generate a plugin for VisualNeowin, so I consider it possible to make a plugin that includes, for example, the emo.dll library and make calls to that library from the plugin itself that I am going to generate from delphi and transfer the results to a variable or to the rectangle itself, right? The new webview2 could also be displayed, I suppose ...

Quote from HPW on June 28, 2021, 6:00 pmHello,
Yes, that should be possible. I do similar things with my newlisp.dll but I let the user or installer do the job of providing the dll.
The plugin is the bridge between the 2 worlds.
Transfering string-data is one thing, but attaching graphical objects to rectangle is another.
You might need to do resizing to fit the rectangle. And you have to react on messages about resizing after creation.
Not sure how this work between 2 different programming enviroments.
Regards
Hans-Peter
Hello,
Yes, that should be possible. I do similar things with my newlisp.dll but I let the user or installer do the job of providing the dll.
The plugin is the bridge between the 2 worlds.
Transfering string-data is one thing, but attaching graphical objects to rectangle is another.
You might need to do resizing to fit the rectangle. And you have to react on messages about resizing after creation.
Not sure how this work between 2 different programming enviroments.
Regards
Hans-Peter


Quote from DaviddeArgentina on June 28, 2021, 8:12 pmHi @emmanuel-fernandez,
Nice work!
If you are interested on bind NeoWin + other dialects, feel free to check NeoThinBasic enviroment.
I could send you the source develop and my experience.
the link is:
https://archive.visualneo.com/viewforum.php?f=34
Greetings from Buenos Aires,
David de Argentina
Nice work!
If you are interested on bind NeoWin + other dialects, feel free to check NeoThinBasic enviroment.
I could send you the source develop and my experience.
the link is:
https://archive.visualneo.com/viewforum.php?f=34
Greetings from Buenos Aires,
David de Argentina

Quote from emo on June 28, 2021, 9:16 pmQuote from DaviddeArgentina on June 28, 2021, 8:12 pmHi @emmanuel-fernandez,
Nice work!
If you are interested on bind NeoWin + other dialects, feel free to check NeoThinBasic enviroment.
I could send you the source develop and my experience.
the link is:
https://archive.visualneo.com/viewforum.php?f=34
Greetings from Buenos Aires,
David de Argentina
Hola David de Argentina , gracias a ti ;-)
Que buenos recuerdos tengo de cuando estuve allí.
Muchisimas gracias por la información, lo miraré.
La versión 1.06 que hay en el link funciona actualmente?
Un abrazo muy grande!
Quote from DaviddeArgentina on June 28, 2021, 8:12 pmNice work!
If you are interested on bind NeoWin + other dialects, feel free to check NeoThinBasic enviroment.
I could send you the source develop and my experience.
the link is:
https://archive.visualneo.com/viewforum.php?f=34
Greetings from Buenos Aires,
David de Argentina
Hola David de Argentina , gracias a ti ;-)
Que buenos recuerdos tengo de cuando estuve allí.
Muchisimas gracias por la información, lo miraré.
La versión 1.06 que hay en el link funciona actualmente?
Un abrazo muy grande!

Quote from DaviddeArgentina on June 29, 2021, 1:01 amHola @emmanuel-fernandez,
Celebro los buenos recuerdos,
Ambos enlaces funcionan bien.
Deberias descargar el paquete completo, porque el otro solo tiene el nbp, y si no tienes experiencia, no vas a avanzar mucho.
Saludos nuevamente.
David de Argentina
Hola @emmanuel-fernandez,
Celebro los buenos recuerdos,
Ambos enlaces funcionan bien.
Deberias descargar el paquete completo, porque el otro solo tiene el nbp, y si no tienes experiencia, no vas a avanzar mucho.
Saludos nuevamente.
David de Argentina

Quote from emo on June 29, 2021, 10:37 amThe new experiment was to be able to include a custom dll in a VisualNeo plugin, and succeeded!
The EmoCipher plugin uses this technique.
In delphi, it is as simple as including a function with the library and adding in the actions of the plugin that includes the library:
{your plugin functions} FUNCTION cifrado_md5( parametro: PChar): FT_Result;stdcall; external 'emo_cipher.dll'; . . { Next, if necessary, tell NeoBook what extra files are required for your plug-in.} nbAddFile( 'c:\path\somefile.xyz', TRUE );Regards.
The new experiment was to be able to include a custom dll in a VisualNeo plugin, and succeeded!
The EmoCipher plugin uses this technique.
In delphi, it is as simple as including a function with the library and adding in the actions of the plugin that includes the library:
{your plugin functions}
FUNCTION cifrado_md5( parametro: PChar): FT_Result;stdcall; external 'emo_cipher.dll';
.
.
{ Next, if necessary, tell NeoBook what extra files are required for your plug-in.}
nbAddFile( 'c:\path\somefile.xyz', TRUE );
Regards.
Quote from Danijele Brecevic on July 20, 2022, 6:50 amQuote from emo on June 29, 2021, 10:37 amThe new experiment was to be able to include a custom dll in a VisualNeo plugin, and succeeded!
The EmoCipher plugin uses this technique.
In delphi, it is as simple as including a function with the library and adding in the actions of the plugin that includes the library:
{your plugin functions}FUNCTION cifrado_md5( parametro: PChar): FT_Result;stdcall; external 'emo_cipher.dll';..{ Next, if necessary, tell NeoBook what extra files are required for your plug-in.}nbAddFile( 'c:\path\somefile.xyz', TRUE );{your plugin functions} FUNCTION cifrado_md5( parametro: PChar): FT_Result;stdcall; external 'emo_cipher.dll'; . . { Next, if necessary, tell NeoBook what extra files are required for your plug-in.} nbAddFile( 'c:\path\somefile.xyz', TRUE );{your plugin functions} FUNCTION cifrado_md5( parametro: PChar): FT_Result;stdcall; external 'emo_cipher.dll'; . . { Next, if necessary, tell NeoBook what extra files are required for your plug-in.} nbAddFile( 'c:\path\somefile.xyz', TRUE );Regards.
Hi, good work ;)
I want to ask you it if possible to send me the source code of delphi for this project because im not so good and still learning(maybe be best all files to see how you implement all of this)
I really want to itegrate some my dll in this way for VisualNeo win.
Thnaks
Quote from emo on June 29, 2021, 10:37 amThe new experiment was to be able to include a custom dll in a VisualNeo plugin, and succeeded!
The EmoCipher plugin uses this technique.
In delphi, it is as simple as including a function with the library and adding in the actions of the plugin that includes the library:
{your plugin functions}FUNCTION cifrado_md5( parametro: PChar): FT_Result;stdcall; external 'emo_cipher.dll';..{ Next, if necessary, tell NeoBook what extra files are required for your plug-in.}nbAddFile( 'c:\path\somefile.xyz', TRUE );{your plugin functions} FUNCTION cifrado_md5( parametro: PChar): FT_Result;stdcall; external 'emo_cipher.dll'; . . { Next, if necessary, tell NeoBook what extra files are required for your plug-in.} nbAddFile( 'c:\path\somefile.xyz', TRUE );{your plugin functions} FUNCTION cifrado_md5( parametro: PChar): FT_Result;stdcall; external 'emo_cipher.dll'; . . { Next, if necessary, tell NeoBook what extra files are required for your plug-in.} nbAddFile( 'c:\path\somefile.xyz', TRUE );Regards.
Hi, good work ;)
I want to ask you it if possible to send me the source code of delphi for this project because im not so good and still learning(maybe be best all files to see how you implement all of this)
I really want to itegrate some my dll in this way for VisualNeo win.
Thnaks

Quote from Vadim on July 20, 2022, 7:04 am@emmanuel-fernandez
@danijele-brecevic
Good afternoon! I added the nickname of the author of the plugin, so that he gets a message about the mention and can find this topic.
Good afternoon! I added the nickname of the author of the plugin, so that he gets a message about the mention and can find this topic.