instead of from cpp files/Visual Studio. I'm still trying to figure this out, but progress has been very slow.
I can set the main entry point as a fasm COFF and link with cpp objs, but the AMD APP calls don't seem to execute properly. I can get valid results if I set the main entry point within the cpp objs, then call an asm COFF func that calls clGetPlatformIDs, but I can't switch the entry point completely. Windows API functions still work once switching over, but the AMD APP ones don't.
An example call that works only when the cpp files contain the executable entry point:
Haven't run a COFF as an executable entry point with non-WINAPI .lib's before, thought I was missing a step to get this to work, or thought it might not have been possible with this .lib (AMD's APP Platform). I was questioning everything and getting quite frustrated. Turned out to just be a case of a misaligned stack...
Sorry for the convoluted post, but getting this running was a huge relief!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum