Results 1 to 9 of 9

Thread: thinBasic interface under CGG C/C++ language

  1. #1

    thinBasic interface under CGG C/C++ language

    thinBasic allows GCC C/C++ programmers to develop their own thinBasic modules. Modules are special dll that are loaded dynamically by thinBasic engine during scripts execution. Modules can be used to implement new thinBasic functionalities adding new keywords to the language or interfacing external programs.
    We provide static thinC.a library.

    Plase find here attached interface file with a simple module example, for GCC compiler (a Dev-C++ project is enclose).

    Feel free to ask here in case of any question on module development.

    Regards
    Roberto
    Attached Files Attached Files
    http://www.thinbasic.com

  2. #2
    Member matthew's Avatar
    Join Date
    Mar 2007
    Location
    England
    Age
    47
    Posts
    489
    Rep Power
    66

    Re: thinBasic interface under CGG C/C++ language

    I don't know if anyone is interested but I've created a Code::Blocks project.

    So now people can create thinBasic modules using MinGW & the Code::Blocks IDE.
    Attached Files Attached Files
    Operating System: Windows 10 Home 64-bit
    CPU: Intel Celeron N4000 CPU @ 1.10GHz
    Memory: 4.00GB RAM
    Graphics: Intel UHD Graphics 600

  3. #3
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405

    Re: thinBasic interface under CGG C/C++ language

    Thanks Matthew, I like code blocks, currently playing with Visual Studio... but code blocks for many things is quicker as I can drag my code blocks folder to any other computer and am set to carry on, so the portability is really awesome. I know I will use this in future so thanks a lot!
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  4. #4
    Member matthew's Avatar
    Join Date
    Mar 2007
    Location
    England
    Age
    47
    Posts
    489
    Rep Power
    66

    Re: thinBasic interface under CGG C/C++ language

    Thanks kent, a few months ago I downloaded the entire Visual Studio 2008 Express & the MSDN Help Documentation.

    It took me about 5 hours to download everything & write it all to 2 DVDs.
    Operating System: Windows 10 Home 64-bit
    CPU: Intel Celeron N4000 CPU @ 1.10GHz
    Memory: 4.00GB RAM
    Graphics: Intel UHD Graphics 600

  5. #5
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: thinBasic interface under CGG C/C++ language

    Quote Originally Posted by matthew
    I don't know if anyone is interested but I've created a Code::Blocks project.

    So now people can create thinBasic modules using MinGW & the Code::Blocks IDE.
    That's cool and will be handy one day.

  6. #6
    Senior Member Lionheart008's Avatar
    Join Date
    Sep 2008
    Location
    Germany, Bad Sooden-Allendorf
    Age
    52
    Posts
    944
    Rep Power
    111

    Re: thinBasic interface under CGG C/C++ language

    hi roberto, matthew, kent, michael

    good morning and YES, I would like to know how to create such a thinbasic module...

    Plase find here attached interface file with a simple module example, for GCC compiler (a Dev-C++ project is enclose).

    Feel free to ask here in case of any question on module development.
    1) I have downloaded dev c++ last night and ask myself it's possible to do it all with dev-c++ ???

    2) and what I need it for to create *.dll, headers, libraries, exe file and much more... or a link could help... how to build an own thinbasic (I can do it all with dev-c++?) module or so I can understood the basic structure behind it...

    I don't know if anyone is interested but I've created a Code::Blocks project.

    So now people can create thinBasic modules using MinGW & the Code::Blocks IDE.
    I have tried to use robertos and matthew examples... (copied code blocks too) they are working, but how to build such things??? more questions I will take here... sorry, I am sure

    best regards, Lionheart

    ps: I cannot install Visual Studio 2008 Express, my old notebook troubled to do that... ;(
    I use Visual C++ 2005 express edition...
    you can't always get what you want, but if you try sometimes you might find, you get what you need

  7. #7
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: thinBasic interface under CGG C/C++ language

    Hi Franck,

    I find it difficult to identify what your problems actually are.

    Quote Originally Posted by Lionheart008

    1) I have downloaded dev c++ last night and ask myself it's possible to do it all with dev-c++ ???
    Doing what? What do you want to create with dev-c++? Creating a module is definately possible as you can see from the sample that was included.


    2) and what I need it for to create *.dll, headers, libraries, exe file and much more... or a link could help... how to build an own thinbasic (I can do it all with dev-c++?) module or so I can understood the basic structure behind it...
    Everything is there. The thinCore include file needs to be updated but for sure it is usefull. What oyu need extra? A code editor (Notepad copuld serve your needs) and of course knowledge of C++ in general, Dev-C++ to use the compiler and maybe knowledge about what you want to actually create.
    Are you familiar with C++ files and there structure?


    I have tried to use robertos and matthew examples... (copied code blocks too) they are working, but how to build such things??? more questions I will take here... sorry, I am sure
    Do you mean by how to build the actually compiling process or how the C++ sources are structured and what needs to be in it, to become a thinBasic module DLL?


    ps: I cannot install Visual Studio 2008 Express, my old notebook troubled to do that... ;(
    I use Visual C++ 2005 express edition...
    This topic is about Dev C++, Code-Blocks. Visual C++ is a different thing and if you try to use the files posted with your Visual C++ then you have to rebuild the project on yourself. You also maybe need to change the sources.

  8. #8
    Senior Member Lionheart008's Avatar
    Join Date
    Sep 2008
    Location
    Germany, Bad Sooden-Allendorf
    Age
    52
    Posts
    944
    Rep Power
    111

    Re: thinBasic interface under CGG C/C++ language

    hi michael

    short answer: first of all, thank you for prompted reply... yes, I see it's much more than coding some lines and I have to understand how to works it all together to build new module or using code block or dev-c++, I was silly enough to think it's much easier...

    Creating a module is definately possible as you can see from the sample that was included.
    I have loaded the example of matthew and roberto, but it's another thing to expand it or making new input... therefore my knowledge isn't high enough, I see it but I am eager to learn it... but one step after another... it's better to check other c++ scripts... I give this project (own thinbasic module) to a later date for my personal release...

    ciao, best wishes, Lionheart, have a nice day, it's always raining here and I have two days holidays... malheuresment
    you can't always get what you want, but if you try sometimes you might find, you get what you need

  9. #9
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: thinBasic interface under CGG C/C++ language

    So if C++ is the problem then I suggest that you either use PowerBasic or FreeBasic.

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •