Click here to Skip to main content
16,008,183 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Windows Service (C++/CLI) and MFC Pin
xuesyuan17-Jul-08 12:01
xuesyuan17-Jul-08 12:01 
GeneralRe: Windows Service (C++/CLI) and MFC Pin
Mark Salsbery17-Jul-08 12:07
Mark Salsbery17-Jul-08 12:07 
GeneralRe: Windows Service (C++/CLI) and MFC Pin
xuesyuan17-Jul-08 12:50
xuesyuan17-Jul-08 12:50 
GeneralRe: Windows Service (C++/CLI) and MFC Pin
xuesyuan17-Jul-08 12:20
xuesyuan17-Jul-08 12:20 
GeneralRe: Windows Service (C++/CLI) and MFC Pin
launchck22-Jul-08 18:24
launchck22-Jul-08 18:24 
AnswerRe: Windows Service (C++/CLI) and MFC Pin
led mike17-Jul-08 12:11
led mike17-Jul-08 12:11 
GeneralRe: Windows Service (C++/CLI) and MFC Pin
xuesyuan17-Jul-08 12:44
xuesyuan17-Jul-08 12:44 
GeneralRe: Windows Service (C++/CLI) and MFC Pin
led mike17-Jul-08 18:01
led mike17-Jul-08 18:01 
xuesyuan wrote:
What do you think?


Well the first thing I think is that it does not sound like you tested as I asked you. If this was my project I would create a Win32 Console Project in VS2005 and attempt to use the Visual C++ 6 DLL from that project before I ever tried to create and run a Service.

Secondly

xuesyuan wrote:
When debugging:
Unhandled exception at 0x78374588 (mfc80ud.dll) in myService.exe: 0xC0000005: Access Violation reading location 0x00000000.

xuesyuan wrote:
Yes, I want my Windows Service to use a dll created in Visual C++ 6.0.


You used MFC version 8 to link to a DLL linked to MFC version 6. First off I wouldn't do that. However it may in fact work anyway if you have the old MFC DLLs installed on the machine you are trying to execute the DLL on. Do you? If not you should try that first. If the problem persists you should search MSDN (using Google) for information on using a MFC 6 DLL from a VS2005 application.


led mike

GeneralRe: Windows Service (C++/CLI) and MFC Pin
xuesyuan17-Jul-08 23:41
xuesyuan17-Jul-08 23:41 
GeneralRe: Windows Service (C++/CLI) and MFC Pin
Mark Salsbery18-Jul-08 5:46
Mark Salsbery18-Jul-08 5:46 
QuestionColumn width change in List View control Pin
Xaria16-Jul-08 21:00
Xaria16-Jul-08 21:00 
AnswerRe: Column width change in List View control Pin
Mark Salsbery17-Jul-08 8:19
Mark Salsbery17-Jul-08 8:19 
QuestionWrite XL File from C++.Net Pin
mohant$.net16-Jul-08 20:17
mohant$.net16-Jul-08 20:17 
AnswerRe: Write XL File from C++.Net [modified] Pin
leonigah23-Jul-08 2:07
leonigah23-Jul-08 2:07 
QuestionHow do you restrict textBox entry? Pin
BuckBrown16-Jul-08 13:43
BuckBrown16-Jul-08 13:43 
AnswerRe: How do you restrict textBox entry? Pin
led mike17-Jul-08 6:23
led mike17-Jul-08 6:23 
GeneralRe: How do you restrict textBox entry? Pin
BuckBrown17-Jul-08 7:16
BuckBrown17-Jul-08 7:16 
GeneralRe: How do you restrict textBox entry? Pin
led mike17-Jul-08 7:35
led mike17-Jul-08 7:35 
GeneralRe: How do you restrict textBox entry? Pin
BuckBrown17-Jul-08 8:59
BuckBrown17-Jul-08 8:59 
GeneralRe: How do you restrict textBox entry? Pin
led mike17-Jul-08 10:50
led mike17-Jul-08 10:50 
GeneralRe: How do you restrict textBox entry? Pin
killabyte20-Jul-08 19:19
killabyte20-Jul-08 19:19 
GeneralRe: How do you restrict textBox entry? Pin
led mike21-Jul-08 6:15
led mike21-Jul-08 6:15 
GeneralRe: How do you restrict textBox entry? Pin
Mark Salsbery17-Jul-08 9:18
Mark Salsbery17-Jul-08 9:18 
QuestionAsyncCallback Instantiation - Why Did This Work? Pin
Oddball16-Jul-08 12:27
Oddball16-Jul-08 12:27 
AnswerRe: AsyncCallback Instantiation - Why Did This Work? Pin
Mark Salsbery16-Jul-08 13:26
Mark Salsbery16-Jul-08 13:26 

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.