Re: Workaround Euphoria To C Translator 4.0.0

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

PART #3

summing-up
------------------------------------

a.) change if (Reason == 1) to if (Reason == 2) 
b.) put an _export before LibMain(...)  
c.) call NOT "main" call directly "LibMain"  
    in our case _LibMain@12  

that's it

you can also cleanup your DTX_JTestC.lnk 
at the end of the file delete EXPORT main='_1main@0' 
you can not call '_1main@0' via 'main' 
this will terminate your calling program 
 
 
  
DTX_JTestC.lnk 
--------------------------------------  
FILE init-.obj 
.... 
FILE DTX_JTestC.obj 
FILE main-.obj 
FILE ming.obj 
FILE dll.obj 
FILE misc.obj 
FILE machine.obj 
FILE get.obj 
NAME DTX_JTestC.dll 
.... 
EXPORT main='_1main@0' 
 

moskito_x

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

Search



Quick Links

User menu

Not signed in.

Misc Menu