Re: something to do
- From: Evenbit <nbaker2328@xxxxxxxxxxx>
- Date: Tue, 07 Aug 2007 12:11:46 -0700
On Aug 7, 11:23 am, "¬a\\/b" <a...@xxx> wrote:
where do you think i have to do these questions?
my summer project is to write a new language using assembly and c++
-----------------------------------------------------------
i have the Borland C++Builder Personal edition
and now i have some question for that compiler in windows
xp environment; is it possible to find an answer?
Question 1
i have a name of one function of name "funame" in the file
"fileassembly.obj" that come from
nasmw -fobj fileassembly.asm
[i write something like the word "global funame" in the file .asm]
that name of function is seen from C++ compiler "bcc32" when i write
bcc32 file1.cpp fileassembly.obj
and all this seems ok (in windows console application)
now i would like to build a dll called file1.dll
bcc32 -tWD -v file1.cpp file.obj
what i have to do for make exportable "funame" from that dll?
it seems to write something like
void* __export funname(unsigned f);
in the file file1.cpp is not ok
i suspect there is something i have to write in the fileassembly.asm
[or in the obj file]
Writing DLLs is not complicated. Consult this:
http://webster.cs.ucr.edu/AsmTools/HLA/HLADoc/HTMLDoc/dll.html
---------------------------------------------
Question 2
is there some example of using the ide of Borland C++ compiler for
doing only .res files?
is it possible to
write winmain and control code for windows in nasm assembly with only
windows api
and doing compilation like
bcc32 -tW -v fileAssembly.obj filecpp.obj fileassembly.obj
file.res
Assuming that "filecpp" doesn't contain any winmain overhead, then
this should be possible.
[the last time i tried above line in a windows xp like user [not
administrator] my pc had a reboot :) ]
Is your computer low on memory and the HD almost full??
Nathan.
.
- Follow-Ups:
- Re: something to do
- From: ¬a\\/b
- Re: something to do
- References:
- something to do
- From: ¬a\\/b
- something to do
- Prev by Date: Re: NASM32 release
- Next by Date: Re: NASM32 2007-08-05
- Previous by thread: something to do
- Next by thread: Re: something to do
- Index(es):
Relevant Pages
|
|