Hello,
I'm using winebuild to make my winegui and it works perfectly. But I'm trying to use the "wine_init" function (from ./libs/wine/loader.c) instead of wine loader. I'm trying to make a new wine loader but it doesn't work. It starts correctly (I can see with the --debugmsg +all) but after, I have an "Illegal instruction" error somewhere in PROCCESS_init.
this is my new loader (bridge.c) :
int main( int argc, char *argv[] ) { char error[1024]; wine_init( argc, argv, error, 1024); return 1; }
This is the original cmd line and the new cmd line: 1)wine --dll ole32=b libbridge.so 2)bridge --dll ole32=b libbridge.so
Is it possible to make its own wine loader?
Olivier
------------------ www.programmers.ch
On August 25, 2003 04:12 pm, Evalet Olivier wrote:
I'm using winebuild to make my winegui and it works perfectly. But I'm trying to use the "wine_init" function (from ./libs/wine/loader.c) instead of wine loader.
Why are you trying something like this. Keep in mind that Wine is rather tricky, and if you want to do things in non-standard way, I'm afraid you are on your own.
thank you for advises,
I'm trying to do something like java. You can use the java loader or build your own loader from the java runtime API. With this, you can load your application and other stuffs in the same process.
But also, I do that to understand - by the source - the wine environnement.
Olivier
Le mar 26/08/2003 à 06:27, Dimitrie O. Paun a écrit :
On August 25, 2003 04:12 pm, Evalet Olivier wrote:
I'm using winebuild to make my winegui and it works perfectly. But I'm trying to use the "wine_init" function (from ./libs/wine/loader.c) instead of wine loader.
Why are you trying something like this. Keep in mind that Wine is rather tricky, and if you want to do things in non-standard way, I'm afraid you are on your own.
---------------- www.programmers.ch