Find Jobs
Hire Freelancers

Delphi 2009 Bugfix CreateServiceW (windows 2008 R2)

$30-5000 USD

In Progress
Posted about 13 years ago

$30-5000 USD

Paid on delivery
I have the following code which runs fine on all operating systems (32 & 64 bit) except for Windows 2008 R2 (SP0 & SP1) fSvc := OpenServiceW(fSvcMgr, pwidechar(Service_name),SERVICE_ALL_ACCESS); if fSvc = 0 then begin fSvc := CreateServiceW(fSvcMgr, pwidechar(Service_name), pwidechar(Service_name), SERVICE_ALL_ACCESS, SERVICE_WIN32_OWN_PROCESS, SERVICE_DEMAND_START, SERVICE_ERROR_IGNORE, pwidechar(fServiceName), nil, nil, nil, nil, nil); if fSvc = 0 then begin iserror := true; RaiseLastWin32Error; end; end; **This happens when connecting to a remote 32 bit machine:** While debugging delphi crashes on the CreateserviceW line with message 'Application-defined exception (code 0x000006d1) at ... process stopped. try/except around the createserviceW doesn't make any difference. **When connecting to a remote 64 bit machine everything works fine!**
Project ID: 3252684

About the project

2 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$42.50 USD in 14 days
5.0 (7 reviews)
3.1
3.1
2 freelancers are bidding on average $149 USD for this job
User Avatar
See private message.
$255 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of BELGIUM
Belgium
5.0
44
Payment method verified
Member since Aug 9, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.