Hi,
Just wondering if someone has yet noticed the
following behaviour :
I am using Dev-C++ v.4.9.6.5 , Win 2K platform (sri !)
Devcpp.exe is located in the d:\Dev-Cpp\ directory.
My sources are located in the
d:\Dev-Cpp\projects\current directory (Win32 GUI
project).
Makefile says :
# Project: MyProj
# Makefile created by Dev-C++ 4.9.6.5
CC = g++.exe
WINDRES = windres.exe
RES = MyProj_private.res
OBJ = obj/main.o obj/file_func.o obj/decode_func.o
$(RES)
LIBS = -L"D:/Dev-Cpp/lib" -lcomctl32
INCS = -I"D:/Dev-Cpp/include"
-I"D:/Dev-Cpp/include/g++-3" -I"D:/Dev-Cpp/include"
-I"D:/Dev-Cpp/projects/current/include"
BIN = bin/MyProj.exe
<blabla>
$(BIN): $(OBJ)
$(CC) $(OBJ) -o "bin\MyProj.exe" $(LIBS) $(CFLAGS)
So the generated binary is in
d:\Dev-Cpp\projects\current\bin
I am using the GetCurrentDirectory Function.
If my app is launched via the F9 function key,
GetCurrentDirectory returns
"d:\\Dev-Cpp\\projects\\current\\bin"
If the app is launched via Debug (F8),
GetCurrentDirectory returns
"d:\\Dev-Cpp\\projects\\current"
Any way to get the same value in both cases ?
===
While speaking of Debug, "ALT+F2" should stop the
execution. It does not.
I have checked the shortcuts and "ALT+F2" is _also_
set for "Program Reset".
If I erase the shortcut for "Program Reset", then
"ALT+F2" actually stops the execution when debugging.
FWIW
Regards,
Phil
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
|