Click here to Skip to main content
15,899,825 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: is there any function similar to sprintf in C++.Net? Pin
George L. Jackson4-Apr-06 12:35
George L. Jackson4-Apr-06 12:35 
QuestionIncluding .dll in /clr:pure project [VC++ '05] Pin
jantimmerman2-Apr-06 21:40
jantimmerman2-Apr-06 21:40 
AnswerRe: Including .dll in /clr:pure project [VC++ '05] Pin
Milton Karimbekallil3-Apr-06 1:35
Milton Karimbekallil3-Apr-06 1:35 
GeneralRe: Including .dll in /clr:pure project [VC++ '05] Pin
jantimmerman3-Apr-06 3:04
jantimmerman3-Apr-06 3:04 
GeneralRe: Including .dll in /clr:pure project [VC++ '05] Pin
Milton Karimbekallil3-Apr-06 13:53
Milton Karimbekallil3-Apr-06 13:53 
GeneralRe: Including .dll in /clr:pure project [VC++ '05] Pin
jantimmerman3-Apr-06 21:27
jantimmerman3-Apr-06 21:27 
Questionmad libs Pin
jwacho52-Apr-06 11:59
jwacho52-Apr-06 11:59 
QuestionCFileDialog doesn't update when I change the file type. Pin
IlanTal1-Apr-06 19:46
IlanTal1-Apr-06 19:46 
I am using CFileDialog for a "save as" where I have to choices for file types: All Files or Avi Files.
I noticed something very strange and discovered it is DIRECTLY related to Managed C++.
First of all, the "save as" function is done correctly, so 99% of the problem is solved.
It comes up with All Files and indeed shows all files. The problem comes when I change to show only avi files. The window goes blank. If I go back to all files, it stays blank. Only if I choose a different folder is it refreshed properly (with either all or avi files).
I tried it in Paint and there if you change the file type, the window refreshes correctly. In CFileDialog it doesn't.

My code is:
CFileDialog filedlg( FALSE, "avi", // default extension
"mip1.avi", // current file name
OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST | OFN_LONGNAMES,
"All Files (*.*)|*.*|Avi Files (*.avi)|*.avi||", NULL);

Since starting to look into this problem I found out that the problem exists ONLY when I use Managed extensions. When I turn off Managed extensions, it refreshes perfectly, like it has always done.
To complete the picture I tried GetSaveFileName( &ofn) and that shows exactly the same behaviour.

Has anyone else seen this, or can tell me what is wrong?

Thanks,
Ilan

Questionconvert System::String to char Pin
leonelsr1-Apr-06 9:21
leonelsr1-Apr-06 9:21 
AnswerRe: convert System::String to char Pin
2bee 1-Apr-06 12:00
2bee 1-Apr-06 12:00 
Questionargs in the "new" main() Pin
leonelsr31-Mar-06 11:48
leonelsr31-Mar-06 11:48 
AnswerRe: args in the "new" main() Pin
2bee 31-Mar-06 23:00
2bee 31-Mar-06 23:00 
Questionlooping through strings C++ .NET Pin
richiebaby31-Mar-06 4:05
richiebaby31-Mar-06 4:05 
AnswerRe: looping through strings C++ .NET Pin
Saksida Bojan31-Mar-06 5:34
Saksida Bojan31-Mar-06 5:34 
GeneralRe: looping through strings C++ .NET Pin
richiebaby31-Mar-06 5:51
richiebaby31-Mar-06 5:51 
GeneralRe: looping through strings C++ .NET Pin
Saksida Bojan31-Mar-06 6:51
Saksida Bojan31-Mar-06 6:51 
GeneralRe: looping through strings C++ .NET - Figured it out Pin
richiebaby31-Mar-06 6:54
richiebaby31-Mar-06 6:54 
QuestionVery strange error Pin
Joel Holdsworth30-Mar-06 11:58
Joel Holdsworth30-Mar-06 11:58 
AnswerRe: Very strange error Pin
George L. Jackson30-Mar-06 17:10
George L. Jackson30-Mar-06 17:10 
GeneralRe: Very strange error Pin
Saksida Bojan30-Mar-06 18:11
Saksida Bojan30-Mar-06 18:11 
GeneralRe: Very strange error Pin
George L. Jackson31-Mar-06 1:01
George L. Jackson31-Mar-06 1:01 
AnswerRe: Very strange error Pin
John L. DeVito30-Mar-06 23:11
professionalJohn L. DeVito30-Mar-06 23:11 
QuestionTransfer Data from SQL Database to DataTable Pin
kevin12730-Mar-06 4:45
kevin12730-Mar-06 4:45 
GeneralRe: Transfer Data from SQL Database to DataTable Pin
George L. Jackson30-Mar-06 16:49
George L. Jackson30-Mar-06 16:49 
GeneralRe: Transfer Data from SQL Database to DataTable Pin
kevin12730-Mar-06 18:18
kevin12730-Mar-06 18:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.