Board.KolibriOS.org

Official KolibriOS board
It is currently Sat Nov 28, 2020 5:14 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 33 posts ]  Go to page Previous 1 2 3
Author Message
 Post subject: Re: PELoad
PostPosted: Fri May 08, 2020 1:17 am 
Offline
User avatar

Joined: Mon Apr 06, 2020 1:09 pm
Posts: 56
KWINE v0.0.3

into msvcrt.dll added:
- putchar
- strchr
- strrchr
- strcpy
- strncpy
- memset
- memcpy
- memcmp
- time
- mktime
- localtime
- difftime
- srand
- rand

new samples
- rnd_arr1.exe
- string2.exe

исходники на svn, релиз прикрепляю


Attachments:
kwine_v0.0.3_release.zip [26.47 KiB]
Downloaded 45 times

_________________
The best way to predict the future is to create it.
Top
   
 Post subject: Re: PELoad
PostPosted: Sat Oct 17, 2020 9:06 am 
Offline

Joined: Mon Sep 07, 2020 7:09 pm
Posts: 251
Sample 'test2.exe' is not working:
Code:
Not found function: scanf in msvcrt.dll

Windows version of TCC (I know about port TCC for KOS) isn't working too:
Code:
Error load library:

But it does not say which library is not loaded!
Also other samples are working

_________________
How to use different compilers in KolibriOS
Old doc
http://diamond.kolibrios.org/hll/hll.htm
New doc
https://maxcodehack.github.io/hll-kos/


Top
   
 Post subject: Re: PELoad
PostPosted: Sat Oct 17, 2020 2:24 pm 
Offline
User avatar

Joined: Mon Apr 06, 2020 1:09 pm
Posts: 56
maxcodehack wrote:
Sample 'test2.exe' is not working:
Code:
Not found function: scanf in msvcrt.dll


Yes, scanf is unimplemented, so it doesn't work
Quote:
Windows version of TCC (I know about port TCC for KOS) isn't working too:
Code:
Error load library:

Look at the import table of this exe, afair there are about hundred function from many dlls, kwine has only kernel32.dll and msvcrt.dll, for any different dlls it will give such error

_________________
The best way to predict the future is to create it.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 33 posts ]  Go to page Previous 1 2 3

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited