poke4 won't accept my 32bit values

new topic     » topic index » view thread      » older message » newer message

Hi all,

   OK,let's see if i can try to explain this..

As you might know, I'm working on the wrapper lib for exotica. I've
encountered a major hurdle though.


With exotica, when one writes code for it, it is wrapped in a function 
and
passed to WinMain.. with my lib, I've managed to inline the code, 
removing
the need for WinMain. This works fine and dandy for most things...

Except when I try the 3d demos.. they require poking 32bit color values
directly  to memory.. when the code does not pass through WinMain, it
doesn't allow me to poke4 the values, resulting in incorrect colors..

I probably didn't get my point across, but PLEASE, if someone is willing 
to
help me, or knows something about the workings of exotica, or even my
exoticaX lib, PLEASE reply..

I can't post my code here as it is much too involved. The problem itself 
is
relatively straight forward though..

PLEASE, PLEASE,PLEASE HELP!!
I've been stuck on this for ages now..
I have made a workaround, but I don't like it..

TIA

Chris

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu