Pelles C > Add-ins

File2Obj Add-In

(1/1)

TimoVJL:
This File2Obj Add-In is based Hutch's idea to
make pe-coff-object from file.
Look:
http://smorgasbordet.com/phpBB2/viewtopic.php?t=1110&start=0

08.03.2006 bugfix.
01.05.2007 ifh.Machine = IMAGE_FILE_MACHINE_UNKNOWN

Gerome:
Hi,


--- Quote from: "timovjl" ---This File2Obj Add-In is based Hutch's idea to
make pe-coff-object from file.
Look:
http://smorgasbordet.com/phpBB2/viewtopic.php?t=1110&start=0
--- End quote ---


I've installed your plugin, tried to pick an obj file + another file + given a name, and clicked but seemed nothing appened...
But it created the obj file :)

Once this obj file was created and a name given, how can i exploit it into a project ?

Text file where i've put "Hello world"
Obj file : test.obj
Name given : hello

And then... ?
Can you give us a little sample please on how to finally use this obj into a practical world example ?

TimoVJL:
Example for Test.txt

In File2Obj dialog:

File: Test.txt
Obj:  Test.obj
Name: hello

Make obj.


--- Code: ---
// test_test.c
#include <stdio.h>
#include "test.h"

int main(int argc, char *argv[])
{
   printf("%s",&hello);
   return 0;
}

--- End code ---

Add test.obj to linkers 'Library and objects file:'

Navigation

[0] Message Index

Go to full version