Click here to Skip to main content
15,921,156 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalfree(pMemory) Pin
ravingcoder2-Sep-03 8:11
ravingcoder2-Sep-03 8:11 
GeneralRe: free(pMemory) Pin
igor19602-Sep-03 8:15
igor19602-Sep-03 8:15 
GeneralRe: free(pMemory) Pin
ravingcoder2-Sep-03 8:24
ravingcoder2-Sep-03 8:24 
Generalexporting std::string Pin
Jim Crafton2-Sep-03 7:46
Jim Crafton2-Sep-03 7:46 
GeneralRe: exporting std::string Pin
cmk2-Sep-03 7:52
cmk2-Sep-03 7:52 
GeneralRe: exporting std::string Pin
Neville Franks2-Sep-03 10:01
Neville Franks2-Sep-03 10:01 
GeneralRe: exporting std::string Pin
Navin2-Sep-03 10:22
Navin2-Sep-03 10:22 
GeneralRe: exporting std::string Pin
cmk2-Sep-03 14:05
cmk2-Sep-03 14:05 
Navin wrote:
you have to redistribute MSVCRT.DLL

Shouldn't be an issue. In fact a number of MS system dll's link to it already e.g. odbc32.dll. So even if you don't use it directly chances are some sub-system is. If you can't beat 'em join 'em. Smile | :)

Navin wrote:
make sure that whoever allocated the object has the responsibility for deleting it

Exactly, however this is a case where he is using someone elses library i.e wstring. _If_ the implementation has this side-effect there is little he can do.

Personally, i've written my own class framework (built up over the last 14 yrs) that takes all of this (and more) into account and minimizes the dependency on the CRT - not a task to enter into lightly though.


...cmk

Save the whales - collect the whole set
Generalunicode woes Pin
Jim Crafton2-Sep-03 7:08
Jim Crafton2-Sep-03 7:08 
GeneralRe: unicode woes Pin
cmk2-Sep-03 7:50
cmk2-Sep-03 7:50 
GeneralRe: unicode woes Pin
Jim Crafton2-Sep-03 8:07
Jim Crafton2-Sep-03 8:07 
GeneralRe: unicode woes Pin
cmk2-Sep-03 9:12
cmk2-Sep-03 9:12 
GeneralMultiple views and single document Pin
Binayak2-Sep-03 6:34
Binayak2-Sep-03 6:34 
GeneralRe: Multiple views and single document Pin
palbano2-Sep-03 7:25
palbano2-Sep-03 7:25 
GeneralVC++ / MSAccess Date Handling Pin
msdaug2-Sep-03 6:15
msdaug2-Sep-03 6:15 
GeneralRe: VC++ / MSAccess Date Handling Pin
palbano2-Sep-03 6:56
palbano2-Sep-03 6:56 
GeneralRe: VC++ / MSAccess Date Handling Pin
msdaug2-Sep-03 9:56
msdaug2-Sep-03 9:56 
GeneralRe: VC++ / MSAccess Date Handling Pin
msdaug2-Sep-03 14:10
msdaug2-Sep-03 14:10 
GeneralRe: VC++ / MSAccess Date Handling Pin
Steve S3-Sep-03 2:23
Steve S3-Sep-03 2:23 
GeneralRe: VC++ / MSAccess Date Handling Pin
msdaug10-Sep-03 8:00
msdaug10-Sep-03 8:00 
GeneralHelp! Figure out whats wrong! FOR LOOP-ing! Pin
colormyiris2-Sep-03 5:50
colormyiris2-Sep-03 5:50 
GeneralRe: Help! Figure out whats wrong! FOR LOOP-ing! Pin
Ted Ferenc2-Sep-03 6:54
Ted Ferenc2-Sep-03 6:54 
GeneralRe: Help! Figure out whats wrong! FOR LOOP-ing! Pin
David Crow2-Sep-03 7:39
David Crow2-Sep-03 7:39 
GeneralRe: Help! Figure out whats wrong! FOR LOOP-ing! Pin
Ted Ferenc2-Sep-03 7:48
Ted Ferenc2-Sep-03 7:48 
GeneralRe: Help! Figure out whats wrong! FOR LOOP-ing! Pin
Andrew Allen2-Sep-03 10:10
Andrew Allen2-Sep-03 10:10 

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.