OWLNext
7.0
Borland's Object Windows Library for the modern age
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
_
b
c
d
h
i
j
m
o
p
r
s
t
u
y
Enumerations
a
o
s
t
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
c
d
e
i
l
p
r
s
t
v
Enumerations
c
h
p
q
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Related Symbols
d
g
i
o
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
_
c
d
g
i
m
o
s
t
w
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
▼
OWLNext
►
Overview of ObjectWindows
Accessing application objects
Finding the object
Creating a small application
Using WinMain and OwlMain
►
About command enabling
►
ObjectWindows Exception Handling
Todo List
►
Topics
►
Namespaces
►
Classes
▼
Files
▼
File List
►
documentation
►
include
▼
source
►
ocf
▼
owlcore
►
CB
►
msc
►
animctrl.cpp
►
appdict.cpp
►
applicat.cpp
bardescr.cpp
►
bitmap.cpp
►
bitmapga.cpp
bitset.cpp
►
brush.cpp
►
btntextg.cpp
►
button.cpp
►
buttonga.cpp
castable.cpp
►
celarray.cpp
►
checkbox.cpp
►
checklst.cpp
►
checks.cpp
►
chooseco.cpp
►
choosefo.cpp
clipboar.cpp
►
clipview.cpp
►
cmdline.cpp
►
codepages.cpp
►
colmnhdr.cpp
►
color.cpp
►
combobex.cpp
►
combobox.cpp
►
commctrl.cpp
►
commdial.cpp
►
commview.cpp
►
configfl.cpp
►
control.cpp
►
controlb.cpp
►
controlg.cpp
►
coolbar.cpp
►
createdc.cpp
►
cursor.cpp
►
date.cpp
►
dateio.cpp
►
datep.cpp
►
datetime.cpp
►
dc.cpp
►
decframe.cpp
►
decmdifr.cpp
►
diaginit.cpp
►
dialog.cpp
►
dib.cpp
►
dibdc.cpp
dibitmap.cpp
►
docking.cpp
►
docmanag.cpp
►
doctpl.cpp
►
document.cpp
►
draglist.cpp
►
drawitem.cpp
►
dumpstack.cpp
►
edit.cpp
►
editfile.cpp
►
editsear.cpp
►
editview.cpp
►
eventhan.cpp
exbase.cpp
►
except.cpp
►
file.cpp
►
filedoc.cpp
►
filename.cpp
►
filtval.cpp
findrepl.cpp
flatctrl.cpp
►
floatfra.cpp
►
font.cpp
►
framewin.cpp
►
fscroll.cpp
functor.cpp
►
gadget.cpp
gadgetli.cpp
►
gadgetwi.cpp
gauge.cpp
gdibase.cpp
►
gdiobjec.cpp
►
geometrp.cpp
►
geometrs.cpp
►
geometry.cpp
►
global.cpp
►
glyphbtn.cpp
►
groupbox.cpp
►
hlpmanag.cpp
hotkey.cpp
►
hslider.cpp
►
icon.cpp
►
imagelst.cpp
►
initdll.cpp
►
inputdia.cpp
►
ipaddres.cpp
►
layoutwi.cpp
►
libmain.cpp
►
listbox.cpp
►
listboxview.cpp
listviewctrl.cpp
►
locale.cpp
localeco.cpp
localeid.cpp
►
lookval.cpp
mailer.cpp
►
main.cpp
►
mci.cpp
mciwav.cpp
►
mdichild.cpp
►
mdiclien.cpp
►
mdiframe.cpp
►
memcbox.cpp
►
memory.cpp
►
memorydc.cpp
►
menu.cpp
menudesc.cpp
►
menugadg.cpp
messageb.cpp
►
metafile.cpp
metafldc.cpp
modegad.cpp
►
module.cpp
modversi.cpp
►
monthcal.cpp
►
msgthred.cpp
►
notetab.cpp
►
objstrm.cpp
opensave.cpp
►
owl.cpp
►
owlmain.cpp
►
pager.cpp
paintdc.cpp
►
palette.cpp
►
panespli.cpp
►
pen.cpp
►
picker.cpp
►
picklist.cpp
►
pictval.cpp
pictwind.cpp
►
popupgad.cpp
►
preview.cpp
►
prevwin.cpp
printdc.cpp
printdia.cpp
►
printer.cpp
►
printout.cpp
profile.cpp
progressbar.cpp
►
propsht.cpp
psview.cpp
►
radiobut.cpp
►
rangeval.cpp
►
rcntfile.cpp
►
regexp.cpp
►
regheap.cpp
►
region.cpp
►
registry.cpp
reglink.cpp
resource.cpp
►
richedit.cpp
richedpr.cpp
►
richedv.cpp
rolldial.cpp
►
scrollba.cpp
►
scroller.cpp
►
serialze.cpp
►
shellitm.cpp
shelwapi.cpp
►
slider.cpp
►
splashwi.cpp
►
Stackwalker.cpp
►
Stackwalker.h
►
static.cpp
►
statusba.cpp
swindow.cpp
►
syslink.cpp
system.cpp
►
tabbed.cpp
►
tabctrl.cpp
textgadg.cpp
►
theme.cpp
►
thread.cpp
►
time.cpp
timegadg.cpp
►
timeio.cpp
►
timep.cpp
►
tinycapt.cpp
tmplinst.cpp
toolbox.cpp
►
tooltip.cpp
►
tracewnd.cpp
►
tracewnd.h
►
transfer.cpp
transferbuffer.cpp
trayicon.cpp
►
treeviewctrl.cpp
uiborder.cpp
►
uiface.cpp
►
uihandle.cpp
uimetric.cpp
uipart.cpp
►
unix.cpp
►
unixxcpt.cpp
►
updown.cpp
ustring.cpp
validate.cpp
version.cpp
►
version.h
►
view.cpp
►
vslider.cpp
►
window.cpp
windowdc.cpp
►
winmain.cpp
winsock.cpp
►
wskaddr.cpp
►
wskerr.cpp
►
wskhostm.cpp
►
wskservm.cpp
►
wsksock.cpp
wsksockd.cpp
wsksockm.cpp
wsyscls.cpp
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
unix.cpp
Go to the documentation of this file.
1
//----------------------------------------------------------------------------
2
// ObjectWindows, OWL NExt
3
// Created by Kenneth Haley ( khaley@bigfoot.com )
4
//
5
/// \file
6
/// GNU suport functions
7
//
8
//----------------------------------------------------------------------------
9
#include <stdio.h>
10
11
12
#include <windows.h>
13
14
static
const
char
c_list[]=
"0123456789abcdefghijklmnopqrstuvwxyz"
;
15
16
char
*
my_itoa
(
int
val
,
char
*str,
int
radix
)
17
{
18
if
(
radix
==10)
19
{
20
sprintf
(str,
"%d"
,
val
);
21
}
22
char
tmp
[33];
23
int
cnt
=0,x=0;
24
while
(
cnt
<33)
25
{
26
if
(
val
<
radix
)
27
{
28
str[
cnt
]=
tmp
[
cnt
];
29
break
;
30
}
31
str[
cnt
]=
tmp
[
val
%
radix
];
32
val
/=
radix
;
33
++
cnt
;
34
}
35
tmp
[++
cnt
]=0;
36
for
(;
cnt
!=-1;
cnt
--,x++)
37
str[x]=
tmp
[
cnt
];
38
return
str;
39
}
16
char
*
my_itoa
(
int
val
,
char
*str,
int
radix
) {
…
}
40
41
char
*
myfullpath
(
char
* buf,
const
char
*
path
,
int
buflen
)
42
{
43
char
* x;
44
if
(!
GetFullPathName
(buf,
buflen
,
const_cast<
char
*
>
(
path
),&x))
45
return
0;
46
return
buf;
47
}
41
char
*
myfullpath
(
char
* buf,
const
char
*
path
,
int
buflen
) {
…
}
48
49
/*===========================================================*/
50
VarType
Definition
safearray.h:14
myfullpath
char * myfullpath(char *buf, const char *path, int buflen)
Definition
unix.cpp:41
my_itoa
char * my_itoa(int val, char *str, int radix)
Definition
unix.cpp:16
source
owlcore
unix.cpp
Generated by
1.10.0