sachin_dm
September 20th, 2002, 07:44 AM
hi friends,
i'm using BC++ 4.5 (target 16-bit) to develop a program
which writes data entered in edit boxes to an ini file with
WritePrivateProfileString
i'm printing the same data using GetPrivateProfileString
and then TextOut
the program works fine when i create .exe
(i've created dialogs in .rc files )
but when i create a 16-bit dll with LibMain
tab stops and hotkeys (alt+c), enter key, space bars
are not working with the dialogs which are into .dll
also the printing functions are not working properly. i.e.
it prints everything except the data that i'm getting with
GetPrivateProfileString into a static array of characters
and i've to use it in the main software (which is already there with
our client)
1) what's wrong with the dll?
2) why tab button and enter key, space bar are not working?
3) Is there anyway that i can call an exe thru main program?
I know WinExec
but i don't want to show the window of the called exe
thanks in anticipation for any help
regards,
Sachin M
i'm using BC++ 4.5 (target 16-bit) to develop a program
which writes data entered in edit boxes to an ini file with
WritePrivateProfileString
i'm printing the same data using GetPrivateProfileString
and then TextOut
the program works fine when i create .exe
(i've created dialogs in .rc files )
but when i create a 16-bit dll with LibMain
tab stops and hotkeys (alt+c), enter key, space bars
are not working with the dialogs which are into .dll
also the printing functions are not working properly. i.e.
it prints everything except the data that i'm getting with
GetPrivateProfileString into a static array of characters
and i've to use it in the main software (which is already there with
our client)
1) what's wrong with the dll?
2) why tab button and enter key, space bar are not working?
3) Is there anyway that i can call an exe thru main program?
I know WinExec
but i don't want to show the window of the called exe
thanks in anticipation for any help
regards,
Sachin M