Click here to Skip to main content
16,012,468 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerAnother thing to watch for Pin
normanS16-Mar-06 18:23
normanS16-Mar-06 18:23 
GeneralRe: Another thing to watch for Pin
Checker200316-Mar-06 21:33
Checker200316-Mar-06 21:33 
GeneralRe: Another thing to watch for Pin
normanS16-Mar-06 22:51
normanS16-Mar-06 22:51 
QuestionEnable Profiling. Pin
jerry1211a16-Mar-06 9:34
jerry1211a16-Mar-06 9:34 
QuestionVisual C++ 6.0 still alive Pin
thierrypp16-Mar-06 9:32
thierrypp16-Mar-06 9:32 
AnswerRe: Visual C++ 6.0 still alive Pin
John R. Shaw16-Mar-06 13:45
John R. Shaw16-Mar-06 13:45 
QuestionProgram crashes Pin
Eikthrynir16-Mar-06 8:21
Eikthrynir16-Mar-06 8:21 
AnswerRe: Program crashes Pin
John R. Shaw16-Mar-06 14:22
John R. Shaw16-Mar-06 14:22 
I would have needed to run some tests, but it may have to do with the fact that the source contains more than one character. I would change the second parameter from a character type to a string type and see what happens.

I dought that will work, because it works in your application. That said, it is where I would start.

How badly does the program crash?
Can you give an error number?


It has been a while since I created a DLL, but I looked up the specs and did not see anything wrong.

I do not see a return type specified for "freadCharacter", but the compiler would scream if that was missing in the actual code.

Eikthrynir wrote:
Is it a real problem that I call a function defined in a dll which takes a reference to istream as a parameter?


I can think of no reason why that would cause a problem.

INTP
Every thing is relative...
GeneralRe: Program crashes Pin
Eikthrynir16-Mar-06 23:04
Eikthrynir16-Mar-06 23:04 
GeneralRe: Program crashes Pin
John R. Shaw19-Mar-06 10:22
John R. Shaw19-Mar-06 10:22 
GeneralRe: Program crashes Pin
Eikthrynir19-Mar-06 10:27
Eikthrynir19-Mar-06 10:27 
QuestionNew Time-Date Prblms--VC7 Pin
luhfluh16-Mar-06 6:57
luhfluh16-Mar-06 6:57 
QuestionCreate Sqlite DB Pin
MyChance16-Mar-06 6:42
MyChance16-Mar-06 6:42 
AnswerRe: Create Sqlite DB Pin
Jack Puppy16-Mar-06 7:38
Jack Puppy16-Mar-06 7:38 
GeneralRe: Create Sqlite DB Pin
MyChance16-Mar-06 15:14
MyChance16-Mar-06 15:14 
QuestionMS Embedded CE Pin
Greg Barnes16-Mar-06 6:30
Greg Barnes16-Mar-06 6:30 
AnswerRe: MS Embedded CE Pin
Trollslayer16-Mar-06 8:16
mentorTrollslayer16-Mar-06 8:16 
GeneralRe: MS Embedded CE Pin
Greg Barnes16-Mar-06 9:07
Greg Barnes16-Mar-06 9:07 
Questionstring conversion Pin
big_denny_20016-Mar-06 5:35
big_denny_20016-Mar-06 5:35 
AnswerRe: string conversion Pin
Monty216-Mar-06 5:43
Monty216-Mar-06 5:43 
GeneralRe: string conversion Pin
big_denny_20016-Mar-06 6:01
big_denny_20016-Mar-06 6:01 
GeneralRe: string conversion Pin
toxcct16-Mar-06 6:04
toxcct16-Mar-06 6:04 
GeneralRe: string conversion Pin
big_denny_20016-Mar-06 6:07
big_denny_20016-Mar-06 6:07 
GeneralRe: string conversion Pin
toxcct16-Mar-06 6:14
toxcct16-Mar-06 6:14 
GeneralRe: string conversion Pin
toxcct16-Mar-06 6:03
toxcct16-Mar-06 6:03 

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.