Lazarus
Programming => General => Topic started by: giahung1997 on May 25, 2019, 04:54:28 pm
-
How to? I know I would use the same procedure as flattening C++ to procedural styles C could understand. But give me an example. Tks.
-
Object pascal is much more powerful than C in that respect..
You would need lots of overhead functions created to simulate it..
-
To add to that, you would need a Struct to how all the variables and all functions related to that simulated class would
need a minimum parameter to pass the instance copy of the data to it.
all references to the struct members would be done via that Reference.
after do this, you can the use the same functions with many different instances..
etc
-
How to? I know I would use the same procedure as flattening C++ to procedural styles C could understand. But give me an example. Tks.
Can you give more information about your project, environment? What is your goal?
-
Example of what you tried and didn't work? It is hard explaining such complex issues with one line of text to go on.
-
Example of what you tried and didn't work? It is hard explaining such complex issues with one line of text to go on.
Oh. I found someone created a simple binding of LCL to plain C on Lazarus CCR and want to help. If it really that hard I should give up :)
-
Please show what you are trying to convert?