Thank you for your help, this no work correctly.. so we have found an alternative with "overrides" in c++
Thank you guy :)
Search found 207 matches
- Aug 04, 2016 18:07
- Forum: DOS
- Topic: Strange "Undefined reference" name mangling ? HELP!!
- Replies: 3
- Views: 1581
- Jul 24, 2016 11:31
- Forum: DOS
- Topic: Strange "Undefined reference" name mangling ? HELP!!
- Replies: 3
- Views: 1581
Re: Strange "Undefined reference" name mangling ? HELP!!
Base problem was resolved with extern "C" { } or nm.exe -C MemoryModule.OBJ I've always the same problem, "undefined reference"... SO, I've another question : For my " EnterCriticalSection " function, I've found that in HX-Exterder library by Japthet, the name is "...
- Jul 24, 2016 10:52
- Forum: DOS
- Topic: Strange "Undefined reference" name mangling ? HELP!!
- Replies: 3
- Views: 1581
Strange "Undefined reference" name mangling ? HELP!!
Hi, This question is for is for experts I'll explain my 5 procedures, and after my question . 1) With my friend, we have coded an PE loader in C++ with GPP, and we can use this with FreeBasic for dos this work! :) And we want to execute simple Win32 console application , so I've used HX-Extender lib...
- May 03, 2016 19:47
- Forum: General
- Topic: String FreeBasic --> String C++14 --> PROBLEM
- Replies: 2
- Views: 529
String FreeBasic --> String C++14 --> PROBLEM
Hi, In my FreeBasic code, I use ZString ptr for getting char* from my c++ code. FreeBasic : Dim foo as ZString ptr foo = My_CPP_Function() print "foo=" & *foo C++: char *My_CPP_Function() { return (char*) "Hello!"; } This work! But I want solve some pointer problems in my pro...
- Apr 22, 2016 15:29
- Forum: General
- Topic: Convert uint PTR to FB.IMAGE
- Replies: 3
- Views: 644
Re: Convert uint PTR to FB.IMAGE
Perfect, this works!

Thank you very much !!! :)

Thank you very much !!! :)
- Apr 22, 2016 12:38
- Forum: General
- Topic: Convert uint PTR to FB.IMAGE
- Replies: 3
- Views: 644
Convert uint PTR to FB.IMAGE
Hello, I work on a C++ 3D engine for my Cpcdos OSx project with a friend, his engine need an big unsigned int pointer for put his 3D rendering, each pixels contents "0xAARRGGB" "0xAARRGGBB" "0xAARRGGBB" etc.... (Default image size : 800x600x32). So, if i give screen poi...
- Mar 08, 2016 20:16
- Forum: DOS
- Topic: Like mid Freebasic function for values
- Replies: 4
- Views: 1712
Re: Like mid Freebasic function for values
Oh perfect Print Hex(Asc(zData[0])) is the best solution for me! Now I use : Print " A:" & Hex(Asc(Data[0])) & "." Print " R:" & Hex(Asc(Data[1])) & "." Print " V:" & Hex(Asc(Data[2])) & "." Print " B:" &am...
- Mar 08, 2016 19:17
- Forum: DOS
- Topic: Like mid Freebasic function for values
- Replies: 4
- Views: 1712
Like mid Freebasic function for values
Hi, It's me again I would like to find a FreeBasic function in manual for optimise this : Print " A:" & hex(ASC(Mid(*Data, 1, 1)), 2) & "." Print " R:" & hex(ASC(Mid(*Data, 2, 1)), 2) & "." Print " G:" & hex(ASC(Mid(*Data, 3, 1)),...
- Mar 08, 2016 11:15
- Forum: DOS
- Topic: C to FreeBasic function
- Replies: 4
- Views: 2806
Re: C to FreeBasic function
@MzSwiss Yes, you have reason I've already encounter this problem with my previous project (PDS 7.1 16bits and gcc 4.7 32bits) but today I use GCC 5.1, it produces 32bits code (I use HXDPMI by Japhet) @fmx Thank you very much, the key word "export" approached me with the "cdecl" ...
- Mar 08, 2016 9:13
- Forum: DOS
- Topic: C to FreeBasic function
- Replies: 4
- Views: 2806
C to FreeBasic function
Hi, I would like to execute a FreeBasic function from my C code. (GCC 5.1 for dos --> C / C++) My C code produce a .A library that I use into my freebasic code. Example, FreeBasic code : Declare function abc(a as integer, b as integer) as integer function abc(a as integer, b as integer) as integer d...
- Mar 04, 2016 22:10
- Forum: DOS
- Topic: Refesh free memory problem
- Replies: 6
- Views: 1693
Re: Refesh free memory problem
Hi, Thank you for your replies, I don't know how fre() work, if I execute this code on a loop, the memory number indicated by fre() increases more in more @MrSwiss Sorry, please do not take account "Results = " I think that the best solution for calculate free ram space without use "t...
- Mar 02, 2016 8:50
- Forum: DOS
- Topic: Refesh free memory problem
- Replies: 6
- Views: 1693
Refesh free memory problem
Hi, I use this code : print "Bebore:" & fre(0) Results = MyInstance.MyCfunction(blabla) print "After:" & fre(0) MyCfunction: void MyCfunction(blabla){ int * value; value = malloc(123); // "123" Is an example free(value); printf("Finish!"); } Results : ...
- Jul 20, 2015 13:22
- Forum: General
- Topic: Freebasic 1.03 problems
- Replies: 33
- Views: 8027
Re: Freebasic 1.03 problems
"SourceForge developer pages are presently offline." :(
- Jul 15, 2015 15:55
- Forum: General
- Topic: Freebasic 1.03 problems
- Replies: 33
- Views: 8027
Re: Freebasic 1.03 problems
Hi,
thank you all for your answers
I've tested to include this 3 lines in my fb code, or change location, same problem :(
This little problem can be resolved for next version?
Thank you
thank you all for your answers
I've tested to include this 3 lines in my fb code, or change location, same problem :(
This little problem can be resolved for next version?
Thank you
- Jul 15, 2015 15:44
- Forum: DOS
- Topic: How to clear/set key in keyboard buffer ?
- Replies: 2
- Views: 2040
Re: How to clear/set key in keyboard buffer ?
Hello grindstone
Thank you for your reply ! :)
My buffer problem was resolved, it is my threading management that is bad (in another function)
Thank you
Thank you for your reply ! :)
My buffer problem was resolved, it is my threading management that is bad (in another function)
Thank you