aboutsummaryrefslogtreecommitdiffstats
path: root/apps/windoze/CBuilder5/BibleCS/sword.cpp
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-09-26 13:02:15 +0000
committerdanglassey <danglassey>2002-09-26 13:02:15 +0000
commit08e1f7422791a20b5415aa62475c1d50cbf0dc74 (patch)
tree1b89bf2bb9d60aeabfdbf59cb562169dea758d57 /apps/windoze/CBuilder5/BibleCS/sword.cpp
parentb9c0a030bd400137de3b704a0634be3b9899f858 (diff)
downloadsword-sf-cvs-08e1f7422791a20b5415aa62475c1d50cbf0dc74.tar.gz
sync with crosswire 20020926-1300
Diffstat (limited to 'apps/windoze/CBuilder5/BibleCS/sword.cpp')
-rw-r--r--apps/windoze/CBuilder5/BibleCS/sword.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/windoze/CBuilder5/BibleCS/sword.cpp b/apps/windoze/CBuilder5/BibleCS/sword.cpp
index 0bdf69a..13a52d3 100644
--- a/apps/windoze/CBuilder5/BibleCS/sword.cpp
+++ b/apps/windoze/CBuilder5/BibleCS/sword.cpp
@@ -49,6 +49,9 @@ USE("..\..\..\..\..\icu-sword\as_is\borland\http:\www.crosswire.org\sword\images
USELIB("..\..\..\..\..\icu-sword\as_is\borland\icucommon.lib");
USELIB("..\..\..\..\..\icu-sword\as_is\borland\icui18n.lib");
//---------------------------------------------------------------------------
+
+AnsiString startVerse = "";
+
WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
LONG result;
@@ -93,6 +96,8 @@ WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, in
delete [] buf;
return 0;
}
+ startVerse = buf;
+
// TODO 5: if we have a cmdline argument, figure we have to change directories. BAD, FIX.
result = Application->ExeName.Length();
@@ -176,7 +181,6 @@ WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, in
Application->CreateForm(__classid(TPreviewForm), &PreviewForm);
Application->CreateForm(__classid(TPrintForm), &PrintForm);
Application->Run();
- delete SplashPg;
}
catch (Exception &exception) {
Application->ShowException(&exception);
@@ -185,3 +189,6 @@ WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, in
}
//---------------------------------------------------------------------------
+
+
+