Click here to Skip to main content
16,010,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalconverting char to bstrVal Pin
31-Dec-00 11:57
suss31-Dec-00 11:57 
GeneralRe: converting char to bstrVal Pin
Anders Molin31-Dec-00 12:55
professionalAnders Molin31-Dec-00 12:55 
GeneralRe: converting char to bstrVal Pin
Michael Dunn31-Dec-00 16:25
sitebuilderMichael Dunn31-Dec-00 16:25 
GeneralRe: converting char to bstrVal Pin
1-Jan-01 15:46
suss1-Jan-01 15:46 
GeneralRe: converting char to bstrVal Pin
Michael Dunn1-Jan-01 18:20
sitebuilderMichael Dunn1-Jan-01 18:20 
QuestionLPT port address? Pin
30-Dec-00 22:45
suss30-Dec-00 22:45 
GeneralProblems with Updating Pin
Robert Heyman30-Dec-00 20:46
Robert Heyman30-Dec-00 20:46 
GeneralDLL address space Pin
Lars Ove Claesson30-Dec-00 14:47
Lars Ove Claesson30-Dec-00 14:47 
Hi!

I'm trying to write a DLL, which contains calls to COM methods.
Most calls works OK, and everything seemed fine in the beginning,
but now I've encountered that a COM method call genererates an
access error (STATUS_ACCESS_ERROR).

What I'm actually trying to do, is to use the Microsoft Platform
SDK with Borland C++, which is seemingly hopeless. Therefore, I'm
wrapping my methods up in a DLL written in Visual C++ with the
wanted PSDK calls (actually the WIA SDK for Windows ME), and then
using this DLL in the Borland program I'm creating.

I haven't really encountered any access errors writing DLLs before,
so I thought everything was going to be fine. But I suspect that
some sort of initialization should be done in the DllMain-function
related to memory handling? Confused | :confused:

By the way, if I try the same COM-call in a "real" application,
everything works fine, only the call in a DLL makes the access
error.

I would be extremely grateful for any help or suggestions when
it comes to what could be wrong. I could include code samples,
but don't think they are needed. Some general guidelines to DLLs
could be enough to get me on track!

Regards,
Lars Ove Claesson
GeneralClistCtrl, MSCOMCTL.OCX Pin
30-Dec-00 9:02
suss30-Dec-00 9:02 
Generalgetting CDROM name Pin
30-Dec-00 7:06
suss30-Dec-00 7:06 
QuestionHow Was MS Money Made? Pin
29-Dec-00 15:35
suss29-Dec-00 15:35 
AnswerRe: How Was MS Money 2001 Made? Pin
29-Dec-00 18:22
suss29-Dec-00 18:22 
GeneralRe: How Was MS Money 2001 Made? Pin
Colin J Davies2-Jan-01 19:44
Colin J Davies2-Jan-01 19:44 
GeneralVS Macro... Help wanted Pin
Amit Dey29-Dec-00 10:50
Amit Dey29-Dec-00 10:50 
GeneralRe: VS Macro... Help wanted Pin
J Patel3-Jan-01 5:36
J Patel3-Jan-01 5:36 
GeneralSorry guys! One more request! :) Pin
Masoud Samimi29-Dec-00 9:15
Masoud Samimi29-Dec-00 9:15 
GeneralAmigos Por Favor! (Was: Sorry guys! One more request! :) ) Pin
Masoud Samimi3-Jan-01 10:16
Masoud Samimi3-Jan-01 10:16 
GeneralAVI and Extracting BMPs... :) Pin
Masoud Samimi29-Dec-00 9:08
Masoud Samimi29-Dec-00 9:08 
GeneralKnocking on heaven's door! (Was: AVI and Extracting BMPs... :) ) Pin
Masoud Samimi3-Jan-01 10:13
Masoud Samimi3-Jan-01 10:13 
GeneralRe: Knocking on heaven's door! (Was: AVI and Extracting BMPs... :) ) Pin
3-Jan-01 10:23
suss3-Jan-01 10:23 
GeneralRe: Knocking on heaven's door! (Was: AVI and Extracting BMPs... :) ) Pin
Masoud Samimi4-Jan-01 6:34
Masoud Samimi4-Jan-01 6:34 
General:confused: Help.....vector ..not recoganised Pin
29-Dec-00 5:43
suss29-Dec-00 5:43 
GeneralRe: :confused: Help.....vector ..not recoganised Pin
Naveen29-Dec-00 5:45
Naveen29-Dec-00 5:45 
GeneralRe: :confused: Help.....vector ..not recoganised Pin
Chris Losinger29-Dec-00 6:00
professionalChris Losinger29-Dec-00 6:00 
GeneralRe: :confused: Help.....vector ..not recoganised Pin
Chris Losinger29-Dec-00 6:00
professionalChris Losinger29-Dec-00 6:00 

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.