Search:

Type: Posts; User: kcvinu

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    4

    IDispatch is not working inside a Type

    IDispatch is not working inside a Type


    Type tList
    pList As IDispatch '\\ It works if i put this outside the type block.
    Function _Create()
    Me.pList =...
  2. Replies
    2
    Views
    26

    @Eros I suspect CodePtr is the problem....

    @Eros

    I suspect CodePtr is the problem.
    Documentation says this.
    There are some IMPORTANT limitations:

    1. script function can have from zero to 4 BYVAL LONG or DWORD parameters

    2. script...
  3. Replies
    2
    Views
    26

    SetWindowSubclass is not working.

    Hi all,
    I am trying to subclass a button, But SetWindowSubclass is not working. The window starts and suddenly thinBasic.exe is stop working.
    Here is my function declarartions.


    Declare...
  4. Replies
    4
    Views
    71

    @ReneMiner, Thanks for the example code. It's ...

    @ReneMiner,
    Thanks for the example code. It's really helpful since the code is well commented. Let me study it. :)
  5. Replies
    4
    Views
    71

    @ErosOlmi, Thanks for the detaild reply. It...

    @ErosOlmi,
    Thanks for the detaild reply. It seems that pointers in thinbasic is pretty easy and straight forward. Before you posting the reply, I've managed to find a way with "At" keyword. Petr...
  6. Replies
    4
    Views
    71

    How to convert a pointer to an UDT ?

    Hi all,
    I store my UDT variable to a pointer with Varptr function. I then retrieve it with GetWindowLong function. So far so good. I got the same number here. But how do i convert this pointer (or...
  7. Replies
    10
    Views
    256

    @Eros Olmi Hi, How do i use the Window type in...

    @Eros Olmi
    Hi,
    How do i use the Window type in Wndproc function ? This is how i store my current Window type. This is working perfectly. No error.


    Dim PtrMe As Long = VarPtr(Me...
  8. Replies
    10
    Views
    256

    @ErosOlmi, Thanks for your help. I am glad that...

    @ErosOlmi,
    Thanks for your help. I am glad that you are following this thread and improving thinBasic. I tried your suggestions and this the scenario which worked for me.
    In the function...
  9. Replies
    10
    Views
    256

    @ReneMiner, Thanks for the detailed reply. I...

    @ReneMiner,
    Thanks for the detailed reply.
    I don't know life is full of obstacles in thinBasic. Here is my declaration of my CreateWindowEx.


    Declare Function CreateWindowEx Lib "User32.dll"...
  10. Replies
    10
    Views
    256

    @ReneMiner Suddenly it worked !!!. After losing...

    @ReneMiner
    Suddenly it worked !!!.
    After losing hope, I've decided to do some experiments with data types. So I started changing lpWindowName parameter. But my problem area was lpClassName's type....
  11. Replies
    10
    Views
    256

    @ReneMiner Thanks for the reply. But there is...

    @ReneMiner

    Thanks for the reply. But there is some include files are missing.
    1. "APPUTILS.INC"
    2. "APPPROPS.INC"

    If i get these files, i can try. This is the path of that script....
  12. Replies
    10
    Views
    256

    CreateWindowEx is resulting Zero.

    Hi all,
    I am trying to create a window with win32 functions. But CreateWindowEx is returning 0 . This is my code. Please check this and guide me.



    Uses "Console"

    Type tWNDCLASSEX
    cbSize...
  13. @ReneMiner, Thanks. MSDN changes links...

    @ReneMiner,
    Thanks. MSDN changes links frequently. MSDN links are often found in many different forums like C Board. Clicking on them will get you nowhere.
    Currently, I am struck with "IDC_ARROW...
  14. @Petr, Thanks for the reply. I am planning to...

    @Petr,
    Thanks for the reply. I am planning to create my own gui library in thinBasic.
    All i need is a complete list of data types for each win api data type. So far, i 've learned that i can use...
  15. How to display unicode string in ThinBasic controls

    Hi all,
    I am practicing some ui scripts. I can easily display unicode strings with MsgBoxW function. But I am not able to display unicode text in a Button created by this code.

    Control Add...
  16. Replies
    7
    Views
    748

    Hi, Thanks for the good words. Let me check the...

    Hi, Thanks for the good words. Let me check the link. May i can learn a lot from that project. Thanks for the link :)
  17. Replies
    7
    Views
    748

    @Petr, You're welcome. @John Spikowski, Is...

    @Petr,
    You're welcome.

    @John Spikowski,
    Is it ? I never tried it. In fact, i am making one with win api nim. There is guy named ward(forum name) made a huge library of win api wrapper. It's...
  18. Replies
    7
    Views
    748

    Since, Nim compiles to C, we can make sure that...

    Since, Nim compiles to C, we can make sure that our program will work as fast as C. Author of Nim says that Nim can create better C code than any human made C code. Some guys in Nim forum are...
  19. Replies
    7
    Views
    748

    About Nim (Formerly Nimrod)

    Hi all,
    I would like to share some interesting stuff about the Nim programming language.
    Nim compiles code to first C/C++/Obj-C/JS code and then use a C/C++/Obj-C/JS compiler to make executable. ...
  20. Thread: about RUST

    by kcvinu
    Replies
    23
    Views
    2,513

    @Petr Sure. :)

    @Petr
    Sure. :)
  21. Thread: about RUST

    by kcvinu
    Replies
    23
    Views
    2,513

    Hi all, What's your opinion about Nim ? Its also...

    Hi all,
    What's your opinion about Nim ? Its also a system programming language. Python like syntax with C like power and speed. And it is coming with GC also. I just tried it. Looks very nice to me.
  22. @Eros, Thanks. That will be very handy. Now,...

    @Eros,
    Thanks. That will be very handy. Now, thinBasic's AsciiZ is not displaying my native language correctly. I am ready to wait for a better thinBasic with complete unicode support. In the...
  23. @Eros, Thanks for the reply. I was planning to...

    @Eros,
    Thanks for the reply. I was planning to do some gui programming on thinBasic with CreateWindowEx and other related functions. But soon i realized that i need to study about the equivalent...
  24. How to use win api functions in thinBasic ?

    Hi all,
    I am playing with some win32 api functions. I would like to know how to do it in thinBasic. Is there any tutorials or dedicated posts related to it ? I want to know how to handle data types...
  25. @Eros, Thank you :) Let me try.

    @Eros,
    Thank you :)
    Let me try.
Results 1 to 25 of 96
Page 1 of 4 1 2 3 4