Thread View: borland.public.delphi.language.delphi.general
1 messages
1 total messages
Started by PG
Wed, 08 Apr 2009 14:54
[Delphi 2007 on XP Pro] VCL App using a DLL crashes on Vista but works on XP?
Author: PG
Date: Wed, 08 Apr 2009 14:54
Date: Wed, 08 Apr 2009 14:54
26 lines
2147 bytes
2147 bytes
Hi, I have a simple VCL test app that is a form with a button, the button OnClick calls a function in a DLL (DLL created in Visual Studio 2005 - C++ - have full source). It works perfectly on XP, press the button and the function gets called... I have a very simple unit that is the interface to the DLL function e.g. procedure AS1(text:PChar; f, f2:Integer); cdecl; external 'MYDLL.dll'; In Vista, when running the same app, not even the form appears. The app is in the the list of processes but nothing happens. Have tried it on a few Vista boxes and always the same result. It looks like the DLL cannot be loaded for some reason. I tested another VCL app that does not use a DLL (identical except instead of the function in the DLL I did a call ShowMessage just as a test) and it works fine on Vista. Any one have any ideas what the problem might be and how to resolve it? TIA, P.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads