|
-
June 17th, 2013, 01:50 PM
#1
Problem using wstring converted from char * in dll class
I have attached a demo app. A lengthy post was lost by the server. 
Edit:
I figured it out when I built a simple demo project. Problem arose because of trying to access a c-wrapper dll from the app class whereas the wrapper class had not been initialized there but rather in the main dialog class - so naturally it didn't work!!! Anyway, I've attached the demo for any who might be interested, but I regard the problem as resolved. Shows the value of building simple projects to isolate a problem. I failed to appreciate the order in which such a program initializes - I guess it's always App first, then MainFrame, then Doc and View (I think).
Thanks.
Last edited by Mike Pliam; June 17th, 2013 at 02:38 PM.
mpliam
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|