Search found 14 matches

by JoeC4281
Thu Oct 14, 2021 12:25 pm
Forum: General Discussion
Topic: Tablacus Script Control x64
Replies: 1
Views: 1171

Tablacus Script Control x64

I did a search of the forums, but could not find any reference to the 64-bit Tablacus Script Control. I've used this with other x64 code, but not with PureBasic. It's a drop-in replacement for the Microsoft Script Control, which was 32-bit only. While I do not have a need to use the 64-bit Tablacus ...
by JoeC4281
Fri Oct 08, 2021 4:05 pm
Forum: Coding Questions
Topic: Error when using TakeCmd.lib
Replies: 1
Views: 404

Re: Error when using TakeCmd.lib

Well, apparently TakeCmd.dll needs to be initialized in a way that only tcmd.exe and tcc.exe know how to do. https://jpsoft.com/forums/threads/takecmd-lib.11020/post-62096 Thus, TakeCmd.dll will not work with any program designed for use as a stand-alone .EXE, and will only work within a Plugin .DLL...
by JoeC4281
Fri Oct 08, 2021 2:26 pm
Forum: Coding Questions
Topic: Error when using TakeCmd.lib
Replies: 1
Views: 404

Error when using TakeCmd.lib

I started using PureBasic in early August of this year. I have successfully created my first 64-bit Plugin DLL for Take Command Console using PureBasic. https://jpsoft.com/forums/threads/64-bit-plugin-development-using-purebasic.10988/post-62092 I'm now trying to incorporate the TakeCmd.lib into Pur...
by JoeC4281
Sun Sep 05, 2021 4:41 pm
Forum: Tricks 'n' Tips
Topic: Low-Level Reading of a dBASE .dbf
Replies: 2
Views: 1315

Low-Level Reading of a dBASE .dbf

When I purchased PureBasic back in early August of 2021, my purpose was to convert my 32-bit PowerBasic for Windows 8.0 programs and dlls to 64-bit PureBasic. With the assistance of this forum, I have been able to create my first 64-bit plugin for JPSoftware's Take Command Console. The next thing I ...
by JoeC4281
Sun Aug 29, 2021 2:10 pm
Forum: Coding Questions
Topic: Plugin For Take Command Console
Replies: 8
Views: 922

Re: Plugin For Take Command Console

Posting this mainly for my future reference, but thought others might be interested. As wprintf cannot be redirected, I used; https://www.purebasic.fr/english/viewtopic.php?f=4&t=67329&p=573061&hilit=getstdhandle#p573061 ...as a reference to add the WinAPI GetStdHandle and WriteFile to m...
by JoeC4281
Fri Aug 27, 2021 5:28 pm
Forum: Coding Questions
Topic: Plugin For Take Command Console
Replies: 8
Views: 922

Re: Plugin For Take Command Console

Mijikai wrote: Fri Aug 27, 2021 4:05 pm
JoeC4281 wrote: Fri Aug 27, 2021 3:32 pm
I've posted the working source code for the plugin on the JPSoftware Forums;
https://jpsoft.com/forums/threads/64-bi ... post-61866

Thanks to you, others can now create 64-bit plugins for TCC using PureBasic.

Regards,

Joe
by JoeC4281
Fri Aug 27, 2021 4:59 pm
Forum: Coding Questions
Topic: Plugin For Take Command Console
Replies: 8
Views: 922

Re: Plugin For Take Command Console

Thankyou again! Here's the working code for a TCC Plugin; EnableExplicit Import "" wprintf.i(format.s) EndImport Structure PLUGININFO_STRUCT *pszDll *pszAuthor *pszEmail *pszWWW *pszDescription *pszFunctions nMajor.l nMinor.l nBuild.l hModule.i *pszModule EndStructure ProcedureDLL.i Initi...
by JoeC4281
Fri Aug 27, 2021 3:32 pm
Forum: Coding Questions
Topic: Plugin For Take Command Console
Replies: 8
Views: 922

Re: Plugin For Take Command Console

Maybe this works: Many Thanks! Your changes have helped me to learn more about PureBasic. I am now able to load the plugin, display information about the plugin, and unload the plugin. ****************************************** PureBasic 5.73 LTS (Windows - x64) ************************************...
by JoeC4281
Fri Aug 27, 2021 12:48 pm
Forum: Coding Questions
Topic: Plugin For Take Command Console
Replies: 8
Views: 922

Re: Plugin For Take Command Console

Yes, thankyou, I tried your code, but it also did not work. TCC expects a pointer to a Unicode String. Here is an example from plugin.cpp ( https://github.com/JoeC4281/PureBasicTCCPlugin/blob/main/plugin.cpp ); // this is a variable function called from TCC; it reverses the string argument DLLExpor...
by JoeC4281
Fri Aug 27, 2021 1:50 am
Forum: Coding Questions
Topic: Plugin For Take Command Console
Replies: 8
Views: 922

Plugin For Take Command Console

This is a continuation of the thread https://www.purebasic.fr/english/viewtopic.php?f=7&t=77724 Objective: Create a template, using PureBasic, for a Take Command Console plugin. As I am not interested in utilizing Take Command internals via a plugin at this time, I do not need; #include "Ta...
by JoeC4281
Fri Aug 13, 2021 1:26 pm
Forum: Bugs - Documentation
Topic: Invalid URL in manual (pdf)
Replies: 2
Views: 3262

Re: Invalid URL in manual (pdf)

When I have a URL that no longer exists, I first check to see if it is available via the WayBackMachine.

The most recent link cited does exist via the WayBackMachine at;

https://web.archive.org/web/20210214010 ... ?id=15656#

Joe
by JoeC4281
Sat Aug 07, 2021 1:56 pm
Forum: General Discussion
Topic: Plugin for TakeCommand Console
Replies: 3
Views: 1884

Re: Plugin for TakeCommand Console

Here is the development path I took when first creating a plugin for TCC using PowerBasic, back in 2010; https://jpsoft.com/forums/threads/writing-a-plugin-with-powerbasic.2485/#post-13270 I have found a post from 2014 on the PureBasic Forum, which includes a "From PowerBasic to PureBasic Refer...
by JoeC4281
Sat Aug 07, 2021 1:58 am
Forum: General Discussion
Topic: Plugin for TakeCommand Console
Replies: 3
Views: 1884

Re: Plugin for TakeCommand Console

Thankyou for that!

I will work with it, and see what I can do.

Joe
by JoeC4281
Fri Aug 06, 2021 5:05 pm
Forum: General Discussion
Topic: Plugin for TakeCommand Console
Replies: 3
Views: 1884

Plugin for TakeCommand Console

I am a daily user of https://jpsoft.com/ 's TakeCommand Console. Many years ago, TCC was available as both a 32-bit and 64-bit Windows application. Several years ago, TCC became a 64-bit only Windows application. I wrote several TCC Plugins using the 32-bit PowerBasic Compiler, which I used with the...