Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 16 Aug 2010
Offline Last Active Oct 17 2014 02:38 PM

Topics I've Started

Displaying an ActiveX component using C99

17 October 2014 - 02:11 PM

I have made a graphics engine that is an MFC ActiveX component and a programming language that is compiling to C99.
Now I want to make a wrapper that allow displaying my graphics engine in full screen to make it easy to create games in the language.

Is there any alternative to the MFC framework that can safely load ActiveX components in C99?

I am not allowed to use any static C library for calling the dynamic library since that would make my language difficult to use. I tried using the LoadModule function from the Windows API once but I could not know if it worked without a way to display it.

DirectX without compiler dependent linking

31 January 2014 - 02:27 PM

Is it possible to use DirectX from C without any linking of static libraries so that the user can easily re-compile generated code from a single source file with any C compiler?

Co-located or non-intrusive spelling suggestions. (Usability survey)

21 January 2014 - 10:03 AM

I am implementing spelling suggestions in my integrated programming environment and need to know how people prefer to have them presented visually.


* Co-located spelling suggestions can cause problems when trying to select text behind the drop down list.

* Having the suggestions on the side of the text editor can be less intrusive but can make you loose focus on your code.


Alternative to SDL to use with TCC

01 January 2014 - 06:48 AM

I am making a programming langauge that use the "Tiny C Compiler" as one of the backends and I try to find a suitable media layer for games.

I tried using "Simple Direct media Layer 2.0.1" because it was written in C and use the zlib license but it's redefinition of Main made it incompatible with TCC. The version specific workaround looks like a mess that no user of my language would accept. The resulting C code must be directly compatible with almost any C compiler without modifications so that beginners can recompile it.

Return reference from assignment

19 June 2013 - 06:03 AM

How can I assign a value to a variable and return a pointer to the variable that was assigned to within the same expression in C99?


This is how it is done in 2 statements but nesting will make it look like pseudo assembler because I need garbage collection for lists:

int T;
T = 5 + 5;