passing parameters

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Stack

passing parameters

Post by Stack »

My kernel is coding in c++ and i have one func with this proptotype

      Print( char * a_szText );

This function call is made Like this :

      gs_pKern->Print( "Test" );

in the main entry point (the gs_pKern pointer kernel is valid ).
The function cannot print the string at screen .However a simple caracter in Print function like this :

   *VideoMemory++ = 'A';
   *VideoMemory++ = 0x47;

is good.

is a stack pb ???  

Thanks  
Post Reply