Skip to content

Commit fb63754

Browse files
committed
first blood
0 parents  commit fb63754

File tree

9 files changed

+1293
-0
lines changed

9 files changed

+1293
-0
lines changed

.gitignore

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# C++ objects and libs
2+
3+
*.slo
4+
*.lo
5+
*.o
6+
*.a
7+
*.la
8+
*.lai
9+
*.so
10+
*.dll
11+
*.dylib
12+
13+
# Qt-es
14+
15+
/.qmake.cache
16+
/.qmake.stash
17+
*.pro.user
18+
*.pro.user.*
19+
*.qbs.user
20+
*.qbs.user.*
21+
*.moc
22+
moc_*.cpp
23+
qrc_*.cpp
24+
ui_*.h
25+
Makefile*
26+
*build-*
27+
28+
# QtCreator
29+
30+
*.autosave
31+
32+
# QtCtreator Qml
33+
*.qmlproject.user
34+
*.qmlproject.user.*
35+
36+
# QtCtreator CMake
37+
CMakeLists.txt.user
38+

README.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
qt-imdisk x86
2+
App show how to mount or unmount disk in RAM (size ~7Gb). Use imdisk_source_2.0.9.7z, imdisk.cpl (imdiskinst_2.0.9.exe).
3+
WARNING! Run app with admin permissions.
4+
5+
http://www.ltr-data.se/opencode.html/
6+
ImDisk Virtual Disk Driver
7+
Current version 2.0.9 built 26 August 2016
8+
ImDisk Version history
9+
2.0.9 Setup Source
10+
11+
-------------
12+
Correct test:
13+
-------------
14+
OS: Windows 10
15+
IDE: Qt5.5.0 - 5.11.1 (msvc2013, 2015, x86)
16+
WindowsSDK 8.1, 10
17+
install imdisk.cpl (imdiskinst_2.0.9.exe)

main.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#include "widget.h"
2+
#include <QApplication>
3+
4+
int main(int argc, char *argv[])
5+
{
6+
QApplication a(argc, argv);
7+
Widget w;
8+
w.show();
9+
10+
return a.exec();
11+
}

qt-imdisk.pro

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#-------------------------------------------------
2+
#
3+
# Project created by QtCreator 2018-09-17T23:33:33
4+
#
5+
#-------------------------------------------------
6+
7+
QT += core gui widgets testlib
8+
9+
TARGET = qt-imdisk
10+
TEMPLATE = app
11+
12+
IMDISK_SDK = "../imdisk_source"
13+
14+
INCLUDEPATH += $$IMDISK_SDK/inc
15+
16+
win32:CONFIG(release, debug|release):LIBS += "$$IMDISK_SDK/Release/imdisk.lib"
17+
win32:CONFIG(debug, debug|release):LIBS += "$$IMDISK_SDK/Debug/imdisk.lib"
18+
19+
win32:LIBS += user32.lib ntdll.lib
20+
21+
SOURCES += \
22+
main.cpp \
23+
widget.cpp \
24+
ramdisk.cpp
25+
26+
HEADERS += \
27+
widget.h \
28+
ramdisk.h
29+
30+
FORMS += \
31+
widget.ui
32+

0 commit comments

Comments
 (0)